joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180069690
Capabilities:
Set console window title

Disassembly:
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 rax, qword [0x180563540]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rcx, [0x1805d507a]
call fcn.18025a230
call qword [sym.imp.KERNEL32.dll_AllocConsole]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
xor ecx, ecx
call fcn.180283910
mov r9, rax
lea r8, [0x18040b278]
lea rdx, [0x18040b280]
lea rcx, [rsp + 0x28]
call fcn.180284600
mov ecx, 1
call fcn.180283910
mov r9, rax
lea r8, [0x18040b288]
lea rdx, [0x18040b280]
lea rcx, [rsp + 0x28]
call fcn.180284600
mov ecx, 2
call fcn.180283910
mov r9, rax
lea r8, [0x18040b288]
lea rdx, [0x18040b280]
lea rcx, [rsp + 0x28]
call fcn.180284600
lea rcx, str.Project_Bo4:
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea r8, [0x180064090]
lea rdx, [fcn.180069a60]
lea rcx, [0x18057bd68]
call fcn.1801b8d10
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x18057be08], rax
lea rdx, str.Console
lea rcx, [rsp + 0x38]
call fcn.18002ee00
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.180065330
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [0x18057bdf8]
call fcn.1800665b0
lea rcx, [rsp + 0x70]
call fcn.180066570
nop
lea rcx, [rsp + 0x38]
call fcn.18002fb30
mov rcx, rsp
lea rdx, [0x18040ac90]
call fcn.18025a000
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18025a470
add rsp, 0x90
pop rdi
ret

Function at 0x180072e80
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, [0x1805d50b0]
call fcn.18025a230
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.180076e30
nop
lea rax, [0x180072c90]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
call fcn.18008ac30
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.1802c4cc0
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x180072f27
lea rcx, [rsp + 0x38]
call fcn.18008be60
jmp 0x180072f3e
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.180219180
nop
lea rcx, [rsp + 0x38]
call fcn.18007bb90
mov rcx, rsp
lea rdx, [0x18040f3b0]
call fcn.18025a000
add rsp, 0x60
pop rdi
ret
Function at 0x1800803a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x1805d50e3]
call fcn.18025a230
mov qword [rsp + 0x20], 0
jmp 0x1800803d8
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x20], rax
jae 0x180080424
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x40]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x40]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800803cb
mov rax, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1800cf0d0
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, [0x1805d51ff]
call fcn.18025a230
cmp qword [rsp + 0xa0], 0
jg 0x1800cf11e
xor eax, eax
jmp 0x1800cf314
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x68], 0
je 0x1800cf14f
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.1800cf340
jmp 0x1800cf314
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.1800ca170
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1800cf1fd
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.18002e9c0
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x90]
call fcn.1800cd0b0
mov r8, qword [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call fcn.180032d90
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.1800cced0
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x80], 0
je 0x1800cf304
mov rcx, qword [rsp + 0x90]
call fcn.1800cb200
mov qword [rsp + 0x60], 0xfff
cmp qword [rsp + 0x28], 0xfff
jbe 0x1800cf2b2
mov rax, qword [rsp + 0x90]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x98]
call fcn.1802cd040
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 0x1800cf2ad
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
jmp 0x1800cf314
jmp 0x1800cf229
cmp qword [rsp + 0x28], 0
jbe 0x1800cf304
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.1802cd040
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, [0x18041d750]
call fcn.18025a000
mov rax, rdi
add rsp, 0x80
pop rdi
ret
Function at 0x1800cf760
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 [0x180563540]
xor rax, rsp
mov qword [rsp + 0x328], rax
lea rcx, [0x1805d5229]
call fcn.18025a230
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1800d12e0
nop
lea rax, [rsp + 0x40]
lea rdx, [0x18041e7d4]
mov rcx, rax
call fcn.1800d0020
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.1800d0020
lea rdx, [0x18041e7d0]
mov rcx, rax
call fcn.1800d0020
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.1800cffc0
mov qword [rsp + 0x310], rax
lea rdx, [0x1800d0b10]
mov rcx, qword [rsp + 0x310]
call fcn.1800d19d0
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x30]
call fcn.1800d3cd0
nop
lea rcx, [rsp + 0x148]
call fcn.180091450
lea rcx, [rsp + 0x148]
call fcn.1800610d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x148]
call fcn.1800610d0
mov rcx, rax
call fcn.180069a60
mov edx, 1
lea rcx, [rsp + 0x190]
call fcn.1800d0fc0
nop
mov r9d, 0x40
mov r8d, 8
lea rdx, str.project_bo4.log
lea rcx, [rsp + 0x190]
call fcn.1800d28d0
xor ecx, ecx
call fcn.1800cf730
mov qword [rsp + 0x2b8], rax
lea rcx, [rsp + 0x2b8]
call fcn.1800cf700
mov qword [rsp + 0x2c8], rax
lea rdx, [0x18041e6c1]
lea rcx, [rsp + 0x190]
call fcn.1800d0020
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.1800d0cb0
mov qword [rsp + 0x320], rax
mov rdx, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x318]
call fcn.1800cfc90
lea rdx, [0x18041e7e8]
mov rcx, rax
call fcn.1800d0020
lea rdx, [rsp + 0x148]
mov rcx, rax
call fcn.1800cffc0
nop
lea rcx, [rsp + 0x190]
call fcn.1800d1c00
nop
lea rcx, [rsp + 0x148]
call fcn.18002fb30
nop
lea rcx, [rsp + 0x30]
call fcn.1800d1c80
nop
mov rcx, qword [rsp + 0x348]
call fcn.18002fb30
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_connect
call fcn.18025a000
mov rcx, qword [rsp + 0x328]
xor rcx, rsp
call fcn.18025a470
add rsp, 0x330
pop rdi
ret
Function at 0x180113150
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 [0x180563540]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rcx, [0x1805d52f2]
call fcn.18025a230
lea rcx, [rsp + 0x38]
call fcn.180113760
nop
lea rdx, str.SOFTWAREBlizzard_EntertainmentBattle.net
lea rcx, [rsp + 0x68]
call fcn.18002eed0
mov dword [rsp + 0x20], 0x2011f
lea r9, [rsp + 0x68]
mov r8, 0xffffffff80000001
lea rdx, [rsp + 0x54]
lea rcx, [rsp + 0x38]
call fcn.180113b30
lea rcx, [rsp + 0x68]
call fcn.18002fbe0
lea rcx, [rsp + 0x54]
call fcn.1801138a0
movzx eax, al
test eax, eax
jne 0x18011324e
mov r9d, gethostbyname
lea r8, [0x180429868]
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.1800cf9e0
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.180113850
mov rcx, rsp
lea rdx, [0x18042ae80]
call fcn.18025a000
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.18025a470
add rsp, 0xa0
pop rdi
ret

Function at 0x180118820
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, [0x1805d52ff]
call fcn.18025a230
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.180119670
nop
lea rax, [0x180118610]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
call fcn.18011a280
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.1802c4cc0
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x1801188c7
lea rcx, [rsp + 0x38]
call fcn.18011a430
jmp 0x1801188de
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.180219180
nop
lea rcx, [rsp + 0x38]
call fcn.180119a10
mov rcx, rsp
lea rdx, [0x18042bb80]
call fcn.18025a000
add rsp, 0x60
pop rdi
ret
Function at 0x18011a810
Capabilities:
Hide graphical window

Disassembly:
push rdi
sub rsp, 0x20
lea rcx, [0x1805d532e]
call fcn.18025a230
cmp qword [0x180582230], 0
je 0x18011a890
mov rcx, qword [0x180582230]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x18011a890
xor edx, edx
mov rcx, qword [0x180582230]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x180582230]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [0x180582230], 0
lea rcx, [0x180582218]
call fcn.180069250
movzx eax, al
test eax, eax
je 0x18011a883
lea rcx, [0x180582218]
call fcn.1800691a0
mov qword [0x180582230], 0
jmp 0x18011a8af
lea rcx, [0x180582218]
call fcn.180069250
movzx eax, al
test eax, eax
je 0x18011a8af
lea rcx, [0x180582218]
call fcn.18011ba80
add rsp, 0x20
pop rdi
ret
Function at 0x18011b200
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, [0x1805d5328]
call fcn.18025a230
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.18011b440
nop
lea rax, [0x18011b170]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
call fcn.18011bb10
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.1802c4cc0
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x18011b2a7
lea rcx, [rsp + 0x38]
call fcn.18011bbe0
jmp 0x18011b2be
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.180219180
nop
lea rcx, [rsp + 0x38]
call fcn.18011b6a0
mov rcx, rsp
lea rdx, [0x18042c450]
call fcn.18025a000
add rsp, 0x60
pop rdi
ret
Function at 0x18012cc90
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, [0x1805d53c2]
call fcn.18025a230
cmp dword [rsp + 0x88], 0
jne 0x18012ccc0
xor al, al
jmp 0x18012ce8f
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.1800628e0
shl rax, 3
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
jbe 0x18012ccfb
xor al, al
jmp 0x18012ce8f
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.180061210
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x88], 0
jbe 0x18012ce8d
cmp dword [rsp + 0x88], 8
jae 0x18012cd5c
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x50], eax
jmp 0x18012cd64
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 0x18012cdf0
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 0x18012ce4e
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 0x18012cd37
mov al, 1
add rsp, 0x70
pop rdi
ret
Function at 0x1801742d0
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x30
lea rcx, [0x1805d59fa]
call fcn.18025a230
mov eax, 0x7140
mov eax, eax
mov ecx, dword [0x18058549c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1805824cc], eax
jle 0x180174338
lea rcx, [0x1805824cc]
call fcn.180259eb0
cmp dword [0x1805824cc], 0xffffffff
jne 0x180174338
lea rcx, [rsp + 0x20]
call fcn.1801748c0
mov byte [0x1805824c8], al
lea rcx, [0x1805824cc]
call fcn.180259e50
movzx eax, byte [0x1805824c8]
test eax, eax
jne 0x180174357
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 0x180174370
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x30
lea rcx, [0x1805d59fa]
call fcn.18025a230
mov eax, 0x7140
mov eax, eax
mov ecx, dword [0x18058549c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1805824d4], eax
jle 0x1801743d8
lea rcx, [0x1805824d4]
call fcn.180259eb0
cmp dword [0x1805824d4], 0xffffffff
jne 0x1801743d8
lea rcx, [rsp + 0x20]
call fcn.1801749a0
mov byte [0x1805824d0], al
lea rcx, [0x1805824d4]
call fcn.180259e50
movzx eax, byte [0x1805824d0]
test eax, eax
jne 0x1801743f7
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 0x18017c100
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 [0x180563540]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rcx, [0x1805d5a0a]
call fcn.18025a230
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.180030510
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.1800e8fd0
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.1801af3b0
nop
lea rcx, [rsp + 0x190]
call fcn.18002fb30
nop
lea rcx, [rsp + 0x168]
call fcn.18002fb30
lea rdx, [0x1804615f0]
lea rcx, [rsp + 0x1b8]
call fcn.18002ee00
nop
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x158]
call fcn.18017e390
mov qword [rsp + 0x1e8], rax
lea rcx, [rsp + 0x1b8]
call fcn.18002fb30
mov rax, qword [rsp + 0x1e8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804611b0]
call fcn.18025a000
mov rax, rdi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.18025a470
add rsp, 0x220
pop rdi
ret

Function at 0x180186f10
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
lea rcx, [0x1805d5d63]
call fcn.18025a230
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x20
pop rdi
ret
Function at 0x1801afd40
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, [0x1805d6462]
call fcn.18025a230
mov rcx, qword [rsp + 0xa8]
call fcn.1801b1ce0
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.1801afe60
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 0x1801afded
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 0x1801afe2a
cmp qword [rsp + 0x68], 0
je 0x1801afe1b
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xa8]
call fcn.1801b2e50
jmp 0x1801afe28
lea rcx, str.There_was_an_invalid_section_:O
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1801afdd2
mov rax, qword [rsp + 0xa8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x18046da20]
call fcn.18025a000
mov rax, rdi
add rsp, 0x90
pop rdi
ret

Function at 0x1801b0340
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, [0x1805d6462]
call fcn.18025a230
lea rdx, [fcn.1801b0340]
lea rcx, [rsp + 0x28]
call fcn.1801af490
movzx eax, word [rsp + 0x88]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x28]
call fcn.1801af670
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 0x1801b03ec
mov rcx, qword [rsp + 0x80]
call fcn.180054310
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
jmp 0x1801b048c
lea rcx, [rsp + 0x28]
call fcn.1801af670
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 0x1801b0433
mov rcx, qword [rsp + 0x80]
call fcn.180054310
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
jmp 0x1801b048c
lea rcx, [rsp + 0x28]
call fcn.1801af670
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.18002ee70
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, [0x18046db80]
call fcn.18025a000
mov rax, rdi
add rsp, 0x70
pop rdi
ret