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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x260
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rsp + 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14009b17b
cmp dword [rsp + 0x24], 0x105
jbe 0x14009b1a7
lea rdx, [0x140186e94]
mov rcx, qword [rsp + 0x270]
call fcn.14008ec40
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x270]
jmp 0x14009b239
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0xffffffffffffffff
inc qword [rsp + 0x28]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
cmp word [rax + rcx*2], 0
jne 0x14009b1ba
mov rax, qword [rsp + 0x28]
movzx eax, word [rsp + rax*2 + 0x4e]
cmp eax, 0x5c
jne 0x14009b214
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
cmp word [rax + rcx*2], 0
jne 0x14009b1f2
mov rax, qword [rsp + 0x30]
xor ecx, ecx
mov word [rsp + rax*2 + 0x4e], cx
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x270]
call fcn.14008ec40
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x14009b370
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov ecx, listen
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000004
jne 0x14009b40f
cmp qword [rsp + 0x28], 0
je 0x14009b3d0
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov ecx, listen
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
jmp 0x14009b3ab
cmp dword [rsp + 0x30], 0
jge 0x14009b438
cmp qword [rsp + 0x28], 0
je 0x14009b431
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14009b553
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14009b451
xor eax, eax
jmp 0x14009b553
mov dword [rsp + 0x20], 0
jmp 0x14009b465
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x14009b53e
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x38]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14008ede0
mov rcx, qword [rsp + 0x90]
call fcn.14008ecc0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
call fcn.14008ecc0
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14009b52f
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x50], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x60]
call fcn.14008edb0
mov rax, qword [rsp + 0x58]
jmp 0x14009b553
lea rcx, [rsp + 0x60]
call fcn.14008edb0
jmp 0x14009b45b
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
add rsp, 0x88
ret
Function at 0x14009b6b0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
cmp byte [rax + rcx], 0
jne 0x14009b6d9
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], 0
jmp 0x14009b743
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x14009b809
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009b804
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
cmp byte [rax + rcx], 0
jne 0x14009b79f
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x48], rax
jne 0x14009b804
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0xc], 0
jne 0x14009b7cf
xor eax, eax
jmp 0x14009b80b
cmp qword [rsp + 0x90], 0
je 0x14009b7ec
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
jmp 0x14009b80b
jmp 0x14009b739
xor eax, eax
add rsp, 0x78
ret

Function at 0x1400a0c90
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov r8d, 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x70]
call fcn.14008ecc0
mov r8d, 4
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [rsp + 0x3c], 4
jne 0x1400a0d00
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x70]
call fcn.14008edb0
movzx eax, byte [rsp + 0x20]
jmp 0x1400a0d36
mov byte [rsp + 0x21], 0
mov rcx, qword [rsp + 0x70]
call fcn.14008edb0
movzx eax, byte [rsp + 0x21]
jmp 0x1400a0d36
add rsp, 0x68
ret
Function at 0x1400a0d40
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dl, 1
mov ecx, reloc.WS2_32.dll_send
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc0000420
call qword [sym.imp.ntdll.dll_NtRaiseHardError]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x48
ret

Function at 0x1400a4540
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0xa8
mov qword [rsp + 0x38], 0
cmp dword [rsp + 0xb0], 0
jl 0x1400a458a
cmp dword [rsp + 0xb0], 0x7c
jge 0x1400a458a
lea r8, [rsp + 0x38]
mov edx, dword [rsp + 0xb0]
lea rcx, [0x1401f0d30]
call fcn.1400a4500
lea rcx, [rsp + 0x50]
call fcn.14008ee60
nop
cmp qword [rsp + 0x38], 0
jne 0x1400a45c5
lea rdx, str.Select_Key
lea rcx, [rsp + 0x78]
call fcn.1400a46c0
mov rcx, rax
call fcn.1400a46f0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400982f0
jmp 0x1400a45d4
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.1400982f0
cmp dword [rsp + 0xc0], 1
jne 0x1400a4607
lea rdx, str.Press_key_to_bind
lea rcx, [rsp + 0x84]
call fcn.1400a4710
mov rcx, rax
call fcn.1400a4740
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400982f0
lea rdx, [rsp + 0x31]
lea rcx, [rsp + 0x30]
call fcn.1400a4760
mov rcx, rax
call fcn.1400dd420
mov rcx, rax
call fcn.14005c7d0
movss xmm1, dword [0x1401b9078]
xorps xmm0, xmm0
call fcn.1400282c0
movss xmm2, dword [0x1401b8d88]
movss xmm1, dword [0x1401b8e50]
lea rcx, [rsp + 0x70]
call fcn.1400054c0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
call fcn.14008ecc0
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.14005d9a0
movzx eax, al
test eax, eax
je 0x1400a46ab
cmp dword [rsp + 0xc0], 0
jne 0x1400a46ab
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xb8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.14008edb0
add rsp, 0xa8
ret
Function at 0x1400aa740
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rax, [rsp + 0x20]
mov qword [rsp + 8], rax
mov dword [rsp], 2
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
sub eax, 0x64a33579
xor eax, 0x203ca1db
shl eax, 0x1b
mov ecx, dword [rsp + 4]
sub ecx, 0x64a33579
xor ecx, 0x203ca1db
shr ecx, 5
or eax, ecx
mov rcx, qword [rsp + 8]
mov dword [rcx - 4], eax
mov eax, dword [rsp]
dec eax
mov dword [rsp], eax
cmp dword [rsp], 0
jne 0x1400aa764
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
add rsp, 0x38
ret
Function at 0x1400c94b0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1400c94de
xor eax, eax
jmp 0x1400c956e
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x130
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x130
mov byte [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400c9544
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x170]
call fcn.1400e53e0
movzx eax, al
test eax, eax
je 0x1400c9530
mov byte [rsp + 0x20], 1
jmp 0x1400c9544
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400c9510
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400c9562
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
jmp 0x1400c956a
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
add rsp, 0x160
pop rdi
ret
Function at 0x1400c98c0
Capabilities:
Enumerate gui resources

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1400e5ac0
lea rcx, [rsp + 0x20]
call fcn.1400c99d0
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1400c9922
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x1400c9922
cmp qword [rsp + 0x30], 0
je 0x1400c9922
mov rax, qword [rsp + 0x30]
jmp 0x1400c9924
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400ca750
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov eax, 1
mov word [rsp + 0x38], ax
mov eax, 2
mov word [rsp + 0x3a], ax
mov dword [rsp + 0x3c], 0x100
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, 1
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400ca7e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str.Failed_to_register_raw_input_devices._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140096a10
mov qword [rsp + 0x28], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov qword [rsp + 0x30], rax
lea rdx, [0x140096e70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
add rsp, 0x58
ret
Function at 0x1400d9310
Capabilities:
Create process on windows
Move file
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x340
mov r8d, 0x104
lea rdx, [rsp + 0x230]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x180]
call fcn.14008ede0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x160]
call fcn.14008ede0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x140187f9c]
mov rcx, qword [rsp + 0x70]
call fcn.1400debc0
mov qword [rsp + 0x78], rax
mov r9, qword [rsp + 0x78]
xor r8d, r8d
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x80]
call fcn.1400deb50
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
lea r8, [0x140187f4c]
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x120]
call fcn.1400e4d20
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0x350]
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0xc8]
call fcn.1400e4de0
nop
lea rcx, [rsp + 0x120]
call fcn.14008edb0
nop
lea rcx, [rsp + 0x140]
call fcn.14008edb0
nop
lea rcx, [rsp + 0x160]
call fcn.14008edb0
nop
lea rcx, [rsp + 0x180]
call fcn.14008edb0
lea rcx, [rsp + 0xc8]
call fcn.14008ecc0
mov rdx, rax
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x1400d95c8
mov dword [rsp + 0x1c0], WSAGetLastError
lea rax, [rsp + 0x1c8]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
lea r8, [rsp + 0xc8]
lea rdx, [0x140187fdc]
lea rcx, [rsp + 0x1a0]
call fcn.1400e5fc0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
lea r8, str.__restarted
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x100]
call fcn.1400e4d20
nop
lea rcx, [rsp + 0x1a0]
call fcn.14008edb0
lea rcx, [rsp + 0x100]
call fcn.14008ecc0
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0xc8]
call fcn.14008ecc0
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400d95ba
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [rsp + 0x100]
call fcn.14008edb0
nop
lea rcx, [rsp + 0xc8]
call fcn.14008edb0
add rsp, 0x340
pop rdi
ret
Function at 0x1400ed620
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [rsp + 0x68]
call fcn.140075000
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400f0500
nop
lea rax, [0x1400f0580]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.14008d7f0
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 0x1400ed6ad
lea rcx, [rsp + 0x30]
call fcn.140094670
jmp 0x1400ed6c5
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x30]
call fcn.1400ef6c0
add rsp, 0x58
ret

Function at 0x1400f47d0
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
movsx eax, byte [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
ret
Function at 0x1400f4bf0
Capabilities:
Execute command

Disassembly:
push rdi
sub rsp, 0x6f0
mov dword [rsp + 0x34], reloc.WS2_32.dll_recvfrom
call fcn.1400f5710
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x20]
call fcn.1400f4e80
mov rcx, rax
call fcn.1400f53b0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], 0
call fcn.1400f5720
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0xba]
lea rcx, [rsp + 0x21]
call fcn.1400f4eb0
mov rcx, rax
call fcn.1400f5390
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [rsp + 0x2c], 0
call fcn.1400f5730
mov qword [rsp + 0x70], rax
call fcn.1400f5740
call rax
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x2c]
mov rcx, qword [rsp + 0x68]
call qword [rsp + reloc.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x220]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
call fcn.1400f5750
call rax
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x250], 0x100010
call fcn.1400f5760
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x220]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x80]
test eax, eax
je 0x1400f4d51
cmp qword [rsp + 0x268], 0
jne 0x1400f4d49
cmp qword [rsp + 0x270], 0
jne 0x1400f4d49
cmp qword [rsp + 0x278], 0
jne 0x1400f4d49
cmp qword [rsp + 0x280], 0
jne 0x1400f4d49
cmp qword [rsp + 0x288], 0
jne 0x1400f4d49
cmp qword [rsp + 0x290], 0
je 0x1400f4d51
mov dword [rsp + 0x30], 1
call fcn.1400f56f0
mov qword [rsp + 0x88], rax
xor ecx, ecx
call qword [rsp + 0x88]
call fcn.1400f5700
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0xaa]
lea rcx, [rsp + 0x22]
call fcn.1400f4ee0
mov rcx, rax
call fcn.1400f53d0
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0x98]
lea rdx, [rsp + 0xf6]
lea rcx, [rsp + 0x23]
call fcn.1400f4f80
mov rcx, rax
call fcn.1400f5370
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [rsp + 0x123]
lea rcx, [rsp + 0x24]
call fcn.1400f5020
mov rcx, rax
call fcn.1400f5350
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [rsp + 0xd4]
lea rcx, [rsp + 0x25]
call fcn.1400f50c0
mov rcx, rax
call fcn.1400f5330
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [rsp + 0x151]
lea rcx, [rsp + 0x26]
call fcn.1400f5160
mov rcx, rax
call fcn.1400f5310
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x27]
call fcn.1400f5200
mov rcx, rax
call fcn.1400f52f0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x28]
call fcn.1400f52a0
mov rcx, rax
call fcn.1400f52d0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x6f0
pop rdi
ret
Function at 0x1400f58d0
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call fcn.1400f49d0
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400f4860
lea rcx, [rsp + 0x38]
call fcn.1400f48d0
movzx eax, al
test eax, eax
je 0x1400f5958
lea rcx, [rsp + 0x38]
call fcn.1400f4910
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x1400f5958
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400f4930
mov rcx, rax
call fcn.1400f5cf0
cmp eax, 0x53b2070f
jne 0x1400f5956
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400f4970
jmp 0x1400f596f
jmp 0x1400f5910
lea rcx, [rsp + 0x28]
call fcn.1400f4a40
movzx eax, al
test eax, eax
jne 0x1400f58de
xor eax, eax
add rsp, 0x58
ret

Function at 0x1400f5980
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call fcn.1400f49d0
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400f4860
lea rcx, [rsp + 0x38]
call fcn.1400f48d0
movzx eax, al
test eax, eax
je 0x1400f5a08
lea rcx, [rsp + 0x38]
call fcn.1400f4910
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x1400f5a08
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400f4930
mov rcx, rax
call fcn.1400f5cf0
cmp eax, 0xf8f45725
jne 0x1400f5a06
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400f4970
jmp 0x1400f5a1f
jmp 0x1400f59c0
lea rcx, [rsp + 0x28]
call fcn.1400f4a40
movzx eax, al
test eax, eax
jne 0x1400f598e
xor eax, eax
add rsp, 0x58
ret
Function at 0x1400f6260
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x1400f6294
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x7d]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x1400f6280
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x1400f62c1
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x1400f62e0
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x26], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400f62ee
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400ec030
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400f6365
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f6360
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f6360
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015697c
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret