Function at 0x140066250
Capabilities:
Inspect load icon resource

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x14019b080]
xor rax, rsp
mov qword [rsp + 0x158], rax
lea rcx, [0x1405b02d0]
call fcn.1400713c0
lea rax, [0x140066a40]
mov dword [rsp + 0xe0], 0x50
xor ebx, ebx
mov qword [rsp + 0xe8], rax
xor ecx, ecx
mov dword [rsp + 0xe4], 0x40
mov qword [rsp + 0xf0], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov qword [rsp + 0xf8], rax
mov edx, 0x67
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x108], rbx
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x100], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x110], xmm0
movabs rax, 0xe253ce9e314d5ce2
mov qword [rsp + 0x130], rax
movabs r13, 0xc9d9995d6fa88d7b
mov rax, qword [rsp + 0x130]
movabs r12, 0x18724a1814cc924e
mov qword [rsp + 0x60], rax
movabs r15, 0x1389c701a34e3861
mov qword [rsp + 0x130], r13
movabs r14, 0xe232cefb31395cb1
mov rax, qword [rsp + 0x130]
movabs rsi, 0xc9b6991e6f888d16
mov qword [rsp + 0x68], rax
movabs rdi, 0x181c4a6d14a19223
mov qword [rsp + 0x130], r12
movabs rbx, 0x1389c778a33a3808
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x130], r15
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x130], r14
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x130], rsi
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x130], rdi
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x130], rbx
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x60]
vmovdqu ymm0, ymmword [rsp + 0x90]
vpxor ymm1, ymm0, ymmword [rsp + 0x60]
vmovdqu ymmword [rsp + 0x60], ymm1
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], 0
vzeroupper
call qword [sym.imp.USER32.dll_RegisterClassExW]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x130]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x13c]
cdq
sub eax, edx
sar eax, 1
lea r8d, [rax - 0xfa]
mov eax, dword [rsp + 0x138]
cdq
sub eax, edx
sar eax, 1
lea edx, [rax - 0x190]
movabs rax, 0xe253ce9e314d5ce2
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x130]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x130], r13
mov rcx, qword [rsp + 0x130]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x130], r12
mov rcx, qword [rsp + 0x130]
mov r9d, 0x80000000
mov qword [rsp + 0x70], rcx
xor ecx, ecx
mov qword [rsp + 0x130], r15
xor r15d, r15d
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x130], r14
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x130], rsi
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x130], rdi
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x130], rbx
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xa8], rax
vmovdqu ymm0, ymmword [rsp + 0x90]
vpxor ymm1, ymm0, ymmword [rsp + 0x60]
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x1f4
mov dword [rsp + 0x30], 0x320
mov dword [rsp + 0x28], r8d
lea r8, [rsp + 0x60]
mov dword [rsp + 0x20], edx
mov rdx, qword [rsp + 0x120]
vmovdqu ymmword [rsp + 0x60], ymm1
vzeroupper
call qword [sym.imp.USER32.dll_CreateWindowExW]
movdqa xmm0, xmmword [0x1401878c0]
lea rdx, [rsp + 0x140]
mov rcx, rax
mov rdi, rax
movdqu xmmword [rsp + 0x140], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
lea rax, [0x1405b00f0]
mov qword [rsp + 0xa4], r15
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea rax, [rsp + 0x80]
mov qword [rsp + 0xb8], 2
mov qword [rsp + 0x50], rax
xor r8d, r8d
lea rax, [0x1405b00e8]
mov qword [rsp + 0xd0], 2
mov qword [rsp + 0x48], rax
mov edx, 1
lea rax, [0x1405b00f8]
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rsp + 0x90]
mov dword [rsp + 0xa0], Ordinal_30
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x150]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x98], reloc.WLDAP32.dll_Ordinal_60
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xb4], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xac], 1
mov qword [rsp + 0xc8], 1
mov dword [rsp + 0x150], 0xb000
mov dword [rsp + 0x154], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x1400669e1
mov rcx, qword [0x1405b00f8]
lea r9, [rsp + 0x130]
lea r8, [0x140183f40]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [0x1405b00e8]
lea r9, [0x1405b0100]
mov rdx, qword [rsp + 0x130]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x130]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, 0xa
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1405aff70]
test rbx, rbx
je 0x140066739
inc dword [rbx + 0xec]
mov ecx, 0x5e68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140066755
xor edx, edx
mov rcx, rax
call fcn.140027580
jmp 0x140066758
mov rax, r15
mov qword [0x1405aff70], rax
call fcn.14002b260
test rbx, rbx
je 0x140066770
mov qword [0x1405aff70], rbx
mov rdx, rdi
call fcn.14000bb90
mov rcx, rdi
call fcn.140050970
mov rdi, qword [0x1405aff70]
mov r14, qword [0x1405b00f0]
mov rsi, qword [0x1405b00e8]
test rdi, rdi
je 0x1400667a0
inc dword [rdi + 0xec]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1400667e1
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x1400667e4
mov rbx, r15
or dword [rdi + 0xc], 8
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
lea r8, [rsp + 0x80]
mov qword [rdi + 0x98], rbx
lea rdx, [0x1401871f0]
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x150], r15
mov qword [rsp + 0x130], r15
call qword [rax]
test eax, eax
jne 0x140066885
mov rcx, qword [rsp + 0x80]
lea r8, [rsp + 0x150]
lea rdx, [0x140187200]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x140066885
mov rcx, qword [rsp + 0x150]
lea r8, [rsp + 0x130]
lea rdx, [0x140187210]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x140066885
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rsp + 0x130]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140066898
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x150]
test rcx, rcx
je 0x1400668ab
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x90]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14006692a
lea rcx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rsp + 0x98], 0x12
je 0x14006692a
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x90]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400668e2
mov rax, qword [0x1405aff70]
test rax, rax
je 0x14006693f
mov rcx, qword [rax + 0x98]
jmp 0x140066942
mov rcx, r15
cmp qword [rcx + 0x48], r15
jne 0x14006694d
call fcn.140050310
call fcn.1400512f0
call fcn.14002cd70
call fcn.140016a40
call fcn.14002eaa0
call fcn.14002eeb0
mov rcx, qword [0x1405b00f0]
lea r8, [0x1405b0100]
xor r9d, r9d
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x1405b00f0]
lea r8, [0x1405afe88]
mov rdx, qword [0x1405b0100]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1405aff70]
mov rcx, qword [rax + 0x48b8]
mov rax, qword [rcx]
mov rcx, r15
add rax, 0x48
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.14004f8a0
mov rcx, qword [0x1405b00f8]
xor r8d, r8d
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x40]
jmp 0x1400668c0
call fcn.140002150
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, 1
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1400c7f80
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret