joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401dda89
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1402e0490
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.1401de5f1
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, [0x1405c9ad0]
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 0x1402e0510
mov dword [rbp + 0x120], 1
jmp 0x1402e051a
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1402e0563
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 0x1402e04db
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x1401ddbfb
Capabilities:
Parse pe header

Disassembly:
jmp 0x14021b200
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.1401de5f1
nop
cmp qword [rbp + 0x140], 0
jne 0x14021b22e
xor al, al
jmp 0x14021b294
mov rax, qword [rbp + 0x140]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14021b24b
xor al, al
jmp 0x14021b294
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 0x14021b274
xor al, al
jmp 0x14021b294
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 0x14021b292
xor al, al
jmp 0x14021b294
mov al, 1
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1401ddcd2
Capabilities:
Read file on windows

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

Function at 0x1401ddf48
Capabilities:
Hash data using sha256

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

Disassembly:
jmp 0x140444530
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x30]
lea rcx, [0x1408518ab]
call fcn.1401de5f1
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 [0x14081f470]
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 0x1404445a9
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [0x14081f470]
movsxd rax, dword [rax + 8]
cmp qword [rbp + 8], rax
jae 0x1404445cd
mov rax, qword [0x14081f470]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
nop
jmp 0x14044459e
mov rax, qword [0x14081f470]
mov ecx, 0xffffffff
cmp qword [rax], rcx
je 0x1404446b3
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
je 0x1404446b3
mov rax, qword [0x14081f470]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1404446ae
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.1404384e0
mov rcx, rax
call fcn.1401dbb7b
mov rdx, rax
mov rcx, qword [rbp + 0x128]
call fcn.1401d931c
mov qword [rbp + 0x1c8], rax
mov rcx, qword [rbp + 0x1c8]
call fcn.1401d9dd0
nop
call fcn.1401d8679
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
jmp 0x1404445cd
mov rax, qword [0x14081f470]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret
Function at 0x1401de3fd
Capabilities:
Write file on windows

Disassembly:
jmp 0x14024a370
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 [0x140814ac0]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x140850c8c]
call fcn.1401de5f1
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x14024a3d7
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14024a3de
mov al, 1
jmp 0x14024a54e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.1401d7800
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.1401d7800
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.1401dc530
movzx eax, al
test eax, eax
je 0x14024a441
xor al, al
jmp 0x14024a54e
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 0x14024a4b4
cmp dword [rbp + 0x160], 1
je 0x14024a4bf
cmp dword [rbp + 0x160], 3
je 0x14024a53d
jmp 0x14024a54c
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 0x14024a50f
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 0x14024a50f
xor al, al
jmp 0x14024a54e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14024a52a
mov dword [rbp + 0x154], 1
jmp 0x14024a534
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14024a54e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14024a54e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401dcb34
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.1401d9736
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x1401de4ca
Capabilities:
Create thread

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

Disassembly:
jmp 0x1404524c0
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 [0x140814ac0]
xor rax, rbp
mov qword [rbp + 0x510], rax
lea rcx, [0x1408518ab]
call fcn.1401de5f1
nop
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0x10]
call fcn.1401db46e
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
lea rdx, str.C:WindowsSystem32driversetchosts
lea rcx, [rbp + 0x10]
call fcn.1401dd9f8
nop
lea rcx, [rbp + 0x138]
call fcn.1401de556
nop
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x10]
call fcn.1401da2ad
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 0x14045270f
lea rdx, str.88.88.88.88
lea rcx, [0x14081f600]
call fcn.1401d8a6b
movzx eax, al
test eax, eax
je 0x140452646
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.140438450
mov rcx, rax
call fcn.1401dbb7b
mov rdx, rax
mov rcx, qword [rbp + 0x358]
call fcn.1401d931c
mov qword [rbp + 0x508], rax
mov rcx, qword [rbp + 0x508]
call fcn.1401d9dd0
nop
call fcn.1401d8679
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.1401d85ca
cmp rax, 0xffffffffffffffff
je 0x14045270a
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.140438720
mov rcx, rax
call fcn.1401dbb7b
mov rdx, rax
mov rcx, qword [rbp + 0x448]
call fcn.1401d931c
mov qword [rbp + 0x508], rax
mov rcx, qword [rbp + 0x508]
call fcn.1401d9dd0
nop
call fcn.1401d8679
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
jmp 0x14045253e
mov byte [rbp + 0x4f4], 1
lea rcx, [rbp + 0x138]
call fcn.1401d6aa4
nop
lea rcx, [rbp + 0x10]
call fcn.1401d66c1
movzx eax, byte [rbp + 0x4f4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401dcb34
mov rax, rdi
mov rcx, qword [rbp + 0x510]
xor rcx, rbp
call fcn.1401d9736
lea rsp, [rbp + 0x528]
pop rdi
pop rbp
ret
Function at 0x1401de84e
Capabilities:
Convert ip address from string

Disassembly:
jmp 0x1404ed0e0
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 [0x140814ac0]
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 0x1404ed156
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x24]
mov ecx, 2
call fcn.1401d7ba2
jmp 0x1404ed195
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 0x1404ed193
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x48]
mov ecx, reloc.WS2_32.dll_socket
call fcn.1401d7ba2
jmp 0x1404ed195
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401dcb34
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401d9736
add rsp, 0x80
pop rdi
ret

Function at 0x1401de902
Capabilities:
Generate random numbers via winapi

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

Function at 0x1401dea51
Capabilities:
Create thread

Disassembly:
jmp 0x14020ac10
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 [0x140814ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14085073c]
call fcn.1401de5f1
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.1401dd07f
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1401d9baf
nop
lea rax, [0x1401da5d7]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1401d72dd
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 0x14020acec
lea rcx, [rbp + 8]
call fcn.1401deba0
nop
jmp 0x14020ad05
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d7021
nop
lea rcx, [rbp + 8]
call fcn.1401d5d61
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401dcb34
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401d9736
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x1401deaba
Capabilities:
Print debug messages

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

Function at 0x1401debc3
Capabilities:
Write file on windows

Disassembly:
jmp 0x140476170
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 [0x14081f9e0], 0
jne 0x1404761ae
jmp 0x14047623c
mov ecx, 0x400
call qword [fcn.1401da870]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1404761c8
jmp 0x14047623c
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.1401d8476
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x38], 0
cmp dword [rsp + 0x28], 0x3ff
jle 0x14047620a
mov dword [rsp + 0x28], 0x3ff
cmp dword [rsp + 0x28], 0
jle 0x140476230
movsxd rax, dword [rsp + 0x28]
mov r9, qword [0x14081f9e0]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x20]
call fcn.1401dec04
nop
mov rcx, qword [rsp + 0x20]
call qword [fcn.1401d83e5]
nop
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401dcb34
add rsp, 0x50
pop rdi
ret
Function at 0x1401df415
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1401f7060
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x140850142]
call fcn.1401de5f1
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 0x14021d9d0
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 [0x140814ac0]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1401de5f1
nop
lea rcx, [rbp + 0x10]
call fcn.1401daae6
nop
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x490]
call fcn.1401d6c39
movzx eax, al
test eax, eax
jne 0x14021da57
mov byte [rbp + 0x354], 0
lea rcx, [rbp + 0x10]
call fcn.1401d72d3
movzx eax, byte [rbp + 0x354]
jmp 0x14021dc39
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.14021d2b0
mov rcx, rax
call fcn.1401d5131
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1401dd2aa
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.14021d390
mov rcx, rax
call fcn.1401df1ef
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1401dd2aa
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.14021d510
mov rcx, rax
call fcn.1401d5131
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1401dd2aa
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0xe8], 0
je 0x14021db44
mov rax, qword [rbp + 0x108]
cmp qword [rbp + 0xe8], rax
jae 0x14021db44
mov rax, qword [rbp + 0x128]
cmp qword [rbp + 0x108], rax
jb 0x14021db60
mov byte [rbp + 0x434], 0
lea rcx, [rbp + 0x10]
call fcn.1401d72d3
movzx eax, byte [rbp + 0x434]
jmp 0x14021dc39
lea rdx, [rbp + 0x490]
lea rcx, [rbp + 0x148]
call fcn.14021d180
nop
mov rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0x148]
call fcn.14021d580
nop
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x148]
call fcn.14021d580
nop
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x148]
call fcn.14021d580
nop
lea rcx, [rbp + 0x168]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x1b8]
call fcn.14021d1e0
nop
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x1b8]
call fcn.14021d5c0
movzx eax, al
test eax, eax
je 0x14021dc12
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x1b8]
call fcn.14021d5c0
movzx eax, al
test eax, eax
je 0x14021dc12
mov dword [rbp + 0x464], 1
jmp 0x14021dc1c
mov dword [rbp + 0x464], 0
movzx eax, byte [rbp + 0x464]
mov byte [rbp + 0x454], al
lea rcx, [rbp + 0x10]
call fcn.1401d72d3
movzx eax, byte [rbp + 0x454]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_connect
call fcn.1401dcb34
mov rax, rdi
mov rcx, qword [rbp + 0x468]
xor rcx, rbp
call fcn.1401d9736
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret
Function at 0x1403c4fb0
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.1401de5f1
nop
call fcn.1403c3340
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 0x1403c5023
mov rax, qword [rbp + 8]
mov dword [rax + 0x2c], 0
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x14043abb0
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 [0x140814ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14085183c]
call fcn.1401de5f1
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140448ff0
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.14043e3e0
nop
lea rax, [0x14043a180]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.140450460
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 0x14043ac8c
lea rcx, [rbp + 8]
call fcn.140452e80
nop
jmp 0x14043aca5
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d7021
nop
lea rcx, [rbp + 8]
call fcn.140440730
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401dcb34
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401d9736
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x14043ad30
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 [0x140814ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14085183c]
call fcn.1401de5f1
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140449030
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.14043e4b0
nop
lea rax, [0x14043a290]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1404504b0
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 0x14043ae0c
lea rcx, [rbp + 8]
call fcn.140452ee0
nop
jmp 0x14043ae25
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d7021
nop
lea rcx, [rbp + 8]
call fcn.1404407c0
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401dcb34
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401d9736
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x14043aeb0
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 [0x140814ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14085183c]
call fcn.1401de5f1
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140449070
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.14043e580
nop
lea rax, [0x14043a3a0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.140450500
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 0x14043af8c
lea rcx, [rbp + 8]
call fcn.140452f40
nop
jmp 0x14043afa5
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d7021
nop
lea rcx, [rbp + 8]
call fcn.140440850
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401dcb34
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401d9736
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret