joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180083ff0
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x1802e2c40]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x180084056
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180084039
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x180084033
shr ax, 8
cmp al, 2
je 0x180084056
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180134d40
add rsp, 0x1e8
ret
call fcn.1800a21a0
test eax, eax
jne 0x180084269
mov qword [rsp + 0x200], rsi
lea rcx, [0x180212168]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x180084096
mov qword [0x1802ebf88], rsi
jmp 0x180084224
mov qword [rsp + 0x1f0], rbx
lea rdx, str.LoadLibraryExA
mov rcx, rdi
mov qword [rsp + 0x1f8], rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rbx, str.iphlpapi.dll
mov rbp, rax
mov rcx, rbx
lea rdx, [0x180212188]
call fcn.1801c5d98
test rax, rax
je 0x1800840fc
mov rcx, rbx
test rbp, rbp
je 0x1800840ee
xor edx, edx
mov r8d, 8
call rbp
mov rsi, rax
jmp 0x1800841ec
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x1800841ec
test rbp, rbp
je 0x18008412b
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18008412b
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x1800841ec
xor edx, edx
mov qword [rsp + 0x1e0], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r14d, eax
test eax, eax
je 0x1800841e4
lea ecx, [rax + 1]
add rcx, 0xc
call qword [fcn.1801b063c]
mov rdi, rax
test rax, rax
je 0x1800841db
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800841db
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop word [rax + rax]
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x180084180
mov word [rax + rdi], 0x5c
inc rcx
cmp byte [rdi + rcx], sil
jne 0x180084191
mov rax, rdi
sub rax, rbx
add rcx, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1800841b0
mov rcx, rdi
test rbp, rbp
je 0x1800841d2
xor edx, edx
mov r8d, 8
call rbp
jmp 0x1800841d8
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1801ae104]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x1802ebf88], rsi
test rsi, rsi
je 0x180084224
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180084224
mov qword [0x1802ebf80], rax
mov r9d, 2
mov dword [rsp + 0x20], 3
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.1800a1d50
test al, al
lea rcx, [0x1802ee8b0]
setne byte [0x1802ee8a8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rdi, qword [rsp + 0x208]
xor eax, eax
mov rsi, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180134d40
add rsp, 0x1e8
ret
Function at 0x180092e20
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1802e2c40]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rsi, rdx
mov r13, rcx
cmp r8, 4
jb 0x180092fbe
inc rsi
lea rdx, str.0123456789abcdefABCDEF:.
mov rcx, rsi
sub rdi, 2
call fcn.1801b8800
cmp rdi, rax
je 0x180092f2d
cmp byte [rsi + rax], 0x25
lea r14, [rsi + rax]
mov rdi, rax
jne 0x180092fbe
mov r8d, 2
lea rdx, [0x180217210]
lea rcx, [r14 + 1]
xor ebp, ebp
lea rbx, [r14 + 1]
call fcn.1801b6ed0
test eax, eax
jne 0x180092eb4
movzx eax, byte [r14 + 3]
lea rcx, [r14 + 3]
test al, al
je 0x180092eb4
cmp al, 0x5d
cmovne rbx, rcx
movzx edx, byte [rbx]
test dl, dl
je 0x180092fbe
mov rax, rbp
movzx ecx, dl
cmp dl, 0x5d
je 0x180092ee6
cmp rax, 0xf
jge 0x180092ee6
inc rbx
mov byte [rsp + rax + 0x20], cl
inc ebp
inc rax
movzx ecx, byte [rbx]
movzx edx, cl
test cl, cl
jne 0x180092ec5
test ebp, ebp
je 0x180092fbe
cmp byte [rbx], 0x5d
jne 0x180092fbe
movsxd rax, ebp
cmp rax, 0x10
jae 0x180092fdf
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0
call qword [case.0x180074000.1]
mov qword [r13 + 0x28], rax
test rax, rax
jne 0x180092f27
mov eax, 7
jmp 0x180092fc3
mov word [r14], 0x5d
lea r8, [rsp + 0x20]
mov byte [rdi + rsi], 0
mov rdx, rsi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x180092fbe
mov r9d, 0x2e
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_socket
call sub.WS2_32.dll_inet_ntop
test rax, rax
je 0x180092fb6
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x180092f74
cmp rdx, rdi
jae 0x180092fb6
lea rax, [rsp + 0x30]
mov r8, rsi
sub r8, rax
lea rcx, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x180092fa0
mov rdi, rdx
mov byte [rdx + rsi + 1], al
mov byte [rdi + rsi], 0x5d
xor eax, eax
jmp 0x180092fc3
mov eax, socket
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180134d40
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18013527c
int3
Function at 0x1800a0a60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [0x1802e2c40]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword [rcx]
mov rdi, rcx
mov rsi, r9
mov rbp, r8
mov rcx, qword [rax + 0x10]
mov dword [r9], 0
xor r9d, r9d
mov rcx, qword [rcx + 0x98]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
jne 0x1800a0b01
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x1800a0ac5
mov dword [rsi], 0x51
jmp 0x1800a0afa
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.180087dd0
mov rcx, qword [rdi + 8]
lea rdx, str.Recv_failure:__s
mov r8, rax
call fcn.180081060
mov rax, qword [rdi + 8]
mov dword [rax + 0xcfc], ebx
mov dword [rsi], 0x38
mov rbx, 0xffffffffffffffff
mov edx, dword [rsi]
lea r8, str.nw_in_read_len_zu______d__err_d
mov rcx, qword [rdi + 8]
mov r9, rbp
mov dword [rsp + 0x28], edx
mov rdx, qword [rdi]
mov dword [rsp + 0x20], ebx
call fcn.1800811f0
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180134d40
add rsp, 0x148
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1800a0b40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x1802e2c40]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [rdx + 0x20]
mov rsi, rdx
mov rbx, qword [rcx + 0x10]
mov rcx, qword [rax + 0x2e8]
test dword [rcx + 0x84], 0x800
jne 0x1800a0c81
mov rcx, qword [rbx + 0x98]
lea r8, [rsp + 0x20]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
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 0x1800a0c11
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.180087dd0
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.180081060
mov eax, 2
jmp 0x1800a0c83
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x144]
lea r8, [rbx + 0x114]
lea rcx, [rsp + 0x30]
call fcn.180082940
test al, al
jne 0x1800a0c81
mov qword [rsp + 0x1e0], rdi
call fcn.1801810d8
mov ebx, dword [rax]
call fcn.1801810d8
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.180087dd0
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.180081060
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x1800a0c83
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.180134d40
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x1800a2cd0
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 [0x1802e2c40]
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.0x180074000.1
mov r13, rax
test rax, rax
jne 0x1800a2d50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.180087f00
mov r9, rax
lea rdx, str.schannel:_invalid_path_name_for_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.180081060
xor ecx, ecx
mov ebx, 0x4d
call qword [fcn.1801ae104]
jmp 0x1800a2f08
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 0x1800a2dc6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.180087f00
mov r9, rax
lea rdx, str.schannel:_failed_to_open_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.180081060
xor ecx, ecx
mov ebx, 0x4d
jmp 0x1800a2ef2
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1800a2e0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.180087f00
mov r9, rax
lea rdx, str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.180081060
mov ebx, 0x4d
jmp 0x1800a2ee6
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x1800a2e44
mov r8d, 0x100000
lea rdx, str.schannel:_CA_file_exceeds_max_size_of__u_bytes
mov rcx, r15
call fcn.180081060
mov ebx, 0x4d
jmp 0x1800a2ede
lea rcx, [rdi + 1]
call qword [fcn.1801b063c]
mov rbp, rax
test rax, rax
jne 0x1800a2e60
mov ebx, 0x1b
jmp 0x1800a2ede
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x1800a2eb8
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 0x1800a2f2a
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x1800a2eaf
mov edi, esi
jmp 0x1800a2eb1
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x1800a2e70
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.1800a2a40
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.1801ae104]
mov rcx, r13
call fcn.1801ae104
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180134d40
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.180087f00
mov r9, rax
lea rdx, str.schannel:_failed_to_read_from_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.180081060
mov ebx, 0x4d
jmp 0x1800a2ed6
Function at 0x1800ae620
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1802e2c40]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1800ae66c
mov eax, 0x1b
jmp 0x1800ae73f
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1800ae6b0
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x1800ae73f
mov rcx, rbp
call fcn.18006b1c0
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov edx, 2
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x1800ae71b
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1800ae72b
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1800ae73d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180134d40
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800b2250
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rax, qword [0x1802e2c40]
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 0x1800b228e
mov rax, qword [rbx + 0x30]
jmp 0x1800b23f9
cmp qword [rcx + 0x30], 7
lea rdx, [rcx + 0x18]
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
jbe 0x1800b22aa
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.180003800
lea rcx, [rsp + 0x28]
call fcn.18001b550
mov rdx, qword [rsp + 0x40]
movzx esi, al
cmp rdx, 7
jbe 0x1800b2319
mov rcx, qword [rsp + 0x28]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b2314
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b2415
call fcn.180134688
cmp qword [rbx + 0x30], r14
je 0x1800b2378
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 0x1800b2358
mov rdx, qword [rbp + 0x18]
psrldq xmm0, 8
movq rcx, xmm0
call fcn.1801c7f14
test eax, eax
je 0x1800b240f
mov rbx, qword [rbx]
cmp qword [rbx + 0x30], r14
jne 0x1800b2330
xorps xmm0, xmm0
mov qword [rsp + 0x38], r14
mov ecx, 0x30
mov qword [rsp + 0x40], r14
movups xmmword [rsp + 0x28], xmm0
call fcn.18013464c
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 [0x18021b840]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x18021b850]
movsd qword [rax + 0x20], xmm0
movzx ecx, byte [0x18021b858]
mov byte [rax + 0x28], cl
lea rcx, [rsp + 0x28]
mov byte [rax + 0x29], r14b
call fcn.1800afb70
xor eax, eax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180134d40
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
mov rax, qword [rbx + 0x30]
jmp 0x1800b23ec
call fcn.180180f08
int3
Function at 0x1800c5900
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1802e2c40]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx ebp, dl
mov rsi, rcx
xor ebx, ebx
lea rdx, [rcx + 0x60]
lea rcx, [rsp + 0x28]
call fcn.1800112b0
nop
mov r14d, ebx
mov rdi, qword [rsi + 0x38]
sub rdi, qword [rsi + 0x30]
je 0x1800c59b2
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x1800c5b49
cmp rdi, 0x1000
jb 0x1800c5990
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1800c5b4f
call fcn.18013464c
test rax, rax
je 0x1800c5b43
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1800c599b
mov rcx, rdi
call fcn.18013464c
mov rbx, rax
lea r14, [rbx + rdi]
mov r8, qword [rsi + 0x38]
mov rdx, qword [rsi + 0x30]
sub r8, rdx
mov rcx, rbx
call fcn.1801f5800
mov rax, qword [rsi + 0x38]
sub rax, qword [rsi + 0x30]
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
cmp rax, 1
jne 0x1800c59cf
cmp byte [rbx], 0xcc
jmp 0x1800c59de
cmp rax, 2
jb 0x1800c59e4
cmp byte [rbx], 0xf3
jne 0x1800c59e4
cmp byte [rbx + 1], 0xc3
je 0x1800c5b3b
lea rcx, [rsp + 0x28]
cmp r15, 0xf
cmova rcx, rdi
mov rsi, qword [rsp + 0x38]
cmp rsi, 3
jne 0x1800c5a18
mov r8, rsi
lea rdx, [0x18021bc04]
call fcn.1801f5700
test eax, eax
jne 0x1800c5a18
test bpl, bpl
je 0x1800c5b3b
lea rcx, [rsp + 0x28]
cmp r15, 0xf
cmova rcx, rdi
cmp rsi, 3
jne 0x1800c5a42
mov r8, rsi
lea rdx, [0x18021b6bc]
call fcn.1801f5700
test eax, eax
je 0x1800c5b3b
lea rbp, [rsp + 0x28]
cmp r15, 0xf
cmova rbp, rdi
cmp rsi, 4
jb 0x1800c5a9c
lea r8, [rsi - 3]
add r8, rbp
sub r8, rbp
mov edx, 0x69
mov rcx, rbp
call fcn.1801f6240
test rax, rax
je 0x1800c5a9c
cmp dword [rax], 0x74657269
je 0x1800c5b32
inc rax
lea r8, [rsi - 3]
add r8, rbp
sub r8, rax
mov edx, 0x69
mov rcx, rax
call fcn.1801f6240
test rax, rax
jne 0x1800c5a71
xor sil, sil
test rbx, rbx
je 0x1800c5ad4
sub r14, rbx
cmp r14, 0x1000
jb 0x1800c5ac8
add r14, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1800c5b43
mov rbx, rcx
mov rdx, r14
mov rcx, rbx
call fcn.180134688
nop
cmp r15, 0xf
jbe 0x1800c5b07
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800c5aff
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c5b55
mov rcx, rdi
call fcn.180134688
movzx eax, sil
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180134d40
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
cmp rax, rbp
jne 0x1800c5a9c
mov sil, 1
jmp 0x1800c5a9f
call fcn.180180f08
int3
call fcn.180016100
int3
call fcn.180015bf0
nop
call fcn.180180f08
int3
Function at 0x1800e3530
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov eax, dword [0x1802ec0b8]
xor ecx, ecx
test al, 1
jne 0x1800e35ac
xorps xmm1, xmm1
mov dword [0x1802ec020], ecx
xorps xmm0, xmm0
mov qword [0x1802ec024], rcx
or eax, 1
mov qword [0x1802ec02c], rcx
mov dword [0x1802ec0b8], eax
movups xmmword [0x1802ec044], xmm0
mov qword [0x1802ec034], rcx
movups xmmword [0x1802ec054], xmm1
mov qword [0x1802ec03c], rcx
movups xmmword [0x1802ec064], xmm1
movups xmmword [0x1802ec074], xmm1
movups xmmword [0x1802ec084], xmm1
movups xmmword [0x1802ec098], xmm0
movups xmmword [0x1802ec0a8], xmm0
mov eax, dword [0x1802ec01c]
test eax, eax
jne 0x1800e3687
xorps xmm1, xmm1
mov qword [rbp - 0x75], rcx
xorps xmm0, xmm0
mov qword [rbp - 0x6d], rcx
mov qword [rbp - 0x65], rcx
mov qword [rbp - 0x5d], rcx
lea rcx, [rbp - 0x79]
movups xmmword [rbp - 0x55], xmm0
mov dword [rbp - 0x79], 2
movups xmmword [rbp - 0x45], xmm1
movups xmmword [rbp - 0x35], xmm1
movups xmmword [rbp - 0x25], xmm1
movups xmmword [rbp - 0x15], xmm1
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
call fcn.1800e2830
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movaps xmm0, xmmword [rbp - 0x79]
movaps xmm1, xmmword [rbp - 0x69]
mov eax, dword [rbp + 0x47]
movaps xmmword [0x1802ec020], xmm0
movaps xmmword [0x1802ec030], xmm1
movaps xmm1, xmmword [rbp - 0x49]
movaps xmmword [0x1802ec050], xmm1
movaps xmm1, xmmword [rbp - 0x29]
mov dword [rbp - 0x59], eax
mov eax, 1
movaps xmm0, xmmword [rbp - 0x59]
movaps xmmword [0x1802ec040], xmm0
movaps xmm0, xmmword [rbp - 0x39]
movaps xmmword [0x1802ec060], xmm0
movaps xmm0, xmmword [rbp - 0x19]
movaps xmmword [0x1802ec070], xmm1
movaps xmm1, xmmword [rbp - 9]
movaps xmmword [0x1802ec080], xmm0
movaps xmm0, xmmword [rbp + 7]
movaps xmmword [0x1802ec090], xmm1
movsd xmm1, qword [rbp + 0x17]
movaps xmmword [0x1802ec0a0], xmm0
movsd qword [0x1802ec0b0], xmm1
xchg dword [0x1802ec01c], eax
lea rax, [0x1802ec020]
add rsp, 0xf0
pop rbp
ret

Function at 0x1800eb4e0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x1802ec0bc]
nop
test eax, eax
jne 0x1800eb547
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
mov qword [0x1802ec0c0], rax
mov eax, 1
xchg dword [0x1802ec0bc], eax
mov rax, qword [0x1802ec0c0]
add rsp, 0x58
ret
Function at 0x180119df0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1802e2c40]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [rsp + 0x48]
call fcn.1800112b0
nop
lea r8, [rsp + 0x48]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp r15, 0xf
cmova r8, r14
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x180119e84
movabs r9, 0x100000001b3
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x180119e70
mov rcx, qword [r13 + 0x120]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x108]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 0xf8]
je 0x180119eeb
mov rsi, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180119ec2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x48]
cmp r15, 0xf
cmova rcx, r14
cmp rdi, rax
jne 0x180119ee0
mov r8, rdi
call fcn.1801f5700
test eax, eax
je 0x180119eed
cmp rbx, rsi
je 0x180119eeb
mov rbx, qword [rbx + 8]
jmp 0x180119eb0
xor ebx, ebx
test rbx, rbx
cmove rbx, qword [r13 + 0xf8]
lea r8, [rsp + 0x48]
cmp rbx, qword [r13 + 0xf8]
jne 0x180119fe4
lea rcx, [r13 + 0xf0]
lea rdx, [rsp + 0x28]
call fcn.180107b00
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, r12
call fcn.18010f6a0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x180119f64
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180119f5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180119fde
call fcn.180134688
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x180119fb1
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180119fb1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180119fb1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180134d40
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.180180f08
nop
lea rdx, str.logger_with_name_
lea rcx, [rsp + 0x68]
call fcn.18005a480
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18005f2a0
mov rcx, rax
call fcn.18011bb30
int3