Function at 0x140053f30
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, 0x1b0
mov rax, qword [0x140185080]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [0x1402aba30]
call fcn.14005fa20
xorps xmm0, xmm0
mov dword [rsp + 0x100], 0x50
lea rax, [0x140054740]
mov dword [rsp + 0x104], 0x40
xor ebx, ebx
mov qword [rsp + 0x108], rax
xor ecx, ecx
mov qword [rsp + 0x110], rbx
movups xmmword [rsp + 0x150], xmm0
movups xmmword [rsp + 0x160], xmm0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov qword [rsp + 0x118], rax
lea edx, [rbx + 0x67]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x128], rbx
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x120], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x130], xmm0
movabs r13, 0xb66caf1e5ee3dbf4
movabs r12, 0x5141c64ce7ad22ca
movabs r15, 0x9305a1c32088b6b2
mov qword [rsp + 0x60], r12
movabs r14, 0x622476c32bfaf400
mov rax, qword [rsp + 0x60]
movabs rsi, 0x5138c629e7df228d
mov qword [rsp + 0x70], rax
movabs rdi, 0x9369a1ac20cbb692
mov qword [rsp + 0x60], r15
movabs rbx, 0x622476c32b88f46f
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x60], r14
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], r13
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x60], rsi
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rdi
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x60], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x60], r13
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x70]
vmovdqu ymm0, ymmword [rsp + 0xa0]
vpxor ymm1, ymm0, ymmword [rsp + 0x70]
vmovdqu ymmword [rsp + 0x70], ymm1
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], 0
vzeroupper
call qword [sym.imp.USER32.dll_RegisterClassExW]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x178]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x184]
cdq
sub eax, edx
sar eax, 1
lea r8d, [rax - 0x12c]
mov eax, dword [rsp + 0x180]
cdq
mov qword [rsp + 0x60], r12
mov rcx, qword [rsp + 0x60]
sub eax, edx
mov qword [rsp + 0x70], rcx
sar eax, 1
mov qword [rsp + 0x60], r15
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x78], rcx
lea edx, [rax - 0x12c]
mov qword [rsp + 0x60], r14
xor r15d, r15d
mov rcx, qword [rsp + 0x60]
mov r9d, 0x80000000
mov qword [rsp + 0x80], rcx
xor ecx, ecx
mov qword [rsp + 0x60], r13
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x60], rsi
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], rdi
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x60], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x60], r13
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
vmovdqu ymm0, ymmword [rsp + 0xa0]
vpxor ymm1, ymm0, ymmword [rsp + 0x70]
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x258
mov dword [rsp + 0x30], 0x258
mov dword [rsp + 0x28], r8d
lea r8, [rsp + 0x70]
mov dword [rsp + 0x20], edx
mov rdx, qword [rsp + 0x140]
vmovdqu ymmword [rsp + 0x70], ymm1
vzeroupper
call qword [sym.imp.USER32.dll_CreateWindowExW]
movdqa xmm0, xmmword [0x140173c00]
lea rdx, [rsp + 0x188]
mov rcx, rax
mov rdi, rax
movdqu xmmword [rsp + 0x188], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
lea rax, [rsp + 0x158]
mov qword [rsp + 0xb4], r15
mov qword [rsp + 0x58], rax
lea edx, [r15 + 1]
lea rax, [rsp + 0x170]
mov qword [rsp + 0xc8], 2
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rsp + 0x150]
mov qword [rsp + 0xe0], 2
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x160]
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rsp + 0xa0]
mov dword [rsp + 0xb0], Ordinal_35
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x198]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xa8], reloc.WLDAP32.dll_Ordinal_60
mov dword [rsp + 0xac], 1
mov dword [rsp + 0xc4], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xbc], 1
mov qword [rsp + 0xd8], 1
mov dword [rsp + 0x198], 0xb000
mov dword [rsp + 0x19c], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140054409
mov rcx, qword [rsp + 0x168]
test rcx, rcx
je 0x14005436b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x168], r15
mov rcx, qword [rsp + 0x160]
test rcx, rcx
je 0x140054386
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x160], r15
mov rcx, qword [rsp + 0x158]
test rcx, rcx
je 0x1400543a1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x158], r15
mov rcx, qword [rsp + 0x150]
test rcx, rcx
je 0x1400543bc
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x150], r15
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, 1
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400b6480
lea r11, [rsp + 0x1b0]
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
mov rcx, qword [rsp + 0x160]
lea r9, [rsp + 0xf0]
lea r8, [0x140171a60]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x150]
lea r9, [rsp + 0x168]
mov rdx, qword [rsp + 0xf0]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0xf0]
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 [0x1402ab888]
test rbx, rbx
je 0x140054480
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 0x14005449c
xor edx, edx
mov rcx, rax
call fcn.140015370
jmp 0x14005449f
mov rax, r15
mov qword [0x1402ab888], rax
call fcn.140019070
test rbx, rbx
je 0x1400544b7
mov qword [0x1402ab888], rbx
mov rdx, rdi
call fcn.14000d320
mov rcx, rdi
call fcn.14003fc90
mov rdi, qword [0x1402ab888]
mov r14, qword [rsp + 0x158]
mov rsi, qword [rsp + 0x150]
test rdi, rdi
je 0x1400544e9
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 0x14005452a
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 0x14005452d
mov rbx, r15
or dword [rdi + 0xc], 8
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
lea r8, [rsp + 0x90]
mov qword [rdi + 0x98], rbx
lea rdx, [0x140173640]
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xf8], r15
call qword [rax]
test eax, eax
jne 0x1400545ce
mov rcx, qword [rsp + 0x90]
lea r8, [rsp + 0x98]
lea rdx, [0x140173650]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x1400545ce
mov rcx, qword [rsp + 0x98]
lea r8, [rsp + 0xf8]
lea rdx, [0x140173660]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x1400545ce
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rsp + 0xf8]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400545e1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400545f4
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 word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14005467a
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rsp + 0xa8], 0x12
je 0x14005467a
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140054632
mov rax, qword [0x1402ab888]
test rax, rax
je 0x14005468f
mov rcx, qword [rax + 0x98]
jmp 0x140054692
mov rcx, r15
cmp qword [rcx + 0x48], r15
jne 0x14005469d
call fcn.14003f630
call fcn.140040610
call fcn.14001a8c0
call fcn.140013950
call fcn.14001c5e0
call fcn.14001c9f0
mov rcx, qword [rsp + 0x158]
lea r8, [rsp + 0x168]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [rsp + 0x158]
lea r8, [0x1402ab848]
mov rdx, qword [rsp + 0x168]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1402ab888]
mov rcx, qword [rax + 0x48b8]
mov rax, qword [rcx]
mov rcx, r15
add rax, 0x48
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.14003ebd0
mov rcx, qword [rsp + 0x160]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
jmp 0x140054610