joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007df30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rcx, [0x1805021d1]
call fcn.1801b5d60
cmp dword [rsp + 0x88], 0
jne 0x18007df60
xor al, al
jmp 0x18007e12f
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x28]
add eax, dword [rsp + 0x88]
mov eax, eax
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x80]
call fcn.180057330
shl rax, 3
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
jbe 0x18007df9b
xor al, al
jmp 0x18007e12f
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x28]
shr eax, 3
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.180030670
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x88], 0
jbe 0x18007e12d
cmp dword [rsp + 0x88], 8
jae 0x18007dffc
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x50], eax
jmp 0x18007e004
mov dword [rsp + 0x50], 8
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movsx eax, byte [rcx + rax]
and eax, 0xff
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x28]
and eax, 7
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
cmp eax, 8
jg 0x18007e090
mov eax, 8
sub eax, dword [rsp + 0x38]
mov ecx, 0xff
mov dword [rsp + 0x58], ecx
movzx ecx, al
mov eax, dword [rsp + 0x58]
sar eax, cl
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x3c]
sar edx, cl
mov ecx, edx
and eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov byte [rdx + rcx], al
jmp 0x18007e0ee
mov eax, 8
sub eax, dword [rsp + 0x38]
mov ecx, 0xff
mov dword [rsp + 0x5c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x5c]
sar eax, cl
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movsx ecx, byte [rdx + rcx]
mov dword [rsp + 0x60], ecx
mov edx, 8
sub edx, dword [rsp + 0x40]
movzx ecx, dl
mov edx, dword [rsp + 0x60]
shl edx, cl
mov ecx, edx
and eax, ecx
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x3c]
sar edx, cl
mov ecx, edx
or eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x28]
add eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x28], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
jmp 0x18007dfd7
mov al, 1
add rsp, 0x70
pop rdi
ret
Function at 0x1800d5850
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x30
lea rcx, [0x1805027dd]
call fcn.1801b5d60
mov eax, 0x6114
mov eax, eax
mov ecx, dword [0x1804c5a00]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1804c2aec], eax
jle 0x1800d58b8
lea rcx, [0x1804c2aec]
call fcn.1801b6d70
cmp dword [0x1804c2aec], 0xffffffff
jne 0x1800d58b8
lea rcx, [rsp + 0x20]
call fcn.1800d5e40
mov byte [0x1804c2ae8], al
lea rcx, [0x1804c2aec]
call fcn.1801b6d10
movzx eax, byte [0x1804c2ae8]
test eax, eax
jne 0x1800d58d7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x30
pop rdi
ret

Function at 0x1800d58f0
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x30
lea rcx, [0x1805027dd]
call fcn.1801b5d60
mov eax, 0x6114
mov eax, eax
mov ecx, dword [0x1804c5a00]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1804c2af4], eax
jle 0x1800d5958
lea rcx, [0x1804c2af4]
call fcn.1801b6d70
cmp dword [0x1804c2af4], 0xffffffff
jne 0x1800d5958
lea rcx, [rsp + 0x20]
call fcn.1800d5f20
mov byte [0x1804c2af0], al
lea rcx, [0x1804c2af4]
call fcn.1801b6d10
movzx eax, byte [0x1804c2af0]
test eax, eax
jne 0x1800d5977
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x30
pop rdi
ret

Function at 0x1800de6c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x20]
mov ecx, 0x80
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x230]
mov rax, qword [0x1804a9220]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rcx, [0x1805027fc]
call fcn.1801b5d60
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r8d, 0xa
lea rdx, str._d3d11.dll
lea rcx, [rsp + 0x168]
call fcn.18005ae90
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1f8], rax
mov r8, qword [rsp + 0x1f8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x190]
call fcn.1800dec90
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x208], rax
mov rdx, qword [rsp + 0x208]
lea rcx, [rsp + 0x158]
call fcn.18012a2d0
nop
lea rcx, [rsp + 0x190]
call fcn.180023a50
nop
lea rcx, [rsp + 0x168]
call fcn.180023a50
lea rdx, [0x18037a6b0]
lea rcx, [rsp + 0x1b8]
call fcn.180022a60
nop
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x158]
call fcn.1800e2040
mov qword [rsp + 0x1e8], rax
lea rcx, [rsp + 0x1b8]
call fcn.180023a50
mov rax, qword [rsp + 0x1e8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180379f00]
call fcn.1801b5b30
mov rax, rdi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1801b5fa0
add rsp, 0x220
pop rdi
ret

Function at 0x1800e9b80
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
lea rcx, [0x180502b32]
call fcn.1801b5d60
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x20
pop rdi
ret
Function at 0x180113e50
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x18050323f]
call fcn.1801b5d60
mov rcx, qword [rsp + 0x40]
call fcn.18005b710
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x180113e81
mov al, 1
jmp 0x180113ea3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x180113e96
mov dword [rsp + 0x20], 1
jmp 0x180113e9e
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x18012ac60
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x78], 0
lea rcx, [0x180503327]
call fcn.1801b5d60
mov rcx, qword [rsp + 0xa8]
call fcn.18012cd30
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x78]
or eax, 1
mov dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0xa0]
call fcn.18012ad80
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x68], rax
xor eax, eax
mov word [rsp + 0x74], ax
jmp 0x18012ad0d
movzx eax, word [rsp + 0x74]
inc ax
mov word [rsp + 0x74], ax
mov rax, qword [rsp + 0x68]
add rax, 0x28
mov qword [rsp + 0x68], rax
movzx eax, word [rsp + 0x74]
mov rcx, qword [rsp + 0x58]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x18012ad4a
cmp qword [rsp + 0x68], 0
je 0x18012ad3b
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xa8]
call fcn.18012df10
jmp 0x18012ad48
lea rcx, str.There_was_an_invalid_section_:O
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x18012acf2
mov rax, qword [rsp + 0xa8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x18039c4f0]
call fcn.1801b5b30
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x18012b260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x48], 0
lea rcx, [0x180503327]
call fcn.1801b5d60
lea rdx, [fcn.18012b260]
lea rcx, [rsp + 0x28]
call fcn.18012a3b0
movzx eax, word [rsp + 0x88]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x28]
call fcn.18012a590
mov r8d, 0xa
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x18012b30c
mov rcx, qword [rsp + 0x80]
call fcn.180022ad0
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
jmp 0x18012b3ac
lea rcx, [rsp + 0x28]
call fcn.18012a590
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x18012b353
mov rcx, qword [rsp + 0x80]
call fcn.180022ad0
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
jmp 0x18012b3ac
lea rcx, [rsp + 0x28]
call fcn.18012a590
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
call fcn.18005a1e0
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x18039c640]
call fcn.1801b5b30
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x18012ed80
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
lea rcx, [0x180503443]
call fcn.1801b5d60
mov rcx, qword [rsp + 0x88]
call fcn.18012a710
movzx eax, al
test eax, eax
jne 0x18012edec
mov rcx, qword [rsp + 0x80]
call fcn.180043cc0
mov rax, qword [rsp + 0x80]
jmp 0x18012eeb7
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call fcn.18012ae60
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x18012ee30
mov rcx, qword [rsp + 0x80]
call fcn.180043cc0
mov rax, qword [rsp + 0x80]
jmp 0x18012eeb7
mov edx, 8
mov rcx, qword [rsp + 0x28]
call fcn.180130f50
lea r9, [rsp + 0x44]
mov r8d, 0x40
mov edx, 8
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call fcn.180133de0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x44]
mov edx, 8
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x58]
call fcn.180131550
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
call fcn.180131640
mov rax, qword [rsp + 0x80]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1803a3a60]
call fcn.1801b5b30
mov rax, rdi
add rsp, 0x70
pop rdi
ret

Function at 0x18012eee0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
lea rcx, [0x180503443]
call fcn.1801b5d60
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.180130f50
mov dword [rsp + 0x24], 0
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [rsp + 0x58]
mov edx, 0x90
mov rcx, qword [rsp + 0x50]
call fcn.1801ba2c0
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rcx, rsp
lea rdx, [0x1803a3ac0]
call fcn.1801b5b30
add rsp, 0x40
pop rdi
ret
Function at 0x18012eff0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
lea rcx, [0x180503443]
call fcn.1801b5d60
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.180130f50
mov dword [rsp + 0x24], 0
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1801b9c10
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rcx, rsp
lea rdx, [0x1803a3b20]
call fcn.1801b5b30
add rsp, 0x40
pop rdi
ret

Function at 0x18012fd90
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rcx, [0x180503443]
call fcn.1801b5d60
mov qword [rsp + 0x20], 0
xor eax, eax
cmp eax, 1
je 0x18012fe71
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov r8d, 5
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.18012f190
movzx eax, al
test eax, eax
je 0x18012fe09
xor eax, eax
jmp 0x18012fe71
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x18012fe6c
mov r8d, 5
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.18012f190
movzx eax, al
test eax, eax
je 0x18012fe65
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x18012fe71
mov rax, qword [rsp + 0x30]
jmp 0x18012fe71
jmp 0x18012fdb4
add rsp, 0x40
pop rdi
ret
Function at 0x180135d10
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x20]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x1804a9220]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0xc0], 0
lea rcx, [0x180503530]
call fcn.1801b5d60
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.180137ad0
nop
lea rcx, [rsp + 0x28]
call fcn.180137fa0
movzx eax, al
test eax, eax
jne 0x180135dc5
mov rcx, qword [rsp + 0xe0]
call fcn.180137cb0
mov eax, dword [rsp + 0xc0]
or eax, 1
mov dword [rsp + 0xc0], eax
lea rcx, [rsp + 0x28]
call fcn.180137e10
mov rax, qword [rsp + 0xe0]
jmp 0x180135efa
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c
rep stosb byte [rdi], al
mov dword [rsp + 0x48], 0x1c
lea rcx, [rsp + 0x28]
call fcn.180137f70
lea rdx, [rsp + 0x48]
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x180135e2e
mov rcx, qword [rsp + 0xe0]
call fcn.180137cb0
mov eax, dword [rsp + 0xc0]
or eax, 1
mov dword [rsp + 0xc0], eax
lea rcx, [rsp + 0x28]
call fcn.180137e10
mov rax, qword [rsp + 0xe0]
jmp 0x180135efa
lea rcx, [rsp + 0x88]
call fcn.180137cb0
nop
mov eax, dword [rsp + 0x48]
cmp rax, 0x10
jae 0x180135e50
mov byte [rsp + 0xc4], 1
jmp 0x180135e58
mov byte [rsp + 0xc4], 0
movzx eax, byte [rsp + 0xc4]
mov byte [rsp + 0xb4], al
mov dword [rsp + 0x48], 0x1c
movzx eax, byte [rsp + 0xb4]
test eax, eax
je 0x180135e99
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x54], eax
jne 0x180135e99
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x88]
call fcn.1801374b0
lea rcx, [rsp + 0x28]
call fcn.180137f70
lea rdx, [rsp + 0x48]
mov rcx, rax
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180135e3c
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0xe0]
call fcn.180137b50
mov eax, dword [rsp + 0xc0]
or eax, 1
mov dword [rsp + 0xc0], eax
lea rcx, [rsp + 0x88]
call fcn.180137eb0
nop
lea rcx, [rsp + 0x28]
call fcn.180137e10
mov rax, qword [rsp + 0xe0]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1801b5b30
mov rax, rdi
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1801b5fa0
add rsp, 0xd0
pop rdi
ret

Function at 0x180136230
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x180503530]
call fcn.1801b5d60
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [rsp + 0x20]
cmp ecx, eax
je 0x180136273
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
add rsp, 0x30
pop rdi
ret
Function at 0x180136280
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x180503530]
call fcn.1801b5d60
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [rsp + 0x20]
cmp ecx, eax
je 0x1801362c3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
add rsp, 0x30
pop rdi
ret
Function at 0x180140c90
Capabilities:
Hash data using murmur3

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rcx, [0x180503692]
call fcn.1801b5d60
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x28], 0x10
jb 0x180140d51
mov eax, 4
imul rax, rax, 0
mov dl, 1
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + rax]
call fcn.180141630
mov dword [rsp + 0x38], eax
mov ecx, 4
imul rcx, rcx, 1
mov dl, 7
mov r8, qword [rsp + 0x60]
mov ecx, dword [r8 + rcx]
call fcn.180141630
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov ecx, 4
imul rcx, rcx, 2
mov dl, 0xc
mov r8, qword [rsp + 0x60]
mov ecx, dword [r8 + rcx]
call fcn.180141630
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov ecx, 4
imul rcx, rcx, 3
mov dl, reloc.WS2_32.dll_select
mov r8, qword [rsp + 0x60]
mov ecx, dword [r8 + rcx]
call fcn.180141630
add eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x40]
add eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x180140d71
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x20]
lea eax, [rcx + rax + 0x165667b1]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
add rax, 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x180140da7
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rax, 4
cmp rax, qword [rsp + 0x30]
ja 0x180140ddf
mov rax, qword [rsp + 0x28]
imul eax, dword [rax], 0xc2b2ae3d
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dl, reloc.WS2_32.dll_recvfrom
mov ecx, eax
call fcn.180141630
imul eax, eax, 0x27d4eb2f
mov dword [rsp + 0x20], eax
jmp 0x180140d99
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
je 0x180140e29
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
imul eax, eax, 0x165667b1
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov dl, 0xb
mov ecx, dword [rsp + 0x44]
call fcn.180141630
imul eax, eax, 0x9e3779b1
mov dword [rsp + 0x20], eax
jmp 0x180140ddf
mov eax, dword [rsp + 0x20]
shr eax, 0xf
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
imul eax, dword [rsp + 0x20], 0x85ebca77
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xd
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
imul eax, dword [rsp + 0x20], 0xc2b2ae3d
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x10
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x50
pop rdi
ret
Function at 0x1801416d0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
lea rcx, [0x1805037d2]
call fcn.1801b5d60
mov eax, 0xf8
mov eax, eax
mov ecx, dword [0x1804c5a00]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x1801417a3
mov eax, 0xf8
mov eax, eax
mov ecx, dword [0x1804c5a00]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x44], eax
mov eax, dword [0x1804c5a00]
mov rcx, qword gs:[0x58]
mov edx, 0xf8
mov edx, edx
mov rax, qword [rcx + rax*8]
mov ecx, dword [rsp + 0x44]
mov dword [rdx + rax], ecx
mov eax, reloc.WS2_32.dll_WSASetLastError
mov eax, eax
mov ecx, dword [0x1804c5a00]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rcx, rax
call fcn.180144620
lea rcx, [0x18033ee60]
call fcn.1801b7e00
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, reloc.WS2_32.dll_WSASetLastError
mov eax, eax
mov ecx, dword [0x1804c5a00]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.1801452f0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x38]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1803c1a60]
call fcn.1801b5b30
mov rax, rdi
add rsp, 0x50
pop rdi
ret

Function at 0x18014bb00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
lea rdi, [rsp + 0x20]
mov ecx, 0x9c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a0]
mov rax, qword [0x1804a9220]
xor rax, rsp
mov qword [rsp + 0x288], rax
mov dword [rsp + 0x280], 0
lea rcx, [0x18050398a]
call fcn.1801b5d60
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rsp + 0x160]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rdx, [rsp + 0x160]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.boiii_
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
call fcn.180022a60
mov eax, dword [rsp + 0x280]
or eax, 1
mov dword [rsp + 0x280], eax
mov rax, qword [rsp + 0x2a0]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1803d0c30]
call fcn.1801b5b30
mov rax, rdi
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1801b5fa0
add rsp, 0x290
pop rdi
ret