Function at 0x140040e70
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
lea rdx, [0x14007c4d0]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140040ebb
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor esi, esi
mov qword [0x14007c46c], rsi
mov qword [0x14007c478], 1
mov qword [0x14007c494], rsi
mov dword [0x14007c49c], esi
mov eax, dword [0x14007c534]
mov dword [0x14007c460], eax
mov eax, dword [0x14007c4e0]
mov dword [0x14007c464], eax
mov dword [0x14007c468], 0x15
mov dword [0x14007c474], esi
mov dword [0x14007c490], 0x50
mov dword [0x14007c48c], 1
mov r9, qword [0x14007c658]
mov qword [0x14007c480], r9
mov dword [0x14007c488], 1
mov rcx, qword [0x14007c4d0]
mov rax, qword [rcx]
lea rdx, [0x14007c660]
mov qword [rsp + 0x30], rdx
lea rdx, [0x14007c460]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x20
xor edx, edx
lea r8d, [rsi + 1]
call qword [rax + 0x80]
mov rax, qword [0x14007c440]
test rax, rax
je 0x140040f78
inc dword [rax + 0x3c8]
mov ecx, 0x3bf0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x108], rax
lea rcx, [rbp + 0x100]
mov qword [rbp + 0x110], rcx
mov qword [rbp + 0x118], rax
test rax, rax
je 0x140040fb1
mov rcx, rax
call fcn.1400016f0
mov rdi, rax
jmp 0x140040fb4
mov rdi, rsi
mov rax, qword [0x14007c440]
test rax, rax
cmove rax, rdi
mov qword [0x14007c440], rax
mov dword [rbp - 0x24], esi
mov qword [rbp - 8], rsi
lea rcx, str.Window
mov qword [rbp - 0x30], rcx
xor r8d, r8d
xor edx, edx
call fcn.14001d630
mov dword [rbp - 0x28], eax
lea rax, [0x14000a390]
mov qword [rbp - 0x20], rax
lea rax, [0x14000a2b0]
mov qword [rbp - 0x18], rax
lea rax, [0x14000a070]
mov qword [rbp - 0x10], rax
lea rbx, [rdi + 0x2db0]
mov eax, dword [rbx]
mov ecx, dword [rbx + 4]
test eax, eax
jne 0x140041055
mov eax, esi
test ecx, ecx
jne 0x14004102c
lea edx, [rcx + 8]
mov rcx, rbx
call fcn.140002b60
mov eax, dword [rbx]
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rax + rcx*8], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax + rcx*8 + 0x20], xmm0
jmp 0x1400410bb
cmp eax, ecx
jne 0x140041085
lea r8d, [rax + 1]
test ecx, ecx
je 0x14004106c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140041071
mov eax, 8
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
mov rcx, rbx
call fcn.140002b60
mov eax, dword [rbx]
test eax, eax
jle 0x1400410a0
mov rdx, qword [rbx + 8]
cdqe
lea r8, [rax + rax*2]
shl r8, 4
lea rcx, [rdx + 0x30]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax + 0x20], xmm0
inc dword [rbx]
mov byte [rdi], 1
mov rax, qword [0x14007c440]
mov rdi, qword [rax + 0xa0]
mov qword [rbp + 0x100], rsi
lea r8, [rbp + 0x100]
lea r14, str.C:_Windows_Fonts_tahoma.ttf
mov rcx, r14
call fcn.14001d410
mov rbx, rax
test rax, rax
je 0x140041299
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], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x64], xmm0
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], 0
movss xmm0, dword [0x14004c644]
mov byte [rbp - 0x78], 0
mov dword [rbp - 0x74], esi
movss xmm1, dword [0x14004c4e4]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x6c], xmm2
movups xmmword [rbp - 0x5c], xmm2
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x40], rsi
movups xmm4, xmmword [rsp + 0x40]
movaps xmmword [rbp], xmm4
movups xmm5, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x10], xmm5
movups xmm6, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x20], xmm6
movups xmm7, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x30], xmm7
movups xmm3, xmmword [rbp - 0x80]
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm0
shufps xmm3, xmm3, 0xe1
movups xmmword [rbp - 0x80], xmm3
movaps xmmword [rbp + 0x40], xmm3
movups xmm0, xmmword [rbp - 0x70]
movss xmm0, xmm1
movups xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x60], xmm1
movups xmm8, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x70], xmm8
movsd xmm9, qword [rbp - 0x40]
movsd qword [rbp + 0x80], xmm9
movd eax, xmm2
test al, al
jne 0x140041244
lea r9, [0x14004bb93]
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x1400411f7
cmp al, 0x5c
je 0x1400411f7
mov r9, rcx
cmp rcx, r14
ja 0x1400411e0
movsd xmm0, qword [0x14004c538]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x54]
call fcn.14001d820
movsd xmm9, qword [rbp + 0x80]
movaps xmm8, xmmword [rbp + 0x70]
movaps xmm1, xmmword [rbp + 0x60]
movaps xmm0, xmmword [rbp + 0x50]
movaps xmm3, xmmword [rbp + 0x40]
movaps xmm7, xmmword [rbp + 0x30]
movaps xmm6, xmmword [rbp + 0x20]
movaps xmm5, xmmword [rbp + 0x10]
movaps xmm4, xmmword [rbp]
movaps xmmword [rsp + 0x40], xmm4
movaps xmmword [rsp + 0x50], xmm5
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rbp - 0x80], xmm3
movaps xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x60], xmm1
movaps xmmword [rbp - 0x50], xmm8
movsd qword [rbp - 0x40], xmm9
mov qword [rsp + 0x40], rbx
mov eax, dword [rbp + 0x100]
mov dword [rsp + 0x48], eax
movss xmm0, dword [0x14004c5dc]
movss dword [rsp + 0x54], xmm0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400221e0
mov rbx, qword [0x14007c658]
lea rcx, [0x14007c5e0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140041392
lea rcx, [0x14007c5d8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140041392
mov qword [0x14007c5d0], rbx
mov rcx, qword [0x14007c440]
or dword [rcx + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rcx + 0xd8], rax
mov qword [rcx + 0x108], rbx
mov dword [rcx + 0x3c], 9
mov dword [rcx + 0x40], 0x25
mov dword [rcx + 0x44], 0x27
mov dword [rcx + 0x48], 0x26
mov dword [rcx + 0x4c], 0x28
mov dword [rcx + 0x50], 0x21
mov dword [rcx + 0x54], 0x22
mov dword [rcx + 0x58], 0x24
mov dword [rcx + 0x5c], 0x23
mov dword [rcx + 0x60], 0x2d
mov dword [rcx + 0x64], 0x2e
mov dword [rcx + 0x68], 8
mov dword [rcx + 0x6c], 0x20
mov dword [rcx + 0x70], 0xd
mov dword [rcx + 0x74], 0x1b
mov dword [rcx + 0x78], 0x41
mov dword [rcx + 0x7c], 0x43
mov dword [rcx + 0x80], 0x56
mov dword [rcx + 0x84], 0x58
mov dword [rcx + 0x88], 0x59
mov dword [rcx + 0x8c], 0x5a
jmp 0x140041399
mov rcx, qword [0x14007c440]
mov rax, qword [0x14007c660]
lea rdx, str.imgui_impl_dx9
mov qword [rcx + 0xe0], rdx
mov qword [0x14007c5c0], rax
call fcn.14002c490
mov dword [rcx + 0x155c], esi
lea r11, [rsp + 0x1d0]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret