Function at 0x18011a8c0
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 [0x180563540]
xor rax, rsp
mov qword [rsp + 0x158], rax
lea rcx, [0x1805d532e]
call fcn.18025a230
lea rdx, [fcn.18011a5d0]
lea rcx, [rsp + 0xd8]
call fcn.1801af490
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.1801af670
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0xd8]
call fcn.1801af670
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, [0x18042c150]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
je 0x18011acb9
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, [0x180582238]
call fcn.18011b890
movzx eax, al
test eax, eax
je 0x18011acb9
lea rcx, [rsp + 0xd8]
call fcn.1801af670
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, [0x18042c180]
mov ecx, 0x40000
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x180582230], rax
cmp qword [0x180582230], 0
je 0x18011acb9
lea rcx, [rsp + 0xd8]
call fcn.1801af670
mov qword [rsp + 0x148], rax
mov rax, qword [0x180582230]
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 0x18011acb9
lea rcx, [0x180582238]
call fcn.18011b860
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 [0x180582230]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 5
mov rcx, qword [0x180582230]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x180582230]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.18025a000
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.18025a470
add rsp, 0x160
pop rdi
ret