joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401dc273
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x14057b050
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [rcx + 0x28]
cmp ecx, 0x40
jae 0x14057b208
lea r8d, [rcx*8]
mov qword [rsp + 0x30], rsi
add qword [rbx], r8
mov byte [rcx + rbx + 0x2c], 0x80
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jbe 0x14057b0c8
cmp eax, 0x40
jae 0x14057b0b2
nop dword [rax]
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 0x14057b0a0
lea rsi, [rbx + 0x2c]
mov rcx, rbx
mov rdx, rsi
call fcn.14057b3e0
xor eax, eax
mov dword [rbx + 0x28], eax
jmp 0x14057b0d0
lea rsi, [rbx + 0x2c]
jae 0x14057b0e2
nop
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jb 0x14057b0d0
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.14057b3e0
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 0x1401dc44e
Capabilities:
Write file on windows

Disassembly:
jmp 0x1404727c0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0xa5e]
test eax, eax
je 0x1404728cc
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x270], 0
je 0x140472856
mov rcx, qword [rsp + 0x50]
call fcn.1401da6b2
mov byte [rsp + 0x30], al
mov dl, 1
mov rcx, qword [rsp + 0x50]
call fcn.1401dba2b
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x1e8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
call qword [rax + 0x270]
movzx edx, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.1401dba2b
nop
jmp 0x1404728cc
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140472875
cmp dword [rsp + 0x34], 1
je 0x140472875
cmp dword [rsp + 0x34], 2
je 0x140472875
jmp 0x1404728cc
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 3
lea rcx, [0x140625df0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 0x1e0]
mov r8d, 1
mov edx, 2
mov rcx, rax
call fcn.1401ddbeb
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x1e0]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1401ddbeb
nop
add rsp, 0x40
pop rdi
ret
Function at 0x1401dc5a2
Capabilities:
Get common file path

Disassembly:
jmp 0x1404abf80
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 0x1404abfbd
xor eax, eax
jmp 0x1404ac16b
lea rdx, str.LoadLibraryExW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
lea rdx, [0x1407e25f8]
mov rcx, qword [rsp + 0x70]
call fcn.1401d7a39
test rax, rax
je 0x1404ac029
cmp qword [rsp + 0x28], 0
je 0x1404ac00a
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
jmp 0x1404ac01a
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 0x1404ac166
cmp qword [rsp + 0x28], 0
je 0x1404ac063
lea rdx, str.AddDllDirectory
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1404ac063
mov r8d, 0x800
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
jmp 0x1404ac166
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1404ac166
mov rcx, qword [rsp + 0x70]
call fcn.1401d4938
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, [0x1407e2610]
mov edx, 0xfa
mov rcx, rax
call fcn.1401dc502
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1404ac14f
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1404ac14f
mov rcx, qword [rsp + 0x48]
call fcn.1401d4938
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2]
lea rdx, [0x1407e265c]
mov rcx, rax
call fcn.1401d70ca
mov rcx, qword [rsp + 0x48]
call fcn.1401d4938
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2]
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.1401d70ca
cmp qword [rsp + 0x28], 0
je 0x1404ac135
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
jmp 0x1404ac145
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.1401d45e1
nop
mov rax, qword [rsp + 0x20]
add rsp, 0x60
pop rdi
ret
Function at 0x1401dcabb
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1402deae0
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.1401dd605
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, [0x1405c79b0]
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 0x1402deb60
mov dword [rbp + 0x120], 1
jmp 0x1402deb6a
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1402debb3
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 0x1402deb2b
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x1401dcc2d
Capabilities:
Parse pe header

Disassembly:
jmp 0x14021a1b0
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.1401dd605
nop
cmp qword [rbp + 0x140], 0
jne 0x14021a1de
xor al, al
jmp 0x14021a244
mov rax, qword [rbp + 0x140]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14021a1fb
xor al, al
jmp 0x14021a244
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 0x14021a224
xor al, al
jmp 0x14021a244
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 0x14021a242
xor al, al
jmp 0x14021a244
mov al, 1
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1401dcd04
Capabilities:
Read file on windows

Disassembly:
jmp 0x1404713b0
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.1401d6d37
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
call fcn.1401d680a
cdqe
add rsp, 0x20
pop rdi
ret

Function at 0x1401dcf75
Capabilities:
Hash data using sha256

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

Disassembly:
jmp 0x140442b80
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x30]
lea rcx, [0x14084f8ab]
call fcn.1401dd605
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 [0x14081d480]
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 0x140442bf9
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [0x14081d480]
movsxd rax, dword [rax + 8]
cmp qword [rbp + 8], rax
jae 0x140442c1d
mov rax, qword [0x14081d480]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
nop
jmp 0x140442bee
mov rax, qword [0x14081d480]
mov ecx, 0xffffffff
cmp qword [rax], rcx
je 0x140442d03
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
je 0x140442d03
mov rax, qword [0x14081d480]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x140442cfe
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.140436b30
mov rcx, rax
call fcn.1401d4ccb
mov rdx, rax
mov rcx, qword [rbp + 0x128]
call fcn.1401d8321
mov qword [rbp + 0x1c8], rax
mov rcx, qword [rbp + 0x1c8]
call fcn.1401d8de9
nop
call fcn.1401d7692
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
jmp 0x140442c1d
mov rax, qword [0x14081d480]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret
Function at 0x1401dd420
Capabilities:
Write file on windows

Disassembly:
jmp 0x140249320
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 [0x140812ac0]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14084ec8c]
call fcn.1401dd605
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140249387
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14024938e
mov al, 1
jmp 0x1402494fe
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.1401d6819
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.1401d6819
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.1401db521
movzx eax, al
test eax, eax
je 0x1402493f1
xor al, al
jmp 0x1402494fe
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 0x140249464
cmp dword [rbp + 0x160], 1
je 0x14024946f
cmp dword [rbp + 0x160], 3
je 0x1402494ed
jmp 0x1402494fc
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 0x1402494bf
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 0x1402494bf
xor al, al
jmp 0x1402494fe
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1402494da
mov dword [rbp + 0x154], 1
jmp 0x1402494e4
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1402494fe
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1402494fe
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401dbb48
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.1401d8740
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x1401dd4e8
Capabilities:
Create thread

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

Disassembly:
jmp 0x140450b10
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 [0x140812ac0]
xor rax, rbp
mov qword [rbp + 0x510], rax
lea rcx, [0x14084f8ab]
call fcn.1401dd605
nop
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0x10]
call fcn.1401da473
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
lea rdx, str.C:WindowsSystem32driversetchosts
lea rcx, [rbp + 0x10]
call fcn.1401dca2f
nop
lea rcx, [rbp + 0x138]
call fcn.1401dd56f
nop
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x10]
call fcn.1401d92c1
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 0x140450d5f
lea rdx, str.88.88.88.88
lea rcx, [0x14081d610]
call fcn.1401d7a6b
movzx eax, al
test eax, eax
je 0x140450c96
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.140436aa0
mov rcx, rax
call fcn.1401d4ccb
mov rdx, rax
mov rcx, qword [rbp + 0x358]
call fcn.1401d8321
mov qword [rbp + 0x508], rax
mov rcx, qword [rbp + 0x508]
call fcn.1401d8de9
nop
call fcn.1401d7692
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.1401d75d9
cmp rax, 0xffffffffffffffff
je 0x140450d5a
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.140436d70
mov rcx, rax
call fcn.1401d4ccb
mov rdx, rax
mov rcx, qword [rbp + 0x448]
call fcn.1401d8321
mov qword [rbp + 0x508], rax
mov rcx, qword [rbp + 0x508]
call fcn.1401d8de9
nop
call fcn.1401d7692
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
jmp 0x140450b8e
mov byte [rbp + 0x4f4], 1
lea rcx, [rbp + 0x138]
call fcn.1401d5a9a
nop
lea rcx, [rbp + 0x10]
call fcn.1401d56a8
movzx eax, byte [rbp + 0x4f4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401dbb48
mov rax, rdi
mov rcx, qword [rbp + 0x510]
xor rcx, rbp
call fcn.1401d8740
lea rsp, [rbp + 0x528]
pop rdi
pop rbp
ret
Function at 0x1401dd84e
Capabilities:
Convert ip address from string

Disassembly:
jmp 0x1404eb6e0
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 [0x140812ac0]
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 0x1404eb756
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x24]
mov ecx, 2
call fcn.1401d6bcf
jmp 0x1404eb795
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 0x1404eb793
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x48]
mov ecx, reloc.WS2_32.dll_socket
call fcn.1401d6bcf
jmp 0x1404eb795
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401dbb48
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401d8740
add rsp, 0x80
pop rdi
ret

Function at 0x1401dd902
Capabilities:
Generate random numbers via winapi

Disassembly:
jmp 0x140473bf0
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.1401dafc2
mov r9d, 2
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call fcn.1401d4bc7
test eax, eax
je 0x140473c32
mov eax, 2
jmp 0x140473c34
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x1401dda4c
Capabilities:
Create thread

Disassembly:
jmp 0x140209bc0
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 [0x140812ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14084e73c]
call fcn.1401dd605
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.1401dc08e
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1401d8bcd
nop
lea rax, [0x1401d95eb]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1401d62fb
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 0x140209c9c
lea rcx, [rbp + 8]
call fcn.1401ddb91
nop
jmp 0x140209cb5
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d6021
nop
lea rcx, [rbp + 8]
call fcn.1401d4d4d
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401dbb48
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401d8740
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x1401ddab0
Capabilities:
Print debug messages

Disassembly:
jmp 0x1405815ac
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.1401dafc2
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, [0x1406470f0]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.1401d85ab
test eax, eax
jne 0x140581643
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140581643
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14058163c
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x14081dc37], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x1401ddbaf
Capabilities:
Write file on windows

Disassembly:
jmp 0x140474770
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, ntohl
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
cmp qword [0x14081d9f0], 0
jne 0x1404747ae
jmp 0x14047483c
mov ecx, 0x400
call qword [fcn.1401d987f]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1404747c8
jmp 0x14047483c
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.1401d7480
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x38], 0
cmp dword [rsp + 0x28], 0x3ff
jle 0x14047480a
mov dword [rsp + 0x28], 0x3ff
cmp dword [rsp + 0x28], 0
jle 0x140474830
movsxd rax, dword [rsp + 0x28]
mov r9, qword [0x14081d9f0]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x20]
call fcn.1401ddbeb
nop
mov rcx, qword [rsp + 0x20]
call qword [fcn.1401d73f9]
nop
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401dbb48
add rsp, 0x50
pop rdi
ret
Function at 0x1401de3f7
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1401f6010
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14084e142]
call fcn.1401dd605
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