joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140165e20
Capabilities:
Read file on windows

Disassembly:
jmp 0x1401b78f0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.140168477
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140165e43
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401b7ed0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.140168477
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x14043ffa0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1401b8016
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1401b7f6a
mov dword [rbp + 0x160], 1
jmp 0x1401b7f74
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1401b8011
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1401b7feb
cmp qword [rbp + 0x198], 2
jb 0x1401b7feb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401b7feb
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401b7feb
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1401b7f35
jmp 0x1401b80b0
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1401b80b0
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1401b8087
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401b8087
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401b8087
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1401b8016
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140165f92
Capabilities:
Terminate process

Disassembly:
jmp 0x140410b84
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.140168927
test al, al
je 0x140410a80
xor dil, dil
mov byte [rsp + 0x20], dil
call fcn.14016737e
mov bl, al
mov ecx, dword [0x140554a40]
cmp ecx, 1
je 0x140410a8b
test ecx, ecx
jne 0x1404109bc
mov dword [0x140554a40], 1
lea rdx, [0x14043fa38]
lea rcx, [0x14043f708]
call fcn.1401646dd
test eax, eax
je 0x14041099d
mov eax, 0xff
jmp 0x140410a75
lea rdx, [0x14043f5f8]
lea rcx, [section..rdata]
call fcn.140167310
mov dword [0x140554a40], 2
jmp 0x1404109c4
mov dil, 1
mov byte [rsp + 0x20], dil
mov cl, bl
call fcn.140167086
call fcn.1401663e8
mov rbx, rax
cmp qword [rax], 0
je 0x1404109f7
mov rcx, rax
call fcn.140163cbf
test al, al
je 0x1404109f7
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140580020]
call fcn.140166924
mov rbx, rax
cmp qword [rax], 0
je 0x140410a19
mov rcx, rax
call fcn.140163cbf
test al, al
je 0x140410a19
mov rcx, qword [rbx]
call fcn.14016810c
call fcn.140168c3d
movzx ebx, ax
call fcn.1401640c0
mov r9d, ebx
mov r8, rax
xor edx, edx
lea rcx, [0x140000000]
call fcn.140166460
mov ebx, eax
call fcn.1401660d7
test al, al
je 0x140410a95
test dil, dil
jne 0x140410a4f
call fcn.140168242
xor edx, edx
mov cl, 1
call fcn.140163a7b
mov eax, ebx
jmp 0x140410a75
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.14016719e
nop
mov ecx, 7
call fcn.14016719e
mov ecx, ebx
call fcn.1401617e4
nop
mov ecx, ebx
call fcn.140165461
nop
int3
sub rsp, 0x28
call fcn.14016621c
add rsp, 0x28
jmp 0x140410934

Function at 0x1401660d7
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1403d5820
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
cmovbe rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140166906
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14040e590
mov r10, rcx
test rdx, rdx
je 0x14040e5f9
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
and r9b, 2
movzx ecx, r8b
cmp r9b, 2
cmovb ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x14040e5a0
ret
Function at 0x140166fd2
Capabilities:
Enumerate processes
Terminate process

Disassembly:
jmp 0x140304e70
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14054a080]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x14057d42f]
call fcn.140168477
nop
xor edx, edx
mov ecx, 2
call fcn.140164700
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140304eca
jmp 0x140304f52
mov dword [rbp + 0x30], 0x130
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.14016707c
test eax, eax
je 0x140304f47
lea rdx, str.explorer.exe
lea rcx, [rbp + 0x5c]
call fcn.140169043
test eax, eax
jne 0x140304f36
mov r8d, dword [rbp + 0x38]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x178], rax
cmp qword [rbp + 0x178], 0
je 0x140304f36
xor edx, edx
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140168521
test eax, eax
jne 0x140304ee2
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.14016710d
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.140164822
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret
Function at 0x1401675c7
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1403c1e90
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [rcx + 0x28]
mov rdi, rdx
mov rbx, rcx
cmp r8d, 0x40
jae 0x1403c2048
lea ecx, [r8*8]
mov qword [rsp + 0x30], rsi
add qword [rbx], rcx
mov byte [r8 + rbx + 0x2c], 0x80
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jbe 0x1403c1f08
cmp eax, 0x40
jae 0x1403c1ef2
nop word [rax + rax]
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x40
jb 0x1403c1ee0
lea rsi, [rbx + 0x2c]
mov rcx, rbx
mov rdx, rsi
call fcn.1403c2220
xor eax, eax
mov dword [rbx + 0x28], eax
jmp 0x1403c1f10
lea rsi, [rbx + 0x2c]
jae 0x1403c1f22
nop
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jb 0x1403c1f10
movzx eax, byte [rbx + 7]
mov rdx, rsi
mov byte [rbx + 0x64], al
mov rcx, rbx
movzx eax, byte [rbx + 6]
mov byte [rbx + 0x65], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 0x66], al
movzx eax, byte [rbx + 4]
mov byte [rbx + 0x67], al
movzx eax, byte [rbx + 3]
mov byte [rbx + 0x68], al
movzx eax, byte [rbx + 2]
mov byte [rbx + 0x69], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 0x6a], al
movzx eax, byte [rbx]
mov byte [rbx + 0x6b], al
call fcn.1403c2220
movzx eax, byte [rbx + 0xb]
mov byte [rdi], al
movzx eax, byte [rbx + 0xa]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 9]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 8]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0xf]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0xe]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0xd]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0xc]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x13]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x12]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x11]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x10]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x17]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x15]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x14]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x1b]
mov byte [rdi + 0x10], al
movzx eax, byte [rbx + 0x1a]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x19]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x18]
mov byte [rdi + 0x13], al
movzx eax, byte [rbx + 0x1f]
mov byte [rdi + 0x14], al
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 0x15], al
movzx eax, byte [rbx + 0x1d]
mov byte [rdi + 0x16], al
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 0x17], al
movzx eax, byte [rbx + 0x23]
mov byte [rdi + 0x18], al
movzx eax, byte [rbx + 0x22]
mov byte [rdi + 0x19], al
movzx eax, byte [rbx + 0x21]
mov byte [rdi + 0x1a], al
movzx eax, byte [rbx + 0x20]
mov byte [rdi + 0x1b], al
movzx eax, byte [rbx + 0x27]
mov byte [rdi + 0x1c], al
movzx eax, byte [rbx + 0x26]
mov byte [rdi + 0x1d], al
movzx eax, byte [rbx + 0x25]
mov byte [rdi + 0x1e], al
movzx eax, byte [rbx + 0x24]
mov rsi, qword [rsp + 0x30]
mov byte [rdi + 0x1f], al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140167725
Capabilities:
Write file on windows

Disassembly:
jmp 0x1403bc5d0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x1403bc62e
mov dl, 1
call fcn.14016704a
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.14016704a
mov eax, ebx
jmp 0x1403bc672
cmp ebx, 2
ja 0x1403bc670
mov r9, qword [rdi + 0x668]
lea rdx, [0x1404fd358]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140167761
Capabilities:
Parse pe header

Disassembly:
jmp 0x1403621d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.140168477
nop
mov rax, qword [rbp + 0x120]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14036220d
xor eax, eax
jmp 0x14036223a
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
je 0x140362236
xor eax, eax
jmp 0x14036223a
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140167824
Capabilities:
Get common file path

Disassembly:
jmp 0x1403c0440
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1403c046a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExA
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1404fd8cc]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x1403c04ce
mov rcx, rbx
test r14, r14
je 0x1403c04b8
xor edx, edx
lea r8d, [rdx + 8]
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
test r14, r14
je 0x1403c0506
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1403c0506
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x1403c05c8
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x1403c0530
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.1401655ba]
mov rdi, rax
test rax, rax
je 0x1403c05ba
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1403c05ba
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x1403c0560
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x1403c0574
mov rcx, rdi
sub rcx, rbx
add rcx, rsi
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1403c0590
mov rcx, rdi
test r14, r14
je 0x1403c05b1
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x1403c05b7
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.1401638cd]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x140167a7c
Capabilities:
Write file on windows

Disassembly:
jmp 0x1403bc8a0
test rcx, rcx
je 0x1403bca06
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x14054a080]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x1403bc9ee
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140163972
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x1403bc961
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1403bc920
cmp byte [rax + rcx - 1], 0xa
jne 0x1403bc948
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x1403bc95c
lea r8, [0x14044a0dc]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.140162f40
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1403bc966
cmp qword [rdi + 0x718], 0
je 0x1403bc9ae
mov dl, 1
mov rcx, rdi
call fcn.14016704a
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.14016704a
jmp 0x1403bc9e6
mov r9, qword [rdi + 0x668]
lea rcx, [0x1404fd358]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140164822
add rsp, 0x860
pop rdi
ret

Function at 0x140167c2f
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401b7db0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.140168477
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x14043ffa0]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x1401b7e30
mov dword [rbp + 0x120], 1
jmp 0x1401b7e3a
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1401b7e83
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x1401b7dfb
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x140167c5c
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1403be5a0
push rbx
sub rsp, 0x30
mov eax, dword [0x14055490c]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x1403be5fd
xor edx, edx
lea r9d, [rax + 3]
lea r8d, [rax + 2]
lea ecx, [rax + 6]
call fcn.140166744
test al, al
je 0x1403be5f1
mov dword [0x14055490c], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x14055490c], 1
jmp 0x1403be602
cmp eax, 2
je 0x1403be654
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1403be633
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x1403be654
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret
Function at 0x140167dfb
Capabilities:
Read file on windows

Disassembly:
jmp 0x1403a03d0
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x28
ret

Function at 0x140167fae
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x1403c20d0
xor eax, eax
mov qword [rcx + 0x24], 0x5be0cd19
mov qword [rcx], rax
mov dword [rcx + 8], 0x6a09e667
mov dword [rcx + 0xc], 0xbb67ae85
mov dword [rcx + 0x10], 0x3c6ef372
mov dword [rcx + 0x14], 0xa54ff53a
mov dword [rcx + 0x18], 0x510e527f
mov dword [rcx + 0x1c], 0x9b05688c
mov dword [rcx + 0x20], 0x1f83d9ab
ret
Function at 0x140168166
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x1403382f0
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14054a080]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x14057d41e]
call fcn.140168477
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140338346
jmp 0x1403384e2
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x48]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0xa4], 0
jmp 0x1403383b7
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov rax, qword [rbp + 0x88]
add rax, 0x28
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rbp + 0xa4], eax
jae 0x14033846d
lea r9, [rbp + 0xc4]
mov r8d, 0x40
mov edx, Ordinal_41
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x88]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x88]
mov byte [rcx + rax], 0
mov rax, qword [rbp + 0x88]
mov dword [rax + 0xc], 0
mov rax, qword [rbp + 0x88]
mov dword [rax + 8], 0
mov rax, qword [rbp + 0x88]
mov dword [rax + 8], 0
lea r9, [rbp + 0xc4]
mov r8d, dword [rbp + 0xc4]
mov edx, Ordinal_41
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
jmp 0x140338397
mov r8d, 8
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x68]
call fcn.140164886
nop
mov r8d, 8
xor edx, edx
lea rcx, [rbp + 0x68]
call fcn.140166811
nop
lea r9, [rbp + 0xe4]
mov r8d, 0x40
mov edx, 8
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov r8d, 8
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x48]
call fcn.140164886
nop
lea r9, [rbp + 0xe4]
mov r8d, dword [rbp + 0xe4]
mov edx, 8
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_connect
call fcn.14016710d
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.140164822
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x14016830f
Capabilities:
Write file on windows

Disassembly:
jmp 0x14030d460
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, reloc.WLDAP32.dll_Ordinal_50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x14054a080]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14057d30d]
call fcn.140168477
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x14030d4c7
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14030d4ce
mov al, 1
jmp 0x14030d63e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.140162f3b
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.140162f3b
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.140166c5d
movzx eax, al
test eax, eax
je 0x14030d531
xor al, al
jmp 0x14030d63e
mov qword [rbp + 8], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
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 [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x14030d5a4
cmp dword [rbp + 0x160], 1
je 0x14030d5af
cmp dword [rbp + 0x160], 3
je 0x14030d62d
jmp 0x14030d63c
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14030d5ff
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14030d5ff
xor al, al
jmp 0x14030d63e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14030d61a
mov dword [rbp + 0x154], 1
jmp 0x14030d624
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14030d63e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14030d63e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.14016710d
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.140164822
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret