Function at 0x18011c100
Capabilities:
Inspect load icon resource

Disassembly:
push rdi
sub rsp, 0x160
lea rdi, [rsp + 0x60]
mov ecx, 0x40
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x18057d580]
xor rax, rsp
mov qword [rsp + 0x158], rax
lea rcx, [0x1805ee32e]
call fcn.1802680d0
lea rdx, [fcn.18011be10]
lea rcx, [rsp + 0xd8]
call fcn.1801b1a30
mov dword [rsp + 0x70], 0x20000
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x84], 0
mov qword [rsp + 0xa8], 0
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xd8]
call fcn.1801b1c10
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0xd8]
call fcn.1801b1c10
mov edx, 0x66
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0x90], rax
mov edx, 0x7f8a
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 6
lea rax, [0x18043e840]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
je 0x18011c4fa
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0xe4], eax
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0xe8], eax
lea rcx, [0x18059b838]
call fcn.18011d100
movzx eax, al
test eax, eax
je 0x18011c4fa
lea rcx, [rsp + 0xd8]
call fcn.1801b1c10
mov qword [rsp + 0x138], rax
mov ecx, dword [rsp + 0xe8]
sub ecx, 0x64
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x140], eax
mov ecx, dword [rsp + 0xe4]
sub ecx, 0x140
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x138]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x140
mov ecx, dword [rsp + 0x140]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov r9d, 0x80080000
lea r8, str.Project_Bo4
lea rdx, [0x18043e870]
mov ecx, 0x40000
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x18059b830], rax
cmp qword [0x18059b830], 0
je 0x18011c4fa
lea rcx, [rsp + 0xd8]
call fcn.1801b1c10
mov qword [rsp + 0x148], rax
mov rax, qword [0x18059b830]
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x140
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x5000000e
xor r8d, r8d
lea rdx, str.Static
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
je 0x18011c4fa
lea rcx, [0x18059b838]
call fcn.18011d0d0
mov r9, rax
xor r8d, r8d
mov edx, 0x172
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.USER32.dll_SendMessageA]
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x108]
mov ecx, dword [rsp + 0x110]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x124], eax
mov eax, dword [rsp + 0x124]
mov ecx, dword [rsp + 0xe4]
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x10c]
mov ecx, dword [rsp + 0x114]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x128], eax
mov eax, dword [rsp + 0x128]
mov ecx, dword [rsp + 0xe8]
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x10c], eax
mov eax, dword [rsp + 0x124]
mov ecx, dword [rsp + 0x108]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x110], eax
mov eax, dword [rsp + 0x128]
mov ecx, dword [rsp + 0x10c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x114], eax
xor r8d, r8d
mov edx, 0x5000000e
lea rcx, [rsp + 0x108]
call qword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [rsp + 0x10c]
mov ecx, dword [rsp + 0x114]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x108]
mov edx, dword [rsp + 0x110]
sub edx, ecx
mov ecx, edx
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x10c]
mov r8d, dword [rsp + 0x108]
xor edx, edx
mov rcx, qword [0x18059b830]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 5
mov rcx, qword [0x18059b830]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x18059b830]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.180267ea0
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.180268310
add rsp, 0x160
pop rdi
ret