joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800e0960
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
lea rcx, [0x1805f2206]
call fcn.1802647b0
cmp qword [rsp + 0xa0], 0
jg 0x1800e09ae
xor eax, eax
jmp 0x1800e0ba4
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x68], 0
je 0x1800e09df
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.1800e0bd0
jmp 0x1800e0ba4
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x90]
call fcn.1800dba00
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1800e0a8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.180035630
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x90]
call fcn.1800de940
mov r8, qword [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call fcn.180039a00
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
call fcn.1800de760
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x80], 0
je 0x1800e0b94
mov rcx, qword [rsp + 0x90]
call fcn.1800dca90
mov qword [rsp + 0x60], 0xfff
cmp qword [rsp + 0x28], 0xfff
jbe 0x1800e0b42
mov rax, qword [rsp + 0x90]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x98]
call fcn.1802d75e0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x68], 0xfff
je 0x1800e0b3d
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
jmp 0x1800e0ba4
jmp 0x1800e0ab9
cmp qword [rsp + 0x28], 0
jbe 0x1800e0b94
mov rax, qword [rsp + 0x90]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x28]
mov edx, 1
mov rcx, qword [rsp + 0x98]
call fcn.1802d75e0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov rdi, rax
mov rcx, rsp
lea rdx, [0x18042d270]
call fcn.180264580
mov rax, rdi
add rsp, 0x80
pop rdi
ret
Function at 0x1800e0ff0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x330
lea rdi, [rsp + 0x20]
mov ecx, 0xc4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x340]
mov rax, qword [0x18057d540]
xor rax, rsp
mov qword [rsp + 0x328], rax
lea rcx, [0x1805f2258]
call fcn.1802647b0
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1800e2b70
nop
lea rax, [rsp + 0x40]
lea rdx, [0x18042e1f4]
mov rcx, rax
call fcn.1800e18b0
mov qword [rsp + 0x2f0], rax
movsxd rax, dword [rsp + 0x340]
lea rcx, str.DEBUG
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x2f8], rax
mov rdx, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x2f0]
call fcn.1800e18b0
lea rdx, [0x18042e1f0]
mov rcx, rax
call fcn.1800e18b0
mov qword [rsp + 0x300], rax
mov rax, qword [rsp + 0x348]
mov qword [rsp + 0x308], rax
mov rdx, qword [rsp + 0x308]
mov rcx, qword [rsp + 0x300]
call fcn.1800e1850
mov qword [rsp + 0x310], rax
lea rdx, [0x1800e23a0]
mov rcx, qword [rsp + 0x310]
call fcn.1800e3260
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x30]
call fcn.1800e5540
nop
lea rcx, [rsp + 0x148]
call fcn.1800a3ab0
lea rcx, [rsp + 0x148]
call fcn.180068110
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x148]
call fcn.180068110
mov rcx, rax
call fcn.18007c4f0
mov edx, 1
lea rcx, [rsp + 0x190]
call fcn.1800e2850
nop
mov r9d, 0x40
mov r8d, 8
lea rdx, str.project_bo4.log
lea rcx, [rsp + 0x190]
call fcn.1800e4160
xor ecx, ecx
call fcn.1800e0fc0
mov qword [rsp + 0x2b8], rax
lea rcx, [rsp + 0x2b8]
call fcn.1800e0f90
mov qword [rsp + 0x2c8], rax
lea rdx, [0x18042e1d6]
lea rcx, [rsp + 0x190]
call fcn.1800e18b0
mov qword [rsp + 0x318], rax
lea r8, str._Y__m__d__H:_M:_S
mov rdx, qword [rsp + 0x2c8]
lea rcx, [rsp + 0x2d8]
call fcn.1800e2540
mov qword [rsp + 0x320], rax
mov rdx, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x318]
call fcn.1800e1520
lea rdx, [0x18042e208]
mov rcx, rax
call fcn.1800e18b0
lea rdx, [rsp + 0x148]
mov rcx, rax
call fcn.1800e1850
nop
lea rcx, [rsp + 0x190]
call fcn.1800e3490
nop
lea rcx, [rsp + 0x148]
call fcn.1800367a0
nop
lea rcx, [rsp + 0x30]
call fcn.1800e3510
nop
mov rcx, qword [rsp + 0x348]
call fcn.1800367a0
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_connect
call fcn.180264580
mov rcx, qword [rsp + 0x328]
xor rcx, rsp
call fcn.1802649f0
add rsp, 0x330
pop rdi
ret
Function at 0x180124980
Capabilities:
Create process on windows
Terminate process

Disassembly:
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x30]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x18057d540]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rcx, [0x1805f232a]
call fcn.1802647b0
lea rcx, [rsp + 0x38]
call fcn.180124f90
nop
lea rdx, str.SOFTWAREBlizzard_EntertainmentBattle.net
lea rcx, [rsp + 0x68]
call fcn.180035b40
mov dword [rsp + 0x20], 0x2011f
lea r9, [rsp + 0x68]
mov r8, 0xffffffff80000001
lea rdx, [rsp + 0x54]
lea rcx, [rsp + 0x38]
call fcn.180125360
lea rcx, [rsp + 0x68]
call fcn.180036850
lea rcx, [rsp + 0x54]
call fcn.1801250d0
movzx eax, al
test eax, eax
jne 0x180124a7e
mov r9d, gethostbyname
lea r8, [0x18043a588]
lea rdx, str.You_need_to_have_BlackOps4_from_Battle.Net_to_use_this_product...
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.http:__battle.net_
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rdx, str.__PLATFORM__:_Couldnt_find_Battle.Net_Launcher__Shutting_down...
mov ecx, 1
call fcn.1800e1270
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
lea rcx, [rsp + 0x38]
call fcn.180125080
mov rcx, rsp
lea rdx, [0x18043c410]
call fcn.180264580
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1802649f0
add rsp, 0xa0
pop rdi
ret

Function at 0x18012a050
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov ecx, recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
lea rcx, [0x1805f2336]
call fcn.1802647b0
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.18012ae50
nop
lea rax, [0x180129e40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
call fcn.18012b940
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call fcn.1802d21b0
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x18012a0f7
lea rcx, [rsp + 0x38]
call fcn.18012baf0
jmp 0x18012a10e
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.180223700
nop
lea rcx, [rsp + 0x38]
call fcn.18012b1a0
mov rcx, rsp
lea rdx, [0x18043d1c0]
call fcn.180264580
add rsp, 0x60
pop rdi
ret
Function at 0x18012bed0
Capabilities:
Hide graphical window

Disassembly:
push rdi
sub rsp, 0x20
lea rcx, [0x1805f2365]
call fcn.1802647b0
cmp qword [0x18059d540], 0
je 0x18012bf50
mov rcx, qword [0x18059d540]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x18012bf50
xor edx, edx
mov rcx, qword [0x18059d540]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x18059d540]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [0x18059d540], 0
lea rcx, [0x18059d528]
call fcn.18007bce0
movzx eax, al
test eax, eax
je 0x18012bf43
lea rcx, [0x18059d528]
call fcn.18007bc30
mov qword [0x18059d540], 0
jmp 0x18012bf6f
lea rcx, [0x18059d528]
call fcn.18007bce0
movzx eax, al
test eax, eax
je 0x18012bf6f
lea rcx, [0x18059d528]
call fcn.18012d140
add rsp, 0x20
pop rdi
ret
Function at 0x18012c8c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov ecx, recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
lea rcx, [0x1805f235f]
call fcn.1802647b0
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.18012cb00
nop
lea rax, [0x18012c830]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
call fcn.18012d1d0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call fcn.1802d21b0
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x18012c967
lea rcx, [rsp + 0x38]
call fcn.18012d2a0
jmp 0x18012c97e
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.180223700
nop
lea rcx, [rsp + 0x38]
call fcn.18012cd60
mov rcx, rsp
lea rdx, [0x18043db10]
call fcn.180264580
add rsp, 0x60
pop rdi
ret
Function at 0x180136a50
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, [0x1805f23e4]
call fcn.1802647b0
cmp dword [rsp + 0x88], 0
jne 0x180136a80
xor al, al
jmp 0x180136c4f
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.180069920
shl rax, 3
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
jbe 0x180136abb
xor al, al
jmp 0x180136c4f
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.180068250
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x88], 0
jbe 0x180136c4d
cmp dword [rsp + 0x88], 8
jae 0x180136b1c
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x50], eax
jmp 0x180136b24
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 0x180136bb0
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 0x180136c0e
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 0x180136af7
mov al, 1
add rsp, 0x70
pop rdi
ret
Function at 0x18017d3c0
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x30
lea rcx, [0x1805f29f6]
call fcn.1802647b0
mov eax, 0x7140
mov eax, eax
mov ecx, dword [0x1805a074c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x18059d6ec], eax
jle 0x18017d428
lea rcx, [0x18059d6ec]
call fcn.180264430
cmp dword [0x18059d6ec], 0xffffffff
jne 0x18017d428
lea rcx, [rsp + 0x20]
call fcn.18017d9b0
mov byte [0x18059d6e8], al
lea rcx, [0x18059d6ec]
call fcn.1802643d0
movzx eax, byte [0x18059d6e8]
test eax, eax
jne 0x18017d447
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 0x18017d460
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x30
lea rcx, [0x1805f29f6]
call fcn.1802647b0
mov eax, 0x7140
mov eax, eax
mov ecx, dword [0x1805a074c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x18059d6f4], eax
jle 0x18017d4c8
lea rcx, [0x18059d6f4]
call fcn.180264430
cmp dword [0x18059d6f4], 0xffffffff
jne 0x18017d4c8
lea rcx, [rsp + 0x20]
call fcn.18017da90
mov byte [0x18059d6f0], al
lea rcx, [0x18059d6f4]
call fcn.1802643d0
movzx eax, byte [0x18059d6f0]
test eax, eax
jne 0x18017d4e7
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 0x1801851f0
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 [0x18057d540]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rcx, [0x1805f2a18]
call fcn.1802647b0
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.180037180
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.1800fa840
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.1801b91a0
nop
lea rcx, [rsp + 0x190]
call fcn.1800367a0
nop
lea rcx, [rsp + 0x168]
call fcn.1800367a0
lea rdx, [0x180475460]
lea rcx, [rsp + 0x1b8]
call fcn.180035a70
nop
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x158]
call fcn.180187480
mov qword [rsp + 0x1e8], rax
lea rcx, [rsp + 0x1b8]
call fcn.1800367a0
mov rax, qword [rsp + 0x1e8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180475020]
call fcn.180264580
mov rax, rdi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1802649f0
add rsp, 0x220
pop rdi
ret

Function at 0x180190d00
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
lea rcx, [0x1805f2d8a]
call fcn.1802647b0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x20
pop rdi
ret
Function at 0x1801b9b30
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, [0x1805f3489]
call fcn.1802647b0
mov rcx, qword [rsp + 0xa8]
call fcn.1801bbad0
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.1801b9c50
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 0x1801b9bdd
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 0x1801b9c1a
cmp qword [rsp + 0x68], 0
je 0x1801b9c0b
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xa8]
call fcn.1801bcc40
jmp 0x1801b9c18
lea rcx, str.There_was_an_invalid_section_:O
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1801b9bc2
mov rax, qword [rsp + 0xa8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180482c60]
call fcn.180264580
mov rax, rdi
add rsp, 0x90
pop rdi
ret

Function at 0x1801ba130
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, [0x1805f3489]
call fcn.1802647b0
lea rdx, [fcn.1801ba130]
lea rcx, [rsp + 0x28]
call fcn.1801b9280
movzx eax, word [rsp + 0x88]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x28]
call fcn.1801b9460
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 0x1801ba1dc
mov rcx, qword [rsp + 0x80]
call fcn.18005af90
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
jmp 0x1801ba27c
lea rcx, [rsp + 0x28]
call fcn.1801b9460
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 0x1801ba223
mov rcx, qword [rsp + 0x80]
call fcn.18005af90
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
jmp 0x1801ba27c
lea rcx, [rsp + 0x28]
call fcn.1801b9460
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.180035ae0
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, [0x180482dc0]
call fcn.180264580
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x1801c0030
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov ecx, recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
lea rcx, [0x1805f3495]
call fcn.1802647b0
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1801c0620
nop
lea rax, [0x1801bf170]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
call fcn.1801bdf80
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call fcn.1802d21b0
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x1801c00d7
lea rcx, [rsp + 0x38]
call fcn.1801bdfb0
jmp 0x1801c00ee
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.180223700
nop
lea rcx, [rsp + 0x38]
call fcn.1801bdf20
mov rcx, rsp
lea rdx, [0x180484a20]
call fcn.180264580
add rsp, 0x60
pop rdi
ret

Function at 0x1801c3560
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, [0x1805f369f]
call fcn.1802647b0
mov rcx, qword [rsp + 0x88]
call fcn.1801b95e0
movzx eax, al
test eax, eax
jne 0x1801c35cc
mov rcx, qword [rsp + 0x80]
call fcn.18008c2b0
mov rax, qword [rsp + 0x80]
jmp 0x1801c3697
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call fcn.1801b9d30
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1801c3610
mov rcx, qword [rsp + 0x80]
call fcn.18008c2b0
mov rax, qword [rsp + 0x80]
jmp 0x1801c3697
mov edx, 8
mov rcx, qword [rsp + 0x28]
call fcn.1801c5740
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.1801c7c70
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.1801c5d00
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
call fcn.1801c5dd0
mov rax, qword [rsp + 0x80]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180485b70]
call fcn.180264580
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x1801c36c0
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, [0x1805f369f]
call fcn.1802647b0
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1801c5740
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.1803d7a10
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, [0x180485bd0]
call fcn.180264580
add rsp, 0x40
pop rdi
ret

Function at 0x1801c37d0
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, [0x1805f369f]
call fcn.1802647b0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.1801c5740
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.1803d7370
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, [0x180485c30]
call fcn.180264580
add rsp, 0x40
pop rdi
ret