joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007b0e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14007b122
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14007b169
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14007b1c2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14007b180
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14007b203
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008e60a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008e60b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14007b1d0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14007b220
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14007b25a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007b25f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14007b2a8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14007b2a8
dec r8
sub rdx, 1
jne 0x14007b28e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140011023
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x140015260
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x2d0
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2f8]
mov rax, qword [0x140024040]
xor rax, rbp
mov qword [rbp + 0x298], rax
lea rcx, [0x14002a0f6]
call fcn.14001157d
nop
mov dword [rbp + 0x194], socket
lea rax, [rbp + 0x194]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x2c8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x144
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x2c0]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rbp + 0x174], eax
lea rax, [rbp + 0x1b8]
mov rdi, rax
mov rsi, qword [rbp + 0x2c8]
mov ecx, select
rep movsb byte [rdi], byte [rsi]
cmp dword [rbp + 0x174], 0xffffffff
jne 0x140015363
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x274c
jne 0x140015332
lea rcx, [0x1400204f0]
call fcn.1400112a3
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp + 0x294], eax
mov ecx, dword [rbp + 0x1bc]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [rbp + 0x294]
mov r8d, ecx
mov rdx, rax
lea rcx, [0x140020500]
call fcn.1400112a3
nop
mov rax, qword [rbp + 0x2d0]
movzx ecx, byte [rbp + 0x18]
mov byte [rax], cl
mov eax, dword [rbp + 0x30]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1400114bf
mov eax, edi
mov rcx, qword [rbp + 0x298]
xor rcx, rbp
call fcn.1400112bc
lea rsp, [rbp + 0x2a0]
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001109b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140015950
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
mov rax, qword [0x140024040]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x14002a0f6]
call fcn.14001157d
nop
mov eax, dword [rbp + 0x188]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x64], 0
cmp dword [rbp + 4], 1
jle 0x1400159ce
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x64]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x28]
add rax, 2
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 4]
sub eax, 2
mov dword [rbp + 4], eax
jmp 0x1400159a0
cmp dword [rbp + 4], 1
jne 0x1400159fb
xor eax, eax
mov word [rbp + 0x84], ax
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x84], al
movzx eax, word [rbp + 0x84]
mov ecx, dword [rbp + 0x64]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
sar eax, 0x10
mov ecx, dword [rbp + 0x64]
and ecx, 0xffff
add eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
sar eax, 0x10
mov ecx, dword [rbp + 0x64]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
not eax
mov word [rbp + 0x44], ax
movzx eax, word [rbp + 0x44]
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400112bc
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x1400110c8
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x140015400
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x140
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
lea rcx, [0x14002a0f6]
call fcn.14001157d
nop
mov byte [0x140024480], 8
mov byte [0x140024481], 0
xor eax, eax
mov word [0x140024482], ax
movzx eax, word [section..data]
mov word [0x140024484], ax
mov eax, dword [section..data]
inc eax
mov dword [section..data], eax
movzx eax, word [0x140024004]
mov word [0x140024486], ax
mov eax, dword [0x140024004]
inc eax
mov dword [0x140024004], eax
mov dword [rbp + 4], 0
jmp 0x14001549f
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x20
jge 0x1400154bb
mov eax, dword [rbp + 4]
add eax, 0x20
movsxd rcx, dword [rbp + 4]
lea rdx, [0x140024490]
mov byte [rdx + rcx], al
jmp 0x140015497
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14002448c], eax
mov edx, gethostbyname
lea rcx, [0x140024480]
call fcn.14001109b
mov word [0x140024482], ax
lea rax, [rbp + 0x28]
mov rdi, rax
mov rsi, qword [rbp + 0x138]
mov ecx, select
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x28], socket
mov rax, qword [rbp + 0x138]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, gethostbyname
lea rdx, [0x140024480]
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
jne 0x14001555c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp + 0x104], eax
mov ecx, dword [rbp + 0x2c]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [rbp + 0x104]
mov r8d, ecx
mov rdx, rax
lea rcx, [0x1400204c0]
call fcn.1400112a3
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001feb0]
call fcn.1400114bf
mov eax, edi
lea rsp, [rbp + 0x110]
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400111f4
Capabilities:
Get socket status

Disassembly:
jmp 0x1400155e0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x408
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x96
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x428]
mov rax, qword [0x140024040]
xor rax, rbp
mov qword [rbp + 0x3c8], rax
lea rcx, [0x14002a0f6]
call fcn.14001157d
nop
mov dword [rbp + 0x30], 1
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x3f0]
mov qword [rbp + rax + 0x38], rcx
mov dword [rbp + 8], 5
mov dword [rbp + 0xc], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x30]
mov ecx, 1
call qword [sym.imp.WS2_32.dll_select]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400200b0]
call fcn.1400114bf
mov rax, rdi
mov rcx, qword [rbp + 0x3c8]
xor rcx, rbp
call fcn.1400112bc
lea rsp, [rbp + 0x3d8]
pop rdi
pop rbp
ret
Function at 0x14001133e
Capabilities:
Terminate process

Disassembly:
jmp 0x140019210
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011406
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019d40
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019d60
xor al, al
jmp 0x140019de1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019d73
xor al, al
jmp 0x140019de1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140019d9d
xor al, al
jmp 0x140019de1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019db1
xor al, al
jmp 0x140019de1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019dc3
xor al, al
jmp 0x140019de1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140019ddf
xor al, al
jmp 0x140019de1
mov al, 1
add rsp, 0x38
ret
Function at 0x140017590
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400115aa
movzx eax, al
test eax, eax
jne 0x1400175b0
mov ecx, 7
call fcn.1400114ce
nop
mov byte [rsp + 0x20], 0
call fcn.1400114ec
mov byte [rsp + 0x21], al
cmp dword [0x1400244e0], 1
jne 0x1400175d4
mov ecx, 7
call fcn.1400114ce
nop
jmp 0x14001762c
cmp dword [0x1400244e0], 0
jne 0x140017627
mov dword [0x1400244e0], 1
lea rdx, [0x14001f770]
lea rcx, [0x14001f440]
call fcn.1400112a8
test eax, eax
je 0x140017608
mov eax, 0xff
jmp 0x140017731
lea rdx, [0x14001f330]
lea rcx, [section..rdata]
call fcn.1400114e2
mov dword [0x1400244e0], 2
jmp 0x14001762c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400114b5
call fcn.14001142e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140017689
mov rcx, qword [rsp + 0x30]
call fcn.140011230
movzx eax, al
test eax, eax
je 0x140017689
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002b020]
nop
call fcn.14001146f
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400176bd
mov rcx, qword [rsp + 0x38]
call fcn.140011230
movzx eax, al
test eax, eax
je 0x1400176bd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011564
nop
call fcn.1400177e0
mov dword [rsp + 0x28], eax
call fcn.140011406
movzx eax, al
test eax, eax
jne 0x1400176dc
mov ecx, dword [rsp + 0x28]
call fcn.14001107d
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400176eb
call fcn.14001156e
nop
xor edx, edx
mov cl, 1
call fcn.140011212
mov eax, dword [rsp + 0x28]
jmp 0x140017731
add rsp, 0x68
ret
Function at 0x2fc4ca180
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cab82
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ef108]
test eax, eax
je 0x2fc4cac1a
lea rax, [0x2fc4ef0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ef110]
mov qword [rbp - 8], rax
jmp 0x2fc4cabfe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cabf2
cmp qword [rbp - 0x10], 0
je 0x2fc4cabf2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cabb8
lea rax, [0x2fc4ef0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cac1b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cad20
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cad48
mov eax, 0
jmp 0x2fc4cad96
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cad71
mov eax, 0
jmp 0x2fc4cad96
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cad91
mov eax, 0
jmp 0x2fc4cad96
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cad9c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cae1a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cae11
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cae11
mov rax, qword [rbp - 8]
jmp 0x2fc4cae2f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cade4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180002a50
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 8]
lea r9, [rsp + 0x50]
mov rbp, rcx
mov dword [rsp + 0x50], 0
mov r8d, 0x40
mov rbx, qword [rax + 0x38]
sub rbx, qword [rax + 0x30]
mov rdi, qword [rax]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180002ada
mov r8, qword [rbp + 8]
mov qword [rsp + 0x58], rsi
mov esi, dword [rsp + 0x50]
mov rcx, qword [r8]
mov rdx, qword [r8 + 0x30]
mov r8, qword [r8 + 0x38]
sub r8, rdx
call fcn.1800a73c0
test rdi, rdi
je 0x180002ad5
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], 0
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x180004b10
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x530
mov rax, qword [0x180146540]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov r14, rdx
mov r15, rcx
mov bpl, 1
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov rbx, r12
nop word [rax + rax]
mov qword [rsp + 0x30], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
call sub.ntdll.dll_NtGetNextThread
mov edi, eax
test rbx, rbx
je 0x180004b9e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x180004c62
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test eax, eax
je 0x180004b60
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x180004b60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x180004b60
test eax, eax
je 0x180004be9
test bpl, bpl
jne 0x180004be9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180004b60
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call fcn.1800a7a60
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x80], 0x10000b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180004b60
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x180004c4d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x40]
mov dword [rsp + 0x38], edi
lea r8, [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x10]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
inc esi
jmp 0x180004b60
xor bpl, bpl
test esi, esi
jne 0x180004b50
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x180004c7c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, r12
nop
mov qword [rsp + 0x30], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
call sub.ntdll.dll_NtGetNextThread
mov edi, eax
test rbx, rbx
je 0x180004cbe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x180004ceb
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test eax, eax
je 0x180004c80
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x180004c80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180004c80
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.180077eb0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180005be0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, r8
lea r9, [rsp + 0x68]
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x68], ebp
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180005c24
mov byte [rbx + 0x18], bpl
jmp 0x180005c6c
mov r8d, dword [rsp + 0x68]
lea rax, [rsp + 0x28]
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov dword [rbx + 0x10], ebp
cmp rbx, rax
je 0x180005c4e
mov qword [rbx], rdi
mov qword [rbx + 8], rsi
mov dword [rbx + 0x10], r8d
mov byte [rbx + 0x18], 1
jmp 0x180005c6c
mov byte [rbx + 0x18], 1
test rdi, rdi
je 0x180005c6c
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ebp
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18001da60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r13
push r15
sub rsp, 0x30
mov qword [rsp + 0x50], rbx
mov r15, rdx
mov qword [rsp + 0x58], rsi
mov r13, rcx
mov rsi, qword [r8 + 0x10]
mov r9, r8
mov qword [rsp + 0x60], rdi
mov rdi, r8
mov qword [rsp + 0x28], r12
mov r12, qword [r8 + 0x18]
cmp r12, 0xf
jbe 0x18001da9b
mov r9, qword [r8]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x18001dad4
movabs rdx, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
xor r8, rax
imul r8, rdx
cmp rcx, rsi
jb 0x18001dac0
mov rcx, qword [r13 + 0x30]
mov rax, qword [r13 + 0x18]
and rcx, r8
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x18001db42
mov qword [rsp + 0x20], r14
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x18001db12
mov rdx, qword [rdx]
mov rcx, rdi
cmp r12, 0xf
jbe 0x18001db1e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x18001db2f
mov r8, rsi
call fcn.1800a7ea0
test eax, eax
je 0x18001db3a
cmp rbx, r14
je 0x18001db3d
mov rbx, qword [rbx + 8]
jmp 0x18001db00
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test rbp, rbp
je 0x18001db6b
mov qword [r15], rbp
mov rax, r15
add rsp, 0x30
pop r15
pop r13
pop rbp
ret
mov rax, qword [r13 + 8]
mov qword [r15], rax
mov rax, r15
add rsp, 0x30
pop r15
pop r13
pop rbp
ret
Function at 0x180040cd0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x180040e5f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1800405a0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180040e24
mov qword [rsp + 0x38], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rdi
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x180040da2
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180040e13
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x180040ddb
mov r10, qword [rdx]
cmp r10, rax
je 0x180040dd5
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180040e13
cmp r8, rdx
je 0x180040def
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x180040e39
cmp r8, rdx
jne 0x180040de0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180040d70
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180040e13
lea rcx, str.invalid_hash_bucket_count
call fcn.18005330c
int3