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

Disassembly:
push rbx
sub rsp, 0x20
movzx r8d, byte [rdx]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov r9, rdx
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [0x140112590]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
mov r8, qword [0x140112568]
shl rdx, 4
add rdx, qword [0x140112578]
mov rbx, qword [rdx + 8]
cmp rbx, r8
je 0x14003dd67
mov rax, qword [r9]
mov rcx, qword [rdx]
cmp rax, qword [rbx + 0x10]
je 0x14003dd69
cmp rbx, rcx
je 0x14003dd67
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x14003dd56
jmp 0x14003dd69
xor ebx, ebx
test rbx, rbx
je 0x14003de21
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x14003dd93
cmp rax, rbx
jne 0x14003dd89
mov qword [rdx], r8
mov qword [rdx + 8], r8
jmp 0x14003dd9e
mov r8, qword [rbx + 8]
mov qword [rdx + 8], r8
jmp 0x14003dd9e
cmp rax, rbx
jne 0x14003dd9e
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [0x140112570]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rdx, qword [rbx + 0x30]
cmp rdx, 0xf
jbe 0x14003ddee
mov rcx, qword [rbx + 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x14003dde9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003de1a
mov rcx, r8
call fcn.14008f6b0
mov edx, 0x38
mov qword [rbx + 0x28], 0
mov rcx, rbx
mov qword [rbx + 0x30], sendto
mov byte [rbx + 0x18], 0
call fcn.14008f6b0
mov eax, 1
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14003f780
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14003f7b1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140112568]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140112578]
lea rdx, [rdi + rdi]
call fcn.14003ced0
mov rax, qword [0x140112568]
lea r9, [rdi - 1]
mov qword [0x140112590], r9
mov qword [0x140112598], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14003f952
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140112578]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14003f89c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14003f913
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14003f8d9
mov r10, qword [rdx]
cmp r10, rax
je 0x14003f8d3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14003f913
cmp r9, rdx
je 0x14003f8ef
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14003f927
cmp r9, rdx
jne 0x14003f8e0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14003f94d
mov r9, qword [0x140112590]
jmp 0x14003f821
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14003f913
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140045ce0
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 0x140045d3d
lea rbx, [0x14009a690]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140045d24
cmp r10, 2
jb 0x140045d24
cmp byte [r9], r8b
jne 0x140045d24
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 0x140045d00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140045d7f
lea rbx, [0x14009a690]
cmp r8b, 0x23
jne 0x140045d63
cmp byte [r9], r8b
jne 0x140045d63
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 0x140045d50
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14004a050
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14009a690]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1400bcad0]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3f28], ebx
jne 0x14004a0e6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14005da80
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14004a0f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf0]
lea r9, [0x14009a690]
movss xmm2, dword [rcx + 0x108]
movss xmm3, dword [rcx + 0x10c]
movsxd rcx, dword [rcx + 0xe8]
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 0x140057100
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400bcad0]
mov edi, ecx
cmp byte [rbx + 0x4a6d], 0
jne 0x140057161
cmp byte [rbx + 0x4a6e], 0
jne 0x140057161
movsx r9d, word [rbx + 0x5b6a]
lea r8, [0x140097fe8]
mov edx, sendto
lea rcx, [rsp + 0x20]
call fcn.140045ba0
test dil, 1
je 0x140057288
jmp 0x1400571ea
movss xmm1, dword [rbx + 0x3898]
lea r8, [0x140097fe8]
movsx r9d, word [rbx + 0x5b6a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400a175c]
mulss xmm1, dword [0x1400a173c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x3900]
mulss xmm0, dword [0x1400a15dc]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.140045ba0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140057240
lea r11, [0x14009a690]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140057223
cmp byte [r8], r9b
jne 0x140057223
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 0x140057210
not ecx
call fcn.14004dff0
test rax, rax
je 0x140057288
cmp byte [rax + 0xae], 0
je 0x140057288
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b6a]
mov edx, sendto
movsx r9d, word [rbx + 0x5b6a]
call fcn.140045ba0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140050860
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008f690
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14005c250
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 + 0x5c50], 0
lea rbx, [rcx + 0x5c58]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14005c2f7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14005c2aa
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.14005e7d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400465e0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c50]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c60]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400bbf14]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14005c2ff
mov rcx, rbx
call fcn.1400465e0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14005c560
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, qword [0x1400bcad0]
cmp byte [rbx + 0x5bb1], 0
jne 0x14005c691
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14005c68a
lea rdx, [0x14009843c]
call fcn.140045d90
mov rdi, rax
test rax, rax
je 0x14005c68a
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14005c681
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14005c681
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14005c681
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14005c681
cmp rsi, 0xffffffffffffffff
je 0x14005c681
mov rax, qword [0x1400bcad0]
test rax, rax
je 0x14005c619
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x14005c681
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x14005c64e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14005c664
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14005c664
mov rdx, rsi
mov rcx, rbp
call fcn.14005ca10
mov rax, qword [0x1400bcad0]
test rax, rax
je 0x14005c676
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14005c68a
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rbx + 0x5bb1], 1
movss xmm0, dword [rbx + 0x5bb4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14005c720
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5bb4], xmm0
jb 0x14005c720
mov rdi, qword [rbx + 0x20]
xor ebp, ebp
test rdi, rdi
je 0x14005c713
mov rax, qword [0x1400bcad0]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rbp
mov dword [rax + 0x5bb4], ebp
call fcn.14005cc80
lea rdx, [0x140098438]
mov rcx, rdi
mov rsi, rax
call fcn.140045d90
mov rdi, rax
test rax, rax
je 0x14005c71a
mov r8, qword [rsp + 0x40]
lea edx, [rbp + 1]
mov r9, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14005c71a
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x5bb4], ebp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14005c960
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400bcad0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14005c9c3
mov qword [rsp], rbx
lea rbx, [0x14009a690]
nop dword [rax]
cmp r9b, 0x23
jne 0x14005c9a3
cmp byte [r8], r9b
jne 0x14005c9a3
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 0x14005c990
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bc8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14005c9f7
mov r10, qword [r10 + 0x5bd0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14005c9fe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14005c9e4
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 0x140088250
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x1400882dc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400882b0
lea r11, [0x14009a690]
nop
cmp r9b, 0x23
jne 0x140088293
cmp byte [r8], r9b
jne 0x140088293
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 0x140088280
mov rcx, qword [0x1400bcad0]
not eax
cmp dword [rcx + 0x3f40], eax
jne 0x1400882c7
mov dword [rcx + 0x3f44], eax
cmp dword [rcx + 0x3f70], eax
jne 0x140088336
mov byte [rcx + 0x3f74], 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rbx, qword [0x1400bcad0]
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov r8, qword [rbx + 0x3ee0]
movsxd rax, dword [r8 + 0xe8]
mov r8, qword [r8 + 0xf0]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140045ce0
cmp dword [rbx + 0x3f28], eax
mov esi, eax
mov rbx, qword [rsp + 0x30]
jne 0x14008832f
mov r8, rdi
mov edx, reloc.WS2_32.dll_inet_addr
mov ecx, eax
call fcn.14005da80
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140090394
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x140628520]
xor rax, rsp
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x30]
call fcn.1400151b0
mov rcx, rax
call fcn.140019930
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x31]
call fcn.1400141c0
mov rcx, rax
call fcn.140019930
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x32]
call fcn.140015c30
mov rcx, rax
call fcn.140019930
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x33]
call fcn.140015a20
mov rcx, rax
call fcn.1400199a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea r9, [rsp + 0xe0]
xor r8d, r8d
mov dl, 1
mov ecx, reloc.WS2_32.dll_send
call qword [rsp + reloc.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc00002b4
call qword [rsp + 0x80]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1401cfb20
add rsp, 0xf8
ret
Function at 0x140016ea0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x238
mov rax, qword [0x140628520]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov dword [rsp + 0x20], 0
lea rcx, [0x140628e98]
call fcn.140019690
mov dword [rsp + 0xf0], pe_nt_image_headers64
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x140016f1b
mov rcx, qword [rsp + 0x240]
call fcn.1400128d0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x240]
jmp 0x1400170e1
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32First
cmp dword [rsp + 0xf8], 0
je 0x140016f6f
lea rdx, [rsp + 0x11c]
lea rcx, [rsp + 0xa8]
call fcn.140012440
nop
lea rdx, [rsp + 0xa8]
lea rcx, [0x140628e98]
call fcn.140019e10
nop
lea rcx, [rsp + 0xa8]
call fcn.140012cf0
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140016fc9
cmp dword [rsp + 0xf8], 0
je 0x140016fc7
lea rdx, [rsp + 0x11c]
lea rcx, [rsp + 0xc8]
call fcn.140012440
nop
lea rdx, [rsp + 0xc8]
lea rcx, [0x140628e98]
call fcn.140019e10
nop
lea rcx, [rsp + 0xc8]
call fcn.140012cf0
jmp 0x140016f6f
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x70]
lea rcx, [0x140628e98]
call fcn.140019a20
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x78]
lea rcx, [0x140628e98]
call fcn.1400195e0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.140011e80
lea rdx, [rsp + 0x80]
lea rcx, [0x140628e98]
call fcn.140019a20
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x88]
lea rcx, [0x140628e98]
call fcn.140019a20
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x90]
lea rcx, [0x140628e98]
call fcn.1400195e0
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x98]
call fcn.140011fe0
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0xa0]
lea rcx, [0x140628e98]
call fcn.140019a80
lea rdx, [0x140628e98]
mov rcx, qword [rsp + 0x240]
call fcn.140012790
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1401cfb20
add rsp, 0x238
ret

Function at 0x140019720
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov r8, qword [rsp + 0x70]
lea rdx, [0x1401f5d14]
lea rcx, [rsp + 0x38]
call fcn.14000fa60
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140019640
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, str.cmd.exe
lea rdx, [0x1401f62b0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, [rsp + 0x38]
call fcn.140012cf0
nop
mov rcx, qword [rsp + 0x70]
call fcn.140012cf0
add rsp, 0x68
ret
Function at 0x140036f60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140628520]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x140036f9d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140036fa4
mov al, 1
jmp 0x1400370fe
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14003b010
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.14003b010
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.14003b060
movzx eax, al
test eax, eax
je 0x140036ffb
xor al, al
jmp 0x1400370fe
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14003706b
cmp dword [rsp + 0x30], 1
je 0x140037077
cmp dword [rsp + 0x30], 3
je 0x1400370ec
jmp 0x1400370fc
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400370c3
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x1400370c3
xor al, al
jmp 0x1400370fe
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400370dd
mov dword [rsp + 0x34], 1
jmp 0x1400370e5
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400370fe
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400370fe
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401cfb20
add rsp, 0xa8
ret