Function at 0x140040770
Capabilities:
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
lea rdx, [0x140130cb0]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x1400407a5
mov eax, 0x80004005
add rsp, 0x190
pop rbp
ret
mov eax, dword [0x140130d54]
lea rdx, [0x140130d38]
mov rcx, qword [0x140130cb0]
mov r8d, 1
mov r9, qword [0x140130ca8]
mov qword [rsp + 0x38], rdx
lea rdx, [0x140130cf0]
mov dword [0x140130cf0], eax
mov eax, dword [0x140130d50]
mov qword [0x140130d08], 1
mov dword [0x140130d18], 1
mov qword [0x140130d10], r9
mov dword [0x140130cf8], 0x15
mov dword [0x140130cf4], eax
mov dword [0x140130d1c], 1
mov dword [0x140130d20], 0x50
mov qword [rsp + 0x1a8], rsi
xor esi, esi
mov qword [0x140130cfc], rsi
mov qword [0x140130d24], rsi
mov dword [0x140130d04], esi
mov dword [0x140130d2c], esi
mov rax, qword [rcx]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x14004087c
mov rcx, qword [0x140130cb0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x1a0], rbx
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0x1b8], r14
movaps xmmword [rsp + 0x180], xmm6
movaps xmmword [rsp + 0x170], xmm7
movaps xmmword [rsp + 0x160], xmm8
call fcn.140005f20
mov rdi, qword [0x140130ca8]
lea rcx, [0x140131108]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400409ab
lea rcx, [0x140131100]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400409ab
mov rbx, qword [0x140130c30]
lea rax, str.imgui_impl_win32
mov qword [0x1401310f8], rdi
or dword [rbx + 0xc], 6
mov qword [rbx + 0xd8], rax
mov qword [rbx + 0x108], rdi
mov dword [rbx + 0x3c], 9
mov dword [rbx + 0x40], Ordinal_41
mov dword [rbx + 0x44], Ordinal_41
mov dword [rbx + 0x48], Ordinal_41
mov dword [rbx + 0x4c], Ordinal_46
mov dword [rbx + 0x50], reloc.WLDAP32.dll_Ordinal_33
mov dword [rbx + 0x54], Ordinal_35
mov dword [rbx + 0x58], Ordinal_41
mov dword [rbx + 0x5c], reloc.WLDAP32.dll_Ordinal_35
mov dword [rbx + 0x60], reloc.WLDAP32.dll_Ordinal_45
mov dword [rbx + 0x64], reloc.WLDAP32.dll_Ordinal_46
mov dword [rbx + 0x68], 8
mov dword [rbx + 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rbx + 0x70], reloc.WS2_32.dll_listen
mov dword [rbx + 0x74], reloc.WLDAP32.dll_Ordinal_27
mov dword [rbx + 0x78], 0x41
mov dword [rbx + 0x7c], 0x43
mov dword [rbx + 0x80], 0x56
mov dword [rbx + 0x84], 0x58
mov dword [rbx + 0x88], 0x59
mov dword [rbx + 0x8c], 0x5a
jmp 0x1400409b2
mov rbx, qword [0x140130c30]
cmp byte [reloc.WS2_32.dll_accept], sil
mov rax, qword [0x140130d38]
je 0x1400409c9
mov byte [reloc.WS2_32.dll_accept], sil
lea rcx, str.imgui_impl_dx9
mov qword [0x1401310e8], rax
mov qword [rbx + 0xe0], rcx
call fcn.14001cdf0
movss xmm2, dword [0x14011a944]
lea rdx, str.C:WindowsFontsPlaq.ttf
mov rcx, qword [rbx + 0xa0]
call fcn.140021320
movss xmm2, dword [0x14011a958]
lea rdx, str.C:WindowsFontslucon.ttf
mov rcx, qword [rbx + 0xa0]
mov qword [0x140130d40], rax
call fcn.140021320
mov r14, qword [rbx + 0xa0]
xorps xmm0, xmm0
mov qword [0x140130c50], rax
xor eax, eax
mov qword [rbp - 0x4c], rax
mov rax, qword [0x140130c30]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x48], esi
mov byte [rsp + 0x4c], 1
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x5c], 1
mov byte [rsp + 0x60], sil
mov qword [rsp + 0x64], rsi
mov qword [rsp + 0x6c], rsi
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x7c], 0x7f7fffff
mov dword [rbp - 0x74], esi
mov dword [rbp - 0x70], 0x3f800000
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x80], 0x41800000
mov byte [rbp - 0x78], 1
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
test rax, rax
je 0x140040aa8
inc dword [rax + 0x3c8]
mov ecx, 0x6106c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
lea rbx, [0x1400de300]
lea rax, [0x1400de2f0]
mov qword [0x1401310c8], rsi
mov rcx, rbx
mov qword [0x1401310b8], rax
mov qword [0x1401310d0], rsi
lea rdi, [rsi + 0x6106c]
mov qword [0x1401310c0], rdi
call fcn.1400246d0
cmp rax, rbx
je 0x140040b0d
cmp qword [0x1401310d0], rdi
ja 0x140040b0d
mov rcx, rax
mov rbx, rax
call fcn.1400246d0
cmp rax, rbx
jne 0x140040af4
movaps xmm0, xmmword [rsp + 0x40]
lea rax, [0x14011a0b0]
movaps xmm2, xmmword [rsp + 0x50]
lea rdx, [rsp + 0x40]
movaps xmm4, xmmword [rsp + 0x70]
mov rcx, r14
movaps xmm3, xmmword [rsp + 0x60]
movaps xmm5, xmmword [rbp - 0x80]
movaps xmm6, xmmword [rbp - 0x70]
movaps xmm7, xmmword [rbp - 0x60]
movaps xmm8, xmmword [rbp - 0x50]
movsd xmm1, qword [rbp - 0x40]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x70], xmm4
mov byte [rbp - 0x24], 1
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x48], 0x6106c
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rbp - 0x80], xmm5
movaps xmmword [rbp - 0x70], xmm6
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm8
movsd qword [rbp - 0x40], xmm1
mov dword [rsp + 0x54], 0x41800000
mov qword [rsp + 0x78], rax
call fcn.1400210a0
mov rcx, qword [0x140130cb0]
mov qword [0x140130c58], rax
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
movaps xmm8, xmmword [rsp + 0x160]
xor eax, eax
movaps xmm7, xmmword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x180]
mov r14, qword [rsp + 0x1b8]
mov rdi, qword [rsp + 0x1b0]
mov rbx, qword [rsp + 0x1a0]
mov rsi, qword [rsp + 0x1a8]
add rsp, 0x190
pop rbp
ret