joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d51c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
mov eax, 0x2020
call fcn.140021a60
sub rsp, rax
xor r14d, r14d
mov rsi, r8
mov rbx, rcx
test r9, r9
je 0x14001d54f
mov byte [r9], r14b
mov rcx, qword [rsp + 0x2050]
test rcx, rcx
je 0x14001d55f
mov byte [rcx], r14b
test rbx, rbx
je 0x14001d614
movzx eax, word [rbx]
test ax, ax
je 0x14001d614
movsxd rbp, dword [rsp + 0x2058]
mov rdi, r14
mov r8d, r14d
add rbx, 2
cmp ax, 0x3d
jne 0x14001d5a4
test rsi, rsi
je 0x14001d5b0
test rdi, rdi
jne 0x14001d5b0
test r9, r9
je 0x14001d59f
mov byte [r9], 1
mov rdi, rdx
jmp 0x14001d5bf
cmp ax, 0xd
je 0x14001d5d1
cmp ax, 0xa
je 0x14001d5d5
mov word [rdx], ax
add rdx, 2
lea eax, [rbp - 2]
cmp r8d, eax
jge 0x14001d5cc
movzx eax, word [rbx]
inc r8d
test ax, ax
jne 0x14001d582
jmp 0x14001d5d5
mov byte [rcx], 1
jmp 0x14001d5d5
add rbx, 2
mov word [rdx], r14w
test rsi, rsi
je 0x14001d60f
mov word [rsi], r14w
test rdi, rdi
je 0x14001d60f
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r8, rbp
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14001081c
mov word [rdi], r14w
mov rax, rbx
jmp 0x14001d616
xor eax, eax
lea r11, [rsp + 0x2020]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x14001d634
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ebx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
xor ecx, ecx
test eax, eax
sete bl
test bl, bl
je 0x14001d699
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x58]
cmp eax, 1
mov rdx, qword [rsp + 0x50]
sete bl
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14001d69c
mov word [rdi], cx
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14002015c
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
and dword [0x14004c554], 0
mov edx, 1
mov rbx, rcx
mov byte [0x14004c54c], 1
mov byte [0x14004c54d], 1
call qword [sym.imp.USER32.dll_ShowWindow]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 2]
call fcn.1400011c0
cmp qword [0x14004c568], 0
jne 0x1400201a7
cmp byte [0x14004c552], 0
je 0x1400201b0
cmp dword [0x14004c548], 0
jne 0x1400201c5
xor r9d, r9d
mov edx, 0x111
mov rcx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x20
pop rbx
ret

Function at 0x1400202a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1050
call fcn.140021a60
sub rsp, rax
xor edi, edi
mov rbx, rcx
cmp byte [0x14004c598], dil
je 0x14002036c
cmp word [0x140060fa0], di
je 0x14002036c
lea rdx, [rsp + 0x50]
lea rcx, [0x140060fa0]
call fcn.14001ebf4
lea rax, [rsp + 0x1068]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareWinRAR_SFX
lea rax, [rsp + 0x1070]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002036c
mov rcx, rbx
call fcn.1400257a4
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x1070]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x1070]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1050
pop rdi
ret

Function at 0x140020380
Capabilities:
Set environment variable

Disassembly:
push rbx
mov eax, 0x2020
call fcn.140021a60
sub rsp, rax
mov rbx, rcx
mov rdx, rcx
lea rcx, str.sfxcmd
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400105bc
mov rbx, rax
test rax, rax
je 0x1400203e2
movzx ecx, word [rax]
jmp 0x1400203c9
add rbx, 2
movzx ecx, word [rbx]
call fcn.1400106d8
test al, al
jne 0x1400203c2
mov rdx, rbx
lea rcx, str.sfxpar
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x2020
pop rbx
ret
Function at 0x1400288e4
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400286b8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400286b8
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400286b8
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400286b8
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400286b8
cmp dword [rcx + 0x84], 0xe
jbe 0x1400286b8
cmp dword [rcx + 0xf8], esi
je 0x1400286b8
mov ecx, r14d
call fcn.140028800
mov ecx, 2
call fcn.14002bbdc
nop
cmp byte [0x140064258], 0
jne 0x140028782
mov r15d, 1
mov eax, r15d
xchg dword [0x140064248], eax
test ebx, ebx
jne 0x14002872b
mov rdi, qword [0x140044228]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140064250]
cmp rcx, rax
je 0x140028722
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400081f4]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140064388]
jmp 0x140028737
cmp ebx, r15d
jne 0x14002873d
lea rcx, [0x1400643a0]
call fcn.140029274
nop
test ebx, ebx
jne 0x140028754
lea rdx, [0x1400345a8]
lea rcx, [0x140034588]
call fcn.1400295b0
lea rdx, [0x1400345b8]
lea rcx, [0x1400345b0]
call fcn.1400295b0
movzx eax, byte [0x140064258]
test esi, esi
cmove eax, r15d
mov byte [0x140064258], al
jmp 0x140028782
mov ecx, 2
call fcn.14002bc30
test esi, esi
jne 0x140028799
mov ecx, r14d
call fcn.1400287b4
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140028648
Function at 0x140003bb0
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 0x140003c0d
lea rbx, [0x1402b0f30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003bf4
cmp r10, 2
jb 0x140003bf4
cmp byte [r9], r8b
jne 0x140003bf4
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 0x140003bd0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003c4f
lea rbx, [0x1402b0f30]
cmp r8b, 0x23
jne 0x140003c33
cmp byte [r9], r8b
jne 0x140003c33
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 0x140003c20
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003d90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140003daa
mov qword [r8], 0
lea rdx, [0x1402b7058]
call fcn.140003c60
mov rbx, rax
test rax, rax
jne 0x140003dca
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 0x140003ea1
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 0x140003ea1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003ea1
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 0x140003ea1
cmp rdi, 0xffffffffffffffff
je 0x140003ea1
mov rax, qword [0x1409d7e20]
test rax, rax
je 0x140003e3e
inc dword [rax + 0xfc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003ea1
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 0x140003e8e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1409d7e20]
test rax, rax
je 0x140003e83
dec dword [rax + 0xfc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003eaa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140003e9c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140003eac
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 0x140007dd0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x128]
lea r11, [0x1402b0f30]
mov rax, qword [rcx + 0x130]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x4040], ebx
jne 0x140007e66
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140029990
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140007e70
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x130]
lea r9, [0x1402b0f30]
movss xmm2, dword [rcx + 0x148]
movss xmm3, dword [rcx + 0x14c]
movsxd rcx, dword [rcx + 0x128]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140017480
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1402ca080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1409d7e20]
mov edi, ecx
cmp byte [rbx + 0x4bfd], 0
jne 0x1400174e1
cmp byte [rbx + 0x4bfe], 0
jne 0x1400174e1
movsx r9d, word [rbx + 0x5d1a]
lea r8, [0x1402b6cc0]
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003a10
test dil, 1
je 0x140017610
jmp 0x140017571
movss xmm1, dword [rbx + 0x39c4]
lea r8, [0x1402b6cc0]
movsx r9d, word [rbx + 0x5d1a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1402bab08]
mulss xmm1, dword [0x1402baae8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe10]
addss xmm1, dword [rbx + 0xe14]
mov qword [rbx + 0x48f4], rax
mov dword [rbx + 0x48dc], 1
movss dword [rbx + 0x48ec], xmm0
mov byte [rbx + 0x4914], 1
movss dword [rbx + 0x48f0], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1402baa58]
or dword [rbx + 0x48d8], 0x41
movss dword [rbx + 0x4938], xmm0
call fcn.140003a10
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400175c1
lea r11, [0x1402b0f30]
cmp r9b, 0x23
jne 0x1400175a4
cmp byte [r8], r9b
jne 0x1400175a4
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140017591
not ecx
call fcn.14000c900
test rax, rax
je 0x140017610
cmp byte [rax + 0xeb], 0
je 0x140017610
mov byte [rax + 0xf0], 1
lea r8, [0x1402b6cc0]
mov byte [rax + 0xf2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0x110], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5d1a]
movsx r9d, word [rbx + 0x5d1a]
call fcn.140003a10
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000f590
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400b2d10
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001cda0
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 + 0x5e68], 0
lea rbx, [rcx + 0x5e70]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001ce47
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001cdfa
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.14002ad00
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004510
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5e68]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5e78]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1409d7e30]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001ce4f
mov rcx, rbx
call fcn.140004510
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d1a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1409d7e20]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001d203
mov qword [rsp], rbx
lea rbx, [0x1402b0f30]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001d1e3
cmp byte [r8], r9b
jne 0x14001d1e3
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 0x14001d1d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5dd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001d237
mov r10, qword [r10 + 0x5de0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001d23e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001d224
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 0x140020e80
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x1400210ce
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1402ca080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1402b0f30]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x140021096
mov rcx, rbp
call fcn.1400204e0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140020f51
movsxd rdx, dword [rbp + 0x5d80]
mov r8, qword [rbp + 0x5d88]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140020f41
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140020f39
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x140020f3c
mov rdx, rcx
test rdx, rdx
jne 0x140020f10
cmp r8, r10
je 0x140020f51
cmp dword [r8], r9d
jne 0x140020f51
mov rcx, qword [r8 + 8]
jmp 0x140020f53
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc4]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc4], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x140020fe7
cmp qword [rcx + 0x20], 0
jne 0x140020fdc
mov qword [rcx + 0x20], rbx
jmp 0x140020fe7
cmp qword [rcx + 0x28], 0
jne 0x140020fe7
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14002102c
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140021020
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.140003a10
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x140021088
cmp r9b, 0x23
jne 0x14002106b
cmp byte [r8], r9b
jne 0x14002106b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140021058
not ecx
call fcn.14000c900
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x140020ed0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b2d10
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140028e00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x140028e4d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x140028e52
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x140028e7d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140028e7d
mov rax, qword [rax + 0x3d0]
test rax, rax
je 0x140028e7d
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x28], eax
jmp 0x140028e82
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x140028e9c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140028ea1
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x140028f23
inc ecx
test r8d, r8d
je 0x140028f0e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140028f13
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.14002a5d0
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x140028f62
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.140028e00
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x140028f72
inc esi
jmp 0x140028e30
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140050380
Capabilities:
Enumerate processes

Disassembly:
push rsi
sub rsp, 0x160
mov rax, qword [0x1402ca080]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rdx
test rdx, rdx
jne 0x1400503aa
xor eax, eax
jmp 0x14005044c
mov qword [rsp + 0x170], rbx
xor edx, edx
mov qword [rsp + 0x180], rbp
mov qword [rsp + 0x188], rdi
xor edi, edi
mov ebx, edi
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140050432
nop dword [rax]
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x140050420
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x140050420
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140050400
mov rbp, qword [rsp + 0x180]
mov eax, edi
mov rdi, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400b2d10
add rsp, 0x160
pop rsi
ret

Function at 0x140050470
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1402ca080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, r9
mov r15, qword [rsp + 0xb0]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov rsi, rax
test eax, eax
jg 0x1400504b7
xor al, al
jmp 0x140050596
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
xor r12d, r12d
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, rbx
call fcn.1400505c0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
jne 0x1400504ee
xor dil, dil
jmp 0x140050551
mov ebp, r12d
sub rdi, rbx
sar rdi, 3
test rdi, rdi
je 0x14005054e
movsxd r14, esi
mov rsi, rbx
mov edx, dword [rsi]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, r14
mov rcx, qword [0x1409d7f98]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9, r14
mov r8, r15
mov rdx, qword [rsi]
mov rcx, qword [0x1409d7f98]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
inc ebp
lea rsi, [rsi + 8]
movsxd rax, ebp
cmp rax, rdi
jb 0x140050503
mov dil, 1
test rbx, rbx
je 0x140050592
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x14005058a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005058a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400b2d6c
movzx eax, dil
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b2d10
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret