joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401de5c0
Capabilities:
Get common file path

Disassembly:
jmp 0x1404b1000
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1404b103d
xor eax, eax
jmp 0x1404b11eb
lea rdx, str.LoadLibraryExW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
lea rdx, [0x1407e85f8]
mov rcx, qword [rsp + 0x70]
call fcn.1401d9a3e
test rax, rax
je 0x1404b10a9
cmp qword [rsp + 0x28], 0
je 0x1404b108a
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
jmp 0x1404b109a
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
jmp 0x1404b11e6
cmp qword [rsp + 0x28], 0
je 0x1404b10e3
lea rdx, str.AddDllDirectory
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1404b10e3
mov r8d, 0x800
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
jmp 0x1404b11e6
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1404b11e6
mov rcx, qword [rsp + 0x70]
call fcn.1401d6947
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x38]
inc eax
mov eax, eax
add rax, qword [rsp + 0x40]
shl rax, 1
lea r8, [0x1407e8610]
mov edx, 0xfa
mov rcx, rax
call fcn.1401de516
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1404b11cf
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1404b11cf
mov rcx, qword [rsp + 0x48]
call fcn.1401d6947
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2]
lea rdx, [0x1407e865c]
mov rcx, rax
call fcn.1401d90ca
mov rcx, qword [rsp + 0x48]
call fcn.1401d6947
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2]
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.1401d90ca
cmp qword [rsp + 0x28], 0
je 0x1404b11b5
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
jmp 0x1404b11c5
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8, str.D:_vcpkg_buildtreescurl_srccurl_8_9_1_bb74e44024.cleanlib_system_win32.c
mov edx, 0x107
mov rcx, qword [rsp + 0x48]
call fcn.1401d65e6
nop
mov rax, qword [rsp + 0x20]
add rsp, 0x60
pop rdi
ret
Function at 0x1401deaf2
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1402e48c0
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.1401df641
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, [0x1405cd4a0]
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 0x1402e4940
mov dword [rbp + 0x120], 1
jmp 0x1402e494a
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1402e4993
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 0x1402e490b
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x1401dec5a
Capabilities:
Parse pe header

Disassembly:
jmp 0x14021c2a0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1401df641
nop
cmp qword [rbp + 0x140], 0
jne 0x14021c2ce
xor al, al
jmp 0x14021c334
mov rax, qword [rbp + 0x140]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14021c2eb
xor al, al
jmp 0x14021c334
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
je 0x14021c314
xor al, al
jmp 0x14021c334
mov rax, qword [rbp + 0x28]
add rax, 0x18
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax]
cmp eax, 0x20b
je 0x14021c332
xor al, al
jmp 0x14021c334
mov al, 1
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1401ded36
Capabilities:
Read file on windows

Disassembly:
jmp 0x140476430
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rcx, qword [rsp + 0x40]
call fcn.1401d8d28
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
call fcn.1401d87ec
cdqe
add rsp, 0x20
pop rdi
ret

Function at 0x1401defbb
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x140580310
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 0x1401df20e
Capabilities:
Create thread
Suspend thread
Terminate process

Disassembly:
jmp 0x14020b150
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x30]
lea rcx, [0x1408558cb]
call fcn.1401df641
nop
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x1c8], rax
mov rax, qword [0x140823470]
mov rcx, qword [rbp + 0x1c8]
mov qword [rax], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
nop
mov qword [rbp + 8], 0
jmp 0x14020b1c9
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [0x140823470]
movsxd rax, dword [rax + 8]
cmp qword [rbp + 8], rax
jae 0x14020b1ed
mov rax, qword [0x140823470]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
nop
jmp 0x14020b1be
mov rax, qword [0x140823470]
mov ecx, 0xffffffff
cmp qword [rax], rcx
je 0x14020b2d3
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
je 0x14020b2d3
mov rax, qword [0x140823470]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x14020b2ce
lea rax, [rbp + 0xe8]
mov qword [rbp + 0x128], rax
lea rax, [rbp + 0x174]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x194]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1b4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x174]
movzx r8d, byte [rbp + 0x194]
movzx edx, byte [rbp + 0x1b4]
lea rcx, [rbp + 0x150]
call fcn.14043ca90
mov rcx, rax
call fcn.1401e0b9a
mov rdx, rax
mov rcx, qword [rbp + 0x128]
call fcn.1401da330
mov qword [rbp + 0x1c8], rax
mov rcx, qword [rbp + 0x1c8]
call fcn.1401dae2a
nop
call fcn.1401d967e
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
jmp 0x14020b1ed
mov rax, qword [0x140823470]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret
Function at 0x1401df461
Capabilities:
Write file on windows

Disassembly:
jmp 0x14024b260
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140818ac0]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x140854c8c]
call fcn.1401df641
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x14024b2c7
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14024b2ce
mov al, 1
jmp 0x14024b43e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.1401d87fb
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.1401d87fb
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.1401dd580
movzx eax, al
test eax, eax
je 0x14024b331
xor al, al
jmp 0x14024b43e
mov qword [rbp + 8], 0x20
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 0x14024b3a4
cmp dword [rbp + 0x160], 1
je 0x14024b3af
cmp dword [rbp + 0x160], 3
je 0x14024b42d
jmp 0x14024b43c
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 0x14024b3ff
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 0x14024b3ff
xor al, al
jmp 0x14024b43e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14024b41a
mov dword [rbp + 0x154], 1
jmp 0x14024b424
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14024b43e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14024b43e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401ddb7f
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.1401da763
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x1401df529
Capabilities:
Create thread

Disassembly:
jmp 0x140586ff5
jmp qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
Function at 0x1401df821
Capabilities:
Terminate process

Disassembly:
jmp 0x14025ceb0
push rbp
push rdi
sub rsp, 0x558
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xea
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140818ac0]
xor rax, rbp
mov qword [rbp + 0x510], rax
lea rcx, [0x1408558cb]
call fcn.1401df641
nop
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0x10]
call fcn.1401dc4e6
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
lea rdx, str.C:WindowsSystem32driversetchosts
lea rcx, [rbp + 0x10]
call fcn.1401dea66
nop
lea rcx, [rbp + 0x138]
call fcn.1401df5b0
nop
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x10]
call fcn.1401db31b
mov qword [rbp + 0x2f8], rax
mov rax, qword [rbp + 0x2f8]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rbp + 0x2f8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x14025d0ff
lea rdx, str.88.88.88.88
lea rcx, [0x140823600]
call fcn.1401d9a6b
movzx eax, al
test eax, eax
je 0x14025d036
lea rax, [rbp + 0x318]
mov qword [rbp + 0x358], rax
lea rax, [rbp + 0x3a4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x3c4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x3e4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x3a4]
movzx r8d, byte [rbp + 0x3c4]
movzx edx, byte [rbp + 0x3e4]
lea rcx, [rbp + 0x380]
call fcn.14043ca00
mov rcx, rax
call fcn.1401e0b9a
mov rdx, rax
mov rcx, qword [rbp + 0x358]
call fcn.1401da330
mov qword [rbp + 0x508], rax
mov rcx, qword [rbp + 0x508]
call fcn.1401dae2a
nop
call fcn.1401d967e
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
xor r8d, r8d
lea rdx, str.keyauth.win
lea rcx, [rbp + 0x138]
call fcn.1401d95ca
cmp rax, 0xffffffffffffffff
je 0x14025d0fa
lea rax, [rbp + 0x408]
mov qword [rbp + 0x448], rax
lea rax, [rbp + 0x494]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x4b4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x4d4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x494]
movzx r8d, byte [rbp + 0x4b4]
movzx edx, byte [rbp + 0x4d4]
lea rcx, [rbp + 0x470]
call fcn.14043ccd0
mov rcx, rax
call fcn.1401e0b9a
mov rdx, rax
mov rcx, qword [rbp + 0x448]
call fcn.1401da330
mov qword [rbp + 0x508], rax
mov rcx, qword [rbp + 0x508]
call fcn.1401dae2a
nop
call fcn.1401d967e
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
jmp 0x14025cf2e
mov byte [rbp + 0x4f4], 1
lea rcx, [rbp + 0x138]
call fcn.1401d7acc
nop
lea rcx, [rbp + 0x10]
call fcn.1401d76d5
movzx eax, byte [rbp + 0x4f4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401ddb7f
mov rax, rdi
mov rcx, qword [rbp + 0x510]
xor rcx, rbp
call fcn.1401da763
lea rsp, [rbp + 0x528]
pop rdi
pop rbp
ret
Function at 0x1401df894
Capabilities:
Convert ip address from string

Disassembly:
jmp 0x1404f0760
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov rax, qword [0x140818ac0]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x24]
mov rdx, qword [rsp + 0x90]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1404f07d6
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x24]
mov ecx, 2
call fcn.1401d8bac
jmp 0x1404f0815
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1404f0813
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x48]
mov ecx, reloc.WS2_32.dll_socket
call fcn.1401d8bac
jmp 0x1404f0815
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401ddb7f
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401da763
add rsp, 0x80
pop rdi
ret

Function at 0x1401df94d
Capabilities:
Generate random numbers via winapi

Disassembly:
jmp 0x140478c70
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov r8, qword [rsp + 0x38]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.1401dd053
mov r9d, 2
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call fcn.1401d6bd6
test eax, eax
je 0x140478cb2
mov eax, 2
jmp 0x140478cb4
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x1401dfa83
Capabilities:
Create thread

Disassembly:
jmp 0x14020bcb0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140818ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14085473c]
call fcn.1401df641
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.1401de0c5
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1401dac04
nop
lea rax, [0x1401db636]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1401d830f
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14020bd8c
lea rcx, [rbp + 8]
call fcn.1401dfbc8
nop
jmp 0x14020bda5
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d8044
nop
lea rcx, [rbp + 8]
call fcn.1401d6d7f
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401da763
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x1401dfaec
Capabilities:
Print debug messages

Disassembly:
jmp 0x14058662c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.1401dd053
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x14064cd60]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.1401da5b0
test eax, eax
jne 0x1405866c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1405866c3
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1405866bc
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x140823c37], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x1401dfbf0
Capabilities:
Write file on windows

Disassembly:
jmp 0x1404797f0
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, listen
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
cmp qword [0x1408239f0], 0
jne 0x14047982e
jmp 0x1404798bc
mov ecx, 0x400
call qword [fcn.1401db8e3]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140479848
jmp 0x1404798bc
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x60]
mov edx, 0x400
mov rcx, qword [rsp + 0x20]
call fcn.1401d9467
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x38], 0
cmp dword [rsp + 0x28], 0x3ff
jle 0x14047988a
mov dword [rsp + 0x28], 0x3ff
cmp dword [rsp + 0x28], 0
jle 0x1404798b0
movsxd rax, dword [rsp + 0x28]
mov r9, qword [0x1408239f0]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x20]
call fcn.1401dfc31
nop
mov rcx, qword [rsp + 0x20]
call qword [fcn.1401d93d6]
nop
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
add rsp, 0x50
pop rdi
ret
Function at 0x1401e0451
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1401f8100
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x140854142]
call fcn.1401df641
nop
movsx eax, byte [rbp + 0xe8]
mov ecx, dword [rbp + 0xe0]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14021e560
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x498
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4b8]
mov rax, qword [0x140818ac0]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1401df641
nop
lea rcx, [rbp + 0x10]
call fcn.1401dbb68
nop
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x490]
call fcn.1401d7c5c
movzx eax, al
test eax, eax
jne 0x14021e5e7
mov byte [rbp + 0x354], 0
lea rcx, [rbp + 0x10]
call fcn.1401d8305
movzx eax, byte [rbp + 0x354]
jmp 0x14021e7c9
lea rax, [rbp + 0x374]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x394]
lea rcx, [rbp + 0x374]
call fcn.14021de40
mov rcx, rax
call fcn.1401e0221
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1401de2eb
mov qword [rbp + 0xe8], rax
lea rax, [rbp + 0x3b4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x3d4]
lea rcx, [rbp + 0x3b4]
call fcn.14021df20
mov rcx, rax
call fcn.1401de43f
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1401de2eb
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x3f4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x414]
lea rcx, [rbp + 0x3f4]
call fcn.14021e0a0
mov rcx, rax
call fcn.1401e0221
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1401de2eb
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0xe8], 0
je 0x14021e6d4
mov rax, qword [rbp + 0x108]
cmp qword [rbp + 0xe8], rax
jae 0x14021e6d4
mov rax, qword [rbp + 0x128]
cmp qword [rbp + 0x108], rax
jb 0x14021e6f0
mov byte [rbp + 0x434], 0
lea rcx, [rbp + 0x10]
call fcn.1401d8305
movzx eax, byte [rbp + 0x434]
jmp 0x14021e7c9
lea rdx, [rbp + 0x490]
lea rcx, [rbp + 0x148]
call fcn.14021dd10
nop
mov rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0x148]
call fcn.14021e110
nop
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x148]
call fcn.14021e110
nop
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x148]
call fcn.14021e110
nop
lea rcx, [rbp + 0x168]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x1b8]
call fcn.14021dd70
nop
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x1b8]
call fcn.14021e150
movzx eax, al
test eax, eax
je 0x14021e7a2
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x1b8]
call fcn.14021e150
movzx eax, al
test eax, eax
je 0x14021e7a2
mov dword [rbp + 0x464], 1
jmp 0x14021e7ac
mov dword [rbp + 0x464], 0
movzx eax, byte [rbp + 0x464]
mov byte [rbp + 0x454], al
lea rcx, [rbp + 0x10]
call fcn.1401d8305
movzx eax, byte [rbp + 0x454]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_connect
call fcn.1401ddb7f
mov rax, rdi
mov rcx, qword [rbp + 0x468]
xor rcx, rbp
call fcn.1401da763
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret
Function at 0x1403c93e0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1401df641
nop
call fcn.1403c7770
mov qword [rbp + 8], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 8]
add rax, 0x2c
mov r9d, 4
mov r8, rax
mov edx, 0x20001004
mov ecx, dword [rbp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1403c9453
mov rax, qword [rbp + 8]
mov dword [rax + 0x2c], 0
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x14043f390
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140818ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14085585c]
call fcn.1401df641
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14044e0a0
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.140442e40
nop
lea rax, [0x14043e850]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1404563f0
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14043f46c
lea rcx, [rbp + 8]
call fcn.1401f80b0
nop
jmp 0x14043f485
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d8044
nop
lea rcx, [rbp + 8]
call fcn.140445280
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401da763
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret