joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180099be0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x1802da580]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
mov rax, rdx
mov rbx, r8
mov rsi, rcx
lea r8, [rsp + 0x20]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rdi, r9
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x180099c93
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.1800a3170
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.180098df0
jmp 0x180099d5b
movzx ecx, word [rsp + 0x30]
mov edx, ecx
sub edx, 1
je 0x180099d30
sub edx, 1
je 0x180099cda
cmp edx, 0x15
jne 0x180099ce1
lea rdx, [rsp + 0x38]
mov r8, rbx
mov r9d, 0x2e
call fcn.1800b52c0
test rax, rax
je 0x180099ce1
movzx ecx, word [rsp + 0x32]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rdi], eax
jmp 0x180099d5b
lea rdx, [rsp + 0x34]
jmp 0x180099cb2
mov byte [rbx], 0
mov dword [rdi], 0
call fcn.18017ee48
mov dword [rax], 0x273f
call fcn.18017ee48
mov ebx, dword [rax]
call fcn.18017ee48
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.1800a3170
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.180098df0
jmp 0x180099d5b
cmp dword [rsp + 0x20], 2
jle 0x180099d52
lea r9, [rsp + 0x32]
mov edx, 0x2e
lea r8, [0x18020ffa0]
mov rcx, rbx
call fcn.18009c530
jmp 0x180099d55
mov byte [rbx], 0
mov dword [rdi], 0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.180132a90
add rsp, 0x1c0
pop rdi
pop rsi
pop rbx
ret
Function at 0x18009bd90
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x1802106b8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x18009bdba
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExA
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1802106d8]
mov rcx, rbx
mov r14, rax
call fcn.1801bf0b8
test rax, rax
je 0x18009be1b
mov rcx, rbx
test r14, r14
je 0x18009be08
xor edx, edx
mov r8d, 8
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test r14, r14
je 0x18009be52
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18009be52
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x18009bf1a
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x18009be80
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.1801ade34]
mov rsi, rax
test rax, rax
je 0x18009bf0c
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x18009bf0c
mov rax, rdi
cmp byte [rsi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x18009beb0
mov word [rax + rsi], 0x5c
inc rdi
cmp byte [rsi + rdi], bpl
jne 0x18009bec1
mov rax, rsi
sub rax, rbx
add rdi, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rdi + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x18009bee0
mov rcx, rsi
test r14, r14
je 0x18009bf03
xor edx, edx
mov r8d, 8
call r14
jmp 0x18009bf09
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rsi
call qword [fcn.1801ab95c]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800a1520
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [fcn.1801ab970]
mov rdi, rax
test rax, rax
je 0x1800a159d
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x1800a15c8
cmp ebx, esi
je 0x1800a15c8
cmp ebx, 0x8000
ja 0x1800a15c8
cmp ebx, esi
jb 0x1800a15c3
mov edx, ebx
mov rcx, rdi
call qword [fcn.1801ab970]
mov rdi, rax
test rax, rax
jne 0x1800a1560
mov rcx, rbp
call qword [fcn.1801ab95c]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x1800a15a8
mov rcx, rdi
jmp 0x1800a15a0

Function at 0x1800a4f10
Capabilities:
Convert ip address from string

Disassembly:
cmp qword [rsp + 0x28], 0
mov qword [r9], 0
jge 0x1800a4f25
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.1800a4a70

Function at 0x1800a5ab0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.1800add00
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x18008aa79.0
mov rcx, rdi
mov rsi, rax
call case.0x18008aa79.0
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x1800a5b60
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1800add00
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1800add90
cmp rax, 0x3e8
ja 0x1800a5b91
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x1800a5b10
test rsi, rsi
je 0x1800a5b6d
mov rcx, rsi
call fcn.1801ab95c
test rbx, rbx
je 0x1800a5b7a
mov rcx, rbx
call fcn.1801ab95c
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x1800a5b9e
mov rcx, rsi
call fcn.1801ab95c
test rbx, rbx
je 0x1800a5bab
mov rcx, rbx
call fcn.1801ab95c
mov eax, 1
jmp 0x1800a5b7c
Function at 0x1800acce0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rdi
push r13
push r14
sub rsp, 0x68
mov rax, qword [0x1802da580]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rdx
mov r13, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1800acd07
mov qword [rsp + 0xa0], rbp
xor r14d, r14d
cmp byte [rdx], 0x5b
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r15
jne 0x1800ace83
cmp rbx, 4
jb 0x1800ace97
inc rdi
sub rbx, 2
cmp byte [rdi + rbx], 0x5d
jne 0x1800ace97
lea rdx, str.0123456789abcdefABCDEF:.
mov rcx, rdi
call fcn.1801c44b0
cmp rbx, rax
je 0x1800ace25
cmp byte [rdi + rax], 0x25
lea r15, [rdi + rax]
mov rbx, rax
jne 0x1800ace97
mov r8d, 2
lea rdx, [0x1802153ac]
lea rcx, [r15 + 1]
mov ebp, r14d
lea rsi, [r15 + 1]
call fcn.1801b10b0
test eax, eax
jne 0x1800acdab
movzx eax, byte [r15 + 3]
lea rcx, [r15 + 3]
test al, al
je 0x1800acdab
cmp al, 0x5d
cmovne rsi, rcx
movzx edx, byte [rsi]
test dl, dl
je 0x1800ace97
mov rax, r14
movzx ecx, dl
nop dword [rax]
cmp dl, 0x5d
je 0x1800acde1
cmp rax, 0xf
jge 0x1800acde1
inc rsi
mov byte [rsp + rax + 0x20], cl
inc ebp
inc rax
movzx ecx, byte [rsi]
movzx edx, cl
test cl, cl
jne 0x1800acdc0
test ebp, ebp
je 0x1800ace97
cmp byte [rsi], 0x5d
jne 0x1800ace97
movsxd rax, ebp
cmp rax, 0x10
jae 0x1800ace9e
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], r14b
call qword [case.0x18008aa79.0]
mov qword [r13 + 0x28], rax
test rax, rax
jne 0x1800ace1f
mov eax, 7
jmp 0x1800ace54
mov word [r15], 0x5d
lea r8, [rsp + 0x30]
mov byte [rdi + rbx], r14b
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1800ace97
mov byte [rdi + rbx], 0x5d
cmp byte [rdi], r14b
mov eax, select
cmove r14d, eax
mov eax, r14d
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180132a90
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rbx
ret
lea rdx, [0x1802153b0]
mov rcx, rdi
call fcn.1801c3bb0
cmp rbx, rax
je 0x1800ace45
mov eax, 3
jmp 0x1800ace54
call fcn.180132fcc
int3
Function at 0x1800ae0a0
Capabilities:
Resolve dns

Disassembly:
push rbp
push rdi
push r12
push r13
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor ebp, ebp
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x1800ae23f
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x1800ae21f
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x20], r15
nop dword [rax]
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1800ae10e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800ae100
inc rbx
jmp 0x1800ae110
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1800ae120
mov r15d, reloc.WS2_32.dll_recv
jmp 0x1800ae12f
cmp eax, 0x17
jne 0x1800ae1c8
mov r15d, 0x1c
cmp qword [rsi + 0x20], 0
je 0x1800ae1c8
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1800ae1c8
cmp rax, r15
jb 0x1800ae1c8
lea rcx, [rbx + 0x30]
add rcx, r15
call qword [fcn.1801ade34]
mov r14, rax
test rax, rax
je 0x1800ae1d7
mov ecx, dword [rsi]
mov r8, r15
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [r14 + 0x30]
mov dword [rax + 0x10], r15d
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call fcn.1801f2e10
test rbx, rbx
je 0x1800ae1b5
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, r15
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.1801f2e10
test rdi, rdi
cmove rdi, r14
test rbp, rbp
je 0x1800ae1c5
mov qword [rbp + 0x28], r14
mov rbp, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1800ae0f0
jmp 0x1800ae1dd
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x60]
test rcx, rcx
je 0x1800ae1f7
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x1800ae21a
test rdi, rdi
je 0x1800ae216
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.1801ab95c]
mov rdi, rbx
test rbx, rbx
jne 0x1800ae201
xor edi, edi
jmp 0x1800ae22e
test rdi, rdi
jne 0x1800ae22e
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x58]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x1800b5150
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call fcn.1801b0674
test rax, rax
je 0x1800b5186
cmp rax, 0xffffffffffffffff
cmovne rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
add rsp, 0x30
pop rbx
ret
Function at 0x1800b77a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x180
mov rax, qword [0x1802da580]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x50], rcx
mov r15, r8
mov rcx, rdx
mov r12, rdx
xor ebp, ebp
xor ebx, ebx
call case.0x18008aa79.0
mov r13, rax
test rax, rax
jne 0x1800b7820
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1800a32a0
mov r9, rax
lea rdx, str.schannel:_invalid_path_name_for_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.180098df0
xor ecx, ecx
mov ebx, 0x4d
call qword [fcn.1801ab95c]
jmp 0x1800b79d8
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov r8d, 1
mov dword [rsp + 0x20], 3
mov rcx, r13
mov qword [rsp + 0x170], r14
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1800b7896
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1800a32a0
mov r9, rax
lea rdx, str.schannel:_failed_to_open_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.180098df0
xor ecx, ecx
mov ebx, 0x4d
jmp 0x1800b79c2
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1800b78df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1800a32a0
mov r9, rax
lea rdx, str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.180098df0
mov ebx, 0x4d
jmp 0x1800b79b6
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x1800b7914
mov r8d, 0x100000
lea rdx, str.schannel:_CA_file_exceeds_max_size_of__u_bytes
mov rcx, r15
call fcn.180098df0
mov ebx, 0x4d
jmp 0x1800b79ae
lea rcx, [rdi + 1]
call qword [fcn.1801ade34]
mov rbp, rax
test rax, rax
jne 0x1800b7930
mov ebx, 0x1b
jmp 0x1800b79ae
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x1800b7988
nop dword [rax]
mov r8d, edi
mov dword [rsp + 0x40], 0
sub r8d, ebx
mov esi, ebx
lea rdx, [rbx + rbp]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800b79fa
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x1800b797f
mov edi, esi
jmp 0x1800b7981
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x1800b7940
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, rdi
mov byte [rdi + rbp], 0
mov rdx, rbp
mov qword [rsp + 0x20], r15
call fcn.1800b7510
mov ebx, eax
mov rsi, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [fcn.1801ab95c]
mov rcx, r13
call fcn.1801ab95c
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180132a90
add rsp, 0x180
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1800a32a0
mov r9, rax
lea rdx, str.schannel:_failed_to_read_from_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.180098df0
mov ebx, 0x4d
jmp 0x1800b79a6
Function at 0x1800bf760
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov rsi, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [fcn.1801ade34]
mov rbx, rax
test rax, rax
jne 0x1800bf7a3
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rdi
mov qword [rbx + 0x10], rax
lea rdi, [rbp + 8]
mov qword [rsp + 0x50], r14
cmp r15d, dword [rbp + 0x1c]
jbe 0x1800bf7f0
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, rsi
call qword [rdi]
mov esi, dword [rbp + 0x18]
add rsi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rsi
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor r14d, r14d
test r15, r15
je 0x1800bf852
mov r14, r15
nop dword [rax]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rdi]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea rsi, [rsi + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rdi]
sub r15, 1
jne 0x1800bf810
lea rdi, [rbp + 8]
mov eax, dword [rbp + 0x1c]
cmp r14, rax
jae 0x1800bf891
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x180218905]
mov r8d, 1
call qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x180218906]
mov r8d, 1
call qword [rdi]
mov eax, dword [rbp + 0x1c]
inc r14
cmp r14, rax
jb 0x1800bf860
mov r14, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
Function at 0x1800c38a0
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rax, qword [0x1802da580]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword gs:[0x60]
xor r14d, r14d
mov rbp, rcx
mov rdx, qword [rax + 0x18]
mov rbx, qword [rdx + 0x10]
cmp qword [rcx + 0x28], r14
jne 0x1800c38de
mov rax, qword [rbx + 0x30]
jmp 0x1800c3a49
cmp qword [rcx + 0x30], 7
lea rdx, [rcx + 0x18]
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
jbe 0x1800c38fa
mov rdx, qword [rcx + 0x18]
mov r8, qword [rcx + 0x28]
xorps xmm0, xmm0
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x38], r14
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x40], r14
call fcn.180003870
lea rcx, [rsp + 0x28]
call fcn.18002a7d0
mov rdx, qword [rsp + 0x40]
movzx esi, al
cmp rdx, 7
jbe 0x1800c3969
mov rcx, qword [rsp + 0x28]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c3964
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c3a65
call fcn.1801323d8
cmp qword [rbx + 0x30], r14
je 0x1800c39c8
xor rsi, 1
add rsi, rsi
nop word [rax + rax]
movups xmm0, xmmword [rbx + rsi*8 + 0x48]
lea rdx, [rbp + 0x18]
movd eax, xmm0
movzx r8d, ax
shr r8, 1
cmp qword [rbp + 0x28], r8
cmovb r8, qword [rbp + 0x28]
cmp qword [rbp + 0x30], 7
jbe 0x1800c39a8
mov rdx, qword [rbp + 0x18]
psrldq xmm0, 8
movq rcx, xmm0
call fcn.1801c647c
test eax, eax
je 0x1800c3a5f
mov rbx, qword [rbx]
cmp qword [rbx + 0x30], r14
jne 0x1800c3980
xorps xmm0, xmm0
mov qword [rsp + 0x38], r14
mov ecx, 0x30
mov qword [rsp + 0x40], r14
movups xmmword [rsp + 0x28], xmm0
call fcn.18013239c
movups xmm0, xmmword [str.EAT__Failed_to_automatically_find_module]
mov qword [rsp + 0x28], rax
mov edx, 2
mov qword [rsp + 0x38], 0x29
mov qword [rsp + 0x40], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x180218c80]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x180218c90]
movsd qword [rax + 0x20], xmm0
movzx ecx, byte [0x180218c98]
mov byte [rax + 0x28], cl
lea rcx, [rsp + 0x28]
mov byte [rax + 0x29], r14b
call fcn.1800c0e90
xor eax, eax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180132a90
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
mov rax, qword [rbx + 0x30]
jmp 0x1800c3a3c
call fcn.18017ec78
int3
Function at 0x1800d3620
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0xa0
xorps xmm0, xmm0
mov qword [rax - 0x68], 0
mov rbx, rcx
mov rsi, r8
lea rcx, [rax - 0x40]
mov rdi, rdx
movups xmmword [rax - 0x40], xmm0
movups xmmword [rax - 0x30], xmm0
movups xmmword [rax - 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp rbx, qword [rsp + 0x70]
lea rcx, [rdi - 1]
mov rax, qword [rsp + 0x40]
cmovb rbx, qword [rsp + 0x70]
cmp rcx, qword [rsp + 0x78]
mov qword [rsp + 0x60], 0
cmova rcx, qword [rsp + 0x78]
and rax, 0xffffffffffffff01
or rax, 1
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x40], rax
lea rcx, [0x1802199e0]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1800d36fd
lea rdx, str.VirtualAlloc2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 1
mov r9d, 0x3000
mov rcx, rax
mov r8, rsi
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x1800d3730
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x80
xorps xmm0, xmm0
mov rbx, rcx
lea rcx, [rax - 0x38]
mov rsi, r8
movups xmmword [rax - 0x38], xmm0
mov rbp, rdx
movups xmmword [rax - 0x28], xmm0
movups xmmword [rax - 0x18], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp rbx, rbp
jae 0x1800d3805
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800d3805
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x1800d37f4
cmp rcx, rsi
jb 0x1800d37f4
mov rdi, qword [rsp + 0x20]
xor edx, edx
mov ecx, dword [rsp + 0x78]
mov rax, rdi
div rcx
test rdx, rdx
je 0x1800d37bb
sub rdi, rdx
add rdi, rcx
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800d3807
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
jne 0x1800d37ea
add rbx, rsi
jmp 0x1800d37fc
mov rbx, qword [rsp + 0x38]
add rbx, rdi
jmp 0x1800d37fc
mov rbx, qword [rsp + 0x20]
add rbx, rcx
cmp rbx, rbp
jb 0x1800d3772
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800d3ea0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
mov r8, qword [r9 + 8]
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov r11, qword [rdx + 8]
mov rbx, r11
cmp r11, r8
je 0x1800d3f54
mov rax, qword [r10]
mov rcx, qword [rdx]
cmp rax, qword [r11 + 0x10]
je 0x1800d3f56
cmp rbx, rcx
je 0x1800d3f54
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x1800d3f43
jmp 0x1800d3f56
xor ebx, ebx
test rbx, rbx
je 0x1800d4001
mov rax, qword [rdx]
mov qword [rsp + 0x38], rdi
cmp r11, rbx
jne 0x1800d3f84
cmp rax, rbx
jne 0x1800d3f7a
mov qword [rdx], r8
mov qword [rdx + 8], r8
jmp 0x1800d3f8f
mov r8, qword [rbx + 8]
mov qword [rdx + 8], r8
jmp 0x1800d3f8f
cmp rax, rbx
jne 0x1800d3f8f
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1800d3fe4
mov qword [rsp + 0x30], rsi
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1800d3fdf
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1800d3fdf
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x30]
mov edx, 0x28
mov rcx, rbx
call fcn.1801323d8
mov rdi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret