joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800143b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rdx]
mov rbx, rcx
movabs rcx, 0x100000001b3
movabs r8, 0xcbf29ce484222325
mov r9, qword [rax + 0x28]
nop dword [rax]
nop dword [rax + rax]
movsx rdx, byte [r9]
lea r9, [r9 + 1]
xor r8, rdx
imul r8, rcx
test dl, dl
jne 0x1800143e0
mov rax, qword [0x18006bc10]
mov rcx, qword [0x18006bc08]
mov qword [rsp + 0x50], r8
cmp rcx, rax
je 0x180014440
nop dword [rax + rax]
cmp qword [rcx], r8
jne 0x18001441b
cmp qword [rcx + 8], rbx
je 0x180014424
add rcx, 0x18
cmp rcx, rax
jne 0x180014410
cmp rcx, rax
je 0x180014440
lea rdx, [rcx + 0x18]
sub rax, rdx
mov r8, rax
call sub.VCRUNTIME140.dll_memmove
sub qword [0x18006bc10], 0x18
lea rdx, [rsp + 0x50]
lea rcx, [0x18006bc20]
call fcn.180015090
mov rcx, qword [rax + 8]
cmp qword [rax], rcx
je 0x1800144c1
mov rax, qword [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword [0x18006bc10]
cmp rdx, qword [0x18006bc18]
movss xmm0, dword [rax + 0x230d0d8]
movss dword [rsp + 0x30], xmm0
je 0x1800144b0
movups xmm0, xmmword [rsp + 0x20]
movsd xmm1, qword [rsp + 0x30]
movups xmmword [rdx], xmm0
movsd qword [rdx + 0x10], xmm1
add qword [0x18006bc10], 0x18
add rsp, 0x40
pop rbx
ret
lea r8, [rsp + 0x20]
lea rcx, [0x18006bc08]
call fcn.180019f10
add rsp, 0x40
pop rbx
ret
Function at 0x180014e40
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180014e85
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rbx
call rax
test eax, eax
sete al
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
ret

Function at 0x180014fc0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
je 0x180014fdb
xor eax, eax
add rsp, 0x30
pop rbx
ret
xor eax, eax
lea r8, [0x180014e90]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
test rax, rax
je 0x180015008
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x18001a630
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd r12, edx
mov r15d, r9d
mov rbp, r8
mov r14, rcx
test rcx, rcx
je 0x18001a790
test r8, r8
je 0x18001a790
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x18001a790
mov qword [rsp + 0x40], rbx
mov ecx, 0x100
mov qword [rsp + 0x48], rsi
call fcn.180055548
xor ecx, ecx
mov r10, rax
mov edx, ecx
mov r8, rax
nop
mov byte [r8], dl
lea r8, [r8 + 1]
inc edx
cmp edx, 0x100
jl 0x18001a690
mov r9d, ecx
mov r11d, ecx
mov rbx, r10
nop word [rax + rax]
movzx esi, byte [rbx]
mov eax, r11d
cdq
idiv r15d
movsxd rax, edx
movzx edx, byte [rax + rbp]
add r9d, edx
add r9d, esi
and r9d, 0x800000ff
jge 0x18001a6dd
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rdx, r9d
inc r11d
movzx eax, byte [rdx + r10]
mov byte [rbx], al
inc rbx
mov byte [rdx + r10], sil
cmp r11d, 0x100
jl 0x18001a6b0
mov rsi, qword [rsp + 0x48]
mov r8d, ecx
mov rbx, r12
test r12d, r12d
jle 0x18001a774
sub r14, rdi
nop dword [rax]
inc ecx
and ecx, 0x800000ff
jge 0x18001a724
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r9, ecx
movzx r11d, byte [r9 + r10]
add r8d, r11d
and r8d, 0x800000ff
jge 0x18001a745
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rdx, r8d
movzx eax, byte [rdx + r10]
mov byte [r9 + r10], al
mov byte [rdx + r10], r11b
movzx eax, byte [r9 + r10]
add eax, r11d
movzx edx, al
movzx eax, byte [rdx + r10]
xor al, byte [rdi + r14]
mov byte [rdi], al
inc rdi
sub rbx, 1
jne 0x18001a710
mov rax, qword [rsp + 0x68]
mov rcx, r10
mov dword [rax], r12d
call fcn.180055444
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
jmp 0x18001a792
xor eax, eax
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x18001d190
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18001d1ed
lea rbx, [0x18005aed0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001d1d4
cmp r10, 2
jb 0x18001d1d4
cmp byte [r9], r8b
jne 0x18001d1d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x18001d1b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001d22f
lea rbx, [0x18005aed0]
cmp r8b, 0x23
jne 0x18001d213
cmp byte [r9], r8b
jne 0x18001d213
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x18001d200
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18001d370
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001d38a
mov qword [r8], 0
lea rdx, [0x180060810]
call fcn.18001d240
mov rbx, rax
test rax, rax
jne 0x18001d3aa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x18001d481
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001d481
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001d481
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001d481
cmp rdi, 0xffffffffffffffff
je 0x18001d481
mov rax, qword [0x18006b968]
test rax, rax
je 0x18001d41e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18001d481
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18001d46e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18006b968]
test rax, rax
je 0x18001d463
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001d48a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001d47c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001d48c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18001f7f0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x18005aed0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x18001f87b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.180031840
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180022dc0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180022e10
lea r11, [0x18005aed0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180022df3
cmp byte [r8], r9b
jne 0x180022df3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180022de0
mov rcx, qword [0x18006b968]
not eax
movsxd rdx, dword [rcx + 0x3eb0]
mov r9, qword [rcx + 0x3eb8]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180022e71
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180022e69
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180022e6c
mov rdx, r8
test rdx, rdx
jne 0x180022e40
cmp r9, r10
je 0x180022e80
cmp dword [r9], eax
jne 0x180022e80
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x18002ff70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c60], 0
lea rbx, [rcx + 0x5c68]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180030017
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18002ffca
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800329c0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18001d7d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c60]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c70]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18006b960]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18003001f
mov rcx, rbx
call fcn.18001d7d0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800304a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18006b968]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180030503
mov qword [rsp], rbx
lea rbx, [0x18005aed0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800304e3
cmp byte [r8], r9b
jne 0x1800304e3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1800304d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180030537
mov r10, qword [r10 + 0x5be0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18003053e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180030524
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x18004a360
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov dword [rsp + 0x60], 8
mov r14, rdx
mov dword [rsp + 0x50], ebx
xor edx, edx
mov dword [rsp + 0x68], ebx
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea rcx, str.HTTPREAD
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x28], rbx
lea rdx, str.http:__ossweb_img.qq.com_images_lol_img_item_2056.png
mov rcx, rax
mov dword [rsp + 0x20], 0x80000002
xor r9d, r9d
xor r8d, r8d
mov rsi, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 0x20000005
mov rdi, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x18004a423
mov ecx, eax
mov qword [r14], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x68]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x18004a439
xor r8d, r8d
lea rdx, str.http:__ossweb_img.qq.com_images_lol_img_item_2056.png
lea rcx, str._Error_Http:_s__ReadFileLen:_d_n
call fcn.18001b7b0
test rdi, rdi
je 0x18004a447
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rsi, rsi
je 0x18004a455
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x18004daa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x130]
mov rdi, rcx
mov esi, r8d
mov rbx, rdx
movabs rcx, 0x100000001b3
movabs r10, 0xcbf29ce484222325
mov r11, qword [rax + 0x28]
nop word [rax + rax]
movsx r9, byte [r11]
lea r11, [r11 + 1]
xor r10, r9
imul r10, rcx
test r9b, r9b
jne 0x18004dae0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], r10
lea rcx, [0x18006bc20]
call fcn.180015090
mov rdx, qword [rax + 8]
cmp qword [rax], rdx
je 0x18004dbe4
movaps xmmword [rsp + 0x30], xmm6
lea rdx, [rsp + 0x50]
lea rcx, [0x18006bc20]
movaps xmmword [rsp + 0x20], xmm7
call fcn.180015090
movsxd rcx, dword [rdi + 0x28]
mov rax, qword [rax]
movss xmm7, dword [rax + rcx*4 - 4]
lea eax, [rsi - 4]
cmp eax, 1
jbe 0x18004db51
movss xmm6, dword [rbx + 0x1cf0]
jmp 0x18004dba8
xor ecx, ecx
lea rax, [rbx + 0x52ac]
nop word [rax + rax]
cmp dword [rax], 0x209b
je 0x18004db7d
inc rcx
add rax, 4
cmp rcx, 6
jl 0x18004db60
movss xmm6, dword [rsp + 0x50]
jmp 0x18004db8b
movss xmm6, dword [rsp + 0x50]
addss xmm6, dword [0x180061170]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rax + 0x2301430]
cmp dword [rcx + 8], 0xc
jne 0x18004dba8
addss xmm6, dword [0x18006119c]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x18004dbc7
movaps xmm1, xmm6
addss xmm1, dword [0x1800611ac]
divss xmm6, xmm1
mulss xmm6, xmm7
subss xmm7, xmm6
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x20]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x58]
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x18004dc00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x130]
mov rdi, rcx
movaps xmmword [rsp + 0x20], xmm7
mov esi, r8d
mov rbx, rdx
movabs rcx, 0x100000001b3
movabs r10, 0xcbf29ce484222325
mov r11, qword [rax + 0x28]
nop dword [rax]
movsx r9, byte [r11]
lea r11, [r11 + 1]
xor r10, r9
imul r10, rcx
test r9b, r9b
jne 0x18004dc40
mov rax, qword [0x18006bc08]
mov rcx, qword [0x18006bc10]
movss xmm0, dword [0x180061200]
movaps xmm7, xmm0
cmp rax, rcx
je 0x18004dc8d
cmp qword [rax + 8], rbx
jne 0x18004dc7d
cmp qword [rax], r10
je 0x18004dc88
add rax, 0x18
cmp rax, rcx
jne 0x18004dc72
jmp 0x18004dc8d
movss xmm7, dword [rax + 0x10]
ucomiss xmm7, xmm0
jp 0x18004dc99
jne 0x18004dc99
xorps xmm0, xmm0
jmp 0x18004dcd0
xor ecx, ecx
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
movss xmm6, dword [rax + 0x230d0d8]
call fcn.18004daa0
addss xmm0, xmm7
xorps xmm1, xmm1
subss xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
maxss xmm0, xmm1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x180054da0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r10d, r8d
mov r11, rdx
mov r9, rcx
lea rbx, [rcx + 0x4158]
lea r8, [rcx + 0x1498]
cmp byte [rcx + 0x1494], 0
jne 0x180054e1e
mov word [rcx + 0x1495], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x30], rax
mov byte [r8], al
movzx eax, byte [rsp + 0x31]
mov edx, 2
mov byte [rcx + 0x1499], al
movzx ecx, byte [rsp + rdx + 0x30]
inc edx
mov byte [r9 + 0x149a], cl
movzx eax, byte [rsp + rdx + 0x30]
mov byte [r9 + 0x149b], al
mov byte [r9 + 0x149c], 0
mov byte [r9 + 0x1494], 1
mov dword [rsp + 0x40], r10d
mov eax, dword [r8]
mov dword [rsp + 0x30], eax
movzx eax, byte [r9 + 0x1495]
test al, al
je 0x180054e54
xor ecx, ecx
mov edx, eax
nop word [rax + rax]
mov eax, dword [rsp + rcx + 0x30]
not eax
xor dword [rsp + rcx + 0x40], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x180054e40
movzx eax, byte [r9 + 0x1496]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x180054e84
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x30]
not al
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x180054e70
movzx eax, byte [r9 + 0x149c]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0x40]
mov dword [r9 + rcx*4 + 0x14a0], eax
mov byte [r9 + 0x149c], cl
mov dword [rbx + 0x38], r10d
add r9, 0x4158
mov r8, qword [r9 + 0x18]
movabs rdx, 0xcbf29ce484222325
movabs rdi, 0x100000001b3
nop dword [rax]
movsx rcx, byte [r8]
lea r8, [r8 + 1]
xor rdx, rcx
imul rdx, rdi
test cl, cl
jne 0x180054ed0
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x180054efd
lea eax, [r10 - 0x1d]
cmp eax, 7
jbe 0x180054f43
jmp 0x180054f6b
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x180054f17
lea eax, [r10 - 0x1a]
cmp eax, 6
jbe 0x180054f43
jmp 0x180054f6b
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x180054f2e
cmp r10d, 0x10
je 0x180054f43
jmp 0x180054f6b
movabs rax, 0x311a797a90e58f21
cmp rdx, rax
jne 0x180054f4d
cmp r10d, 6
jne 0x180054f6b
mov byte [r9 + 0x9c], 0
jmp 0x180054fa6
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x180054f8e
cmp rdx, rax
je 0x180054f8e
cmp byte [r9 + 0x9c], 0xff
je 0x180054fa6
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x180054fa6
mov byte [r9 + 0x9c], 0xff
jmp 0x180054fa6
cmp r10d, 7
jne 0x180054fc7
cmp rdx, rcx
je 0x180054fd2
mov rax, qword [r9]
cmp rax, qword [r9 + 8]
je 0x180054fa6
mov qword [r9 + 8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0x198d90
mov dl, 1
mov rcx, rbx
call rax
nop
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r10d, 6
jne 0x180054f99
cmp rdx, rax
jne 0x180054f99
mov rax, qword [r9]
cmp rax, qword [r9 + 8]
je 0x180054fdf
mov qword [r9 + 8], rax
mov r8d, r10d
mov rdx, r11
mov rcx, r9
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180048e80
Function at 0x140001000
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], 1
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x140001082
xor r8d, r8d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r8
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r8
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20206
mov dword [rsp + 0x20], r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea rdx, str.DisableRegistryTools
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea rdx, str.DisableCMD
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140001110
add rsp, 0x78
ret

Function at 0x1400019d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a22
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a22
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a22
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a22
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a22
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a24
xor al, al
add rsp, 0x28
ret
Function at 0x2fc545570
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc546650
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc545f72
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc568108]
test eax, eax
je 0x2fc54600a
lea rax, [0x2fc5680e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc568110]
mov qword [rbp - 8], rax
jmp 0x2fc545fee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc545fe2
cmp qword [rbp - 0x10], 0
je 0x2fc545fe2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc545fa8
lea rax, [0x2fc5680e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc54600b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc546110
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc546138
mov eax, 0
jmp 0x2fc546186
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc546161
mov eax, 0
jmp 0x2fc546186
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc546181
mov eax, 0
jmp 0x2fc546186
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc54618c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc54620a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc546201
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc546201
mov rax, qword [rbp - 8]
jmp 0x2fc54621f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc5461d4
mov eax, 0
add rsp, 0x20
pop rbp
ret