joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140064d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], 0
xorps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x64], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x6c], xmm0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
lea r8, [rsp + 0x58]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.14006a180
test eax, eax
je 0x140064e87
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0xe
mov rcx, rax
call fcn.140033a10
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.14006a180
test eax, eax
je 0x140064e87
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x50], eax
je 0x140064e7b
mov r8d, 0x8eb
lea rdx, [0x140219570]
lea rcx, str.output_ctx.num_vertices__count_ctx.num_vertices
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
xor eax, eax
test eax, eax
jne 0x140064e52
mov eax, dword [rsp + 0x50]
jmp 0x140064e98
mov rax, qword [rsp + 0xb0]
mov qword [rax], 0
xor eax, eax
add rsp, 0x98
ret

Function at 0x140074710
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub rsp, 0x48
call fcn.1400728e0
mov qword [rsp + 0x28], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 0x2c
mov r9d, 4
mov r8, rax
mov edx, 0x20001004
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140074772
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x2c], 0
add rsp, 0x48
ret

Function at 0x1400762c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400762e6
mov dword [rsp + 0x20], 1
jmp 0x1400762ee
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400ba560
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [rsp + 0x68]
call fcn.14006eaa0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400bddc0
nop
lea rax, [0x1400b8860]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.1400b82a0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400ba5ed
lea rcx, [rsp + 0x30]
call fcn.1400eaed0
jmp 0x1400ba604
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x30]
call fcn.1400c4b20
add rsp, 0x58
ret
Function at 0x1400c9b50
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400cc6f0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [0x140271438], 0
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400beb90
nop
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1400beb90
nop
lea rdx, [0x14022fc58]
lea rcx, [rsp + 0x38]
call fcn.1400becb0
nop
lea rdx, [rsp + 0x28]
lea rcx, [0x1400cb710]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [0x140271438]
mov qword [rsp + 0x20], rax
lea r9, [fcn.1400c39e0]
mov r8d, 3
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.1401c6d30
mov rax, qword [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x1400cd400
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x470
mov qword [rsp + 0x20], 0
mov edx, dword [rsp + 0x480]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400cd44a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400cd4db
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x438
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x438
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x1400cd485
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400cd4db
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x488]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400cd4ab
add rax, 2
test dx, dx
jne 0x1400cd495
xor eax, eax
jmp 0x1400cd4b0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400cd4bb
mov rax, qword [rsp + 0x58]
jmp 0x1400cd4db
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1400cd485
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x470
pop rdi
ret
Function at 0x1400ce7b0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x98
mov r8d, dword [rsp + 0xa0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400ce7e9
xor eax, eax
jmp 0x1400ce9bd
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
cmp word [rax + rcx*2], 0
jne 0x1400ce7ff
mov rax, qword [rsp + 0x50]
shl rax, 1
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400ce85a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400ce9bd
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp word [rax + rcx*2], 0
jne 0x1400ce870
mov rax, qword [rsp + 0x58]
shl rax, 1
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400ce8e5
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400ce9bd
lea rcx, [0x140230600]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x78], rax
lea rdx, [0x140230620]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400ce979
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400ce9bd
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x98
ret
Function at 0x1400cf270
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1400cf2a6
mov eax, 0xfffffffd
jmp 0x1400cf3a3
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1400cf2c6
mov eax, 0xfffffffd
jmp 0x1400cf3a3
cmp dword [rsp + 0x20], 0
jne 0x1400cf2d4
xor eax, eax
jmp 0x1400cf3a3
movsxd rax, dword [rsp + 0x20]
inc rax
lea rdx, [0x1402512e8]
mov rcx, rax
call fcn.1401c7250
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400cf30c
mov eax, 0xfffffffe
jmp 0x1400cf3a3
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax], 0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
movsxd rax, dword [rsp + 0x20]
mov r9, qword [rsp + 0x78]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x38], rax
je 0x1400cf373
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1401c6e00
mov eax, 0xfffffffd
jmp 0x1400cf3a3
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1400cef70
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1401c6e00
mov eax, dword [rsp + 0x28]
add rsp, 0x68
ret
Function at 0x1400d0520
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x10325476
ret
Function at 0x1400d20c0
Capabilities:
Terminate thread

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x78
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140271380]
xor edx, edx
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140271380]
mov edx, 0x1f4
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x1402721c0]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140142180
movzx eax, al
lea rdx, [0x14022fd74]
lea rcx, [0x14022fd78]
call fcn.1400ed4a0
movsxd rcx, dword [rsp + 0x80]
imul rcx, rcx, 0x198
lea rdx, [0x1404a6b20]
add rdx, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1400c59c0
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140484d30]
cmp qword [rcx + rax*8], 0
je 0x1400d22c3
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [0x14022fd88]
mov rcx, qword [rsp + 0x20]
call fcn.1400becb0
mov qword [rsp + 0x28], rax
mov r8d, 0x134
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x80]
call fcn.1400ee800
xor edx, edx
mov ecx, dword [rsp + 0x80]
call fcn.1401125d0
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140484a10]
movsxd rdx, dword [rsp + 0x80]
mov qword [rsp + 0x30], rdx
lea r8, [0x1402721c0]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x30]
mov rcx, qword [r8 + rax*8]
call fcn.1401600f0
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140484d30]
movsxd rdx, dword [rsp + 0x80]
mov qword [rsp + 0x38], rdx
lea r8, [0x1402721c0]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x38]
mov rcx, qword [r8 + rax*8]
call fcn.1401600f0
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140484ec0]
movsxd rdx, dword [rsp + 0x80]
mov qword [rsp + 0x40], rdx
lea r8, [0x1402721c0]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x40]
mov rcx, qword [r8 + rax*8]
call fcn.1401600f0
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140485050]
movsxd rdx, dword [rsp + 0x80]
mov qword [rsp + 0x48], rdx
lea r8, [0x1402721c0]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x48]
mov rcx, qword [r8 + rax*8]
call fcn.1401600f0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rdx, str._e4N
mov rcx, qword [rsp + 0x50]
call fcn.1400becb0
mov qword [rsp + 0x58], rax
mov r8d, 0x13a
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x80]
call fcn.1400ee800
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140271380]
mov qword [rcx + rax*8], 0
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x1404beac0]
lea rax, [rcx + rax*8]
lea rdx, [0x14022878e]
mov rcx, rax
call fcn.1400c5740
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x1402721c0]
mov qword [rcx + rax*8], 0
movsxd rax, dword [rsp + 0x80]
lea rcx, [0x140272120]
mov qword [rcx + rax*8], 0
add rsp, 0x78
ret
Function at 0x1400d25a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x60], 0
je 0x1400d25d2
cmp qword [rsp + 0x70], 0
je 0x1400d25d2
cmp qword [rsp + 0x80], 0
jne 0x1400d25d9
xor eax, eax
jmp 0x1400d273c
mov ecx, 0x100
call fcn.1401c721c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x30]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400cd210
test eax, eax
jne 0x1400d2610
xor eax, eax
jmp 0x1400d273c
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
jmp 0x1400d2634
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x24], eax
jge 0x1400d2715
mov eax, dword [rsp + 0x20]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
add eax, dword [rsp + 0x28]
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1400ed460
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x2c], eax
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
movzx ecx, byte [rdx + rcx]
movsxd rdx, dword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
movzx edx, byte [r8 + rdx]
add ecx, edx
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x2c]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x80]
mov byte [rdx + rcx], al
jmp 0x1400d262a
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x68]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.1401c6e00
mov eax, 0xffffffff
add rsp, 0x58
ret
Function at 0x1400d6d10
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2c8
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.1400c0d60
nop
mov rdx, qword [rsp + 0x2d8]
lea rcx, [rsp + 0x50]
call fcn.1400c0bb0
nop
lea rdx, [0x1402316cc]
lea rcx, [rsp + 0x50]
call fcn.1400c7bf0
lea rcx, [rsp + 0x50]
call fcn.140076810
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1400d6e4b
mov eax, dword [rsp + 0x70]
and eax, 0x10
test eax, eax
je 0x1400d6e28
lea rax, [rsp + 0x9c]
lea rcx, [0x1402316ec]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400d6db8
add rax, 2
test dx, dx
jne 0x1400d6da2
xor eax, eax
jmp 0x1400d6dbd
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400d6df2
lea rax, [rsp + 0x9c]
lea rcx, [0x140231704]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400d6de9
add rax, 2
test dx, dx
jne 0x1400d6dd3
xor eax, eax
jmp 0x1400d6dee
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400d6df4
jmp 0x1400d6e28
lea rcx, [rsp + 0x30]
call fcn.1400e2720
movzx eax, al
test eax, eax
jne 0x1400d6e16
lea rdx, [0x14023171c]
lea rcx, [rsp + 0x30]
call fcn.1400c7bf0
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x30]
call fcn.1400c7bf0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400d6d81
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2d0]
call fcn.1400c0b30
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.1400c4860
nop
lea rcx, [rsp + 0x30]
call fcn.1400c4860
mov rax, qword [rsp + 0x2d0]
add rsp, 0x2c8
ret
Function at 0x1400d83c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400d83eb
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400d83f2
mov al, 1
jmp 0x1400d854c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.1400e2a40
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.1400e2a40
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.1400e2ae0
movzx eax, al
test eax, eax
je 0x1400d8449
xor al, al
jmp 0x1400d854c
mov qword [rsp + 0x68], 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 + 0x60]
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 0x1400d84b9
cmp dword [rsp + 0x30], 1
je 0x1400d84c5
cmp dword [rsp + 0x30], 3
je 0x1400d853a
jmp 0x1400d854a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400d8511
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 0x1400d8511
xor al, al
jmp 0x1400d854c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400d852b
mov dword [rsp + 0x34], 1
jmp 0x1400d8533
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400d854c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400d854c
xor al, al
add rsp, 0xa8
ret
Function at 0x1400d8560
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x1400d858b
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x1400d8592
mov al, 1
jmp 0x1400d86f0
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
call fcn.1400e2a50
mov word [rsp + 0x30], ax
movzx edx, word [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
call qword [rsp + 0x48]
mov word [rsp + 0x32], ax
call fcn.1400e2a50
mov word [rsp + 0x34], ax
lea rdx, [rsp + 0x32]
lea rcx, [rsp + 0x34]
call fcn.1400e2aa0
movzx eax, al
test eax, eax
je 0x1400d85ed
xor al, al
jmp 0x1400d86f0
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x88]
mov rcx, qword [rsp + 0xa0]
add rcx, 0x74
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x68]
mov rdx, rcx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1400d865d
cmp dword [rsp + 0x38], 1
je 0x1400d8669
cmp dword [rsp + 0x38], 3
je 0x1400d86de
jmp 0x1400d86ee
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x72], 0
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x1400d86b5
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x40], rax
je 0x1400d86b5
xor al, al
jmp 0x1400d86f0
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x1400d86cf
mov dword [rsp + 0x3c], 1
jmp 0x1400d86d7
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
jmp 0x1400d86f0
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x72], 0
mov al, 1
jmp 0x1400d86f0
xor al, al
add rsp, 0x98
ret
Function at 0x1400ec6d0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x3c8
mov eax, 0x202
mov word [rsp + 0x24], ax
lea rdx, [rsp + 0x220]
movzx ecx, word [rsp + 0x24]
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x1400ec703
xor al, al
jmp 0x1400ecb84
mov rax, qword [rsp + 0x3d0]
add rax, 0x28
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
call fcn.1400dd390
jmp 0x1400ec72f
lea rcx, [rsp + 0x28]
call fcn.1400c67e0
mov rax, qword [rsp + 0x3d0]
add rax, 0x28
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x40]
call fcn.1400e2780
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400c6060
movzx eax, al
test eax, eax
je 0x1400ec768
jmp 0x1400ec725
mov rax, qword [rsp + 0x3d0]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x138]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x3d0]
add rax, 0x28
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.1400c11f0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x3d0]
call qword [rsp + 0x60]
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xd8]
call fcn.1400dd390
jmp 0x1400ec7e9
lea rcx, [rsp + 0x30]
call fcn.1400c67e0
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xd8]
call fcn.1400e2780
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400c6060
movzx eax, al
test eax, eax
je 0x1400ec814
jmp 0x1400ec7df
mov rax, qword [rsp + 0x3d0]
mov rax, qword [rax]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x148]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x3d0]
add rax, 0x28
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.1400c11f0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x3d0]
call qword [rsp + 0x80]
nop
mov byte [rsp + 0x20], 0
call fcn.1401467f0
jmp fcn.140d229b7
add rsp, 0x3c8
ret