Function at 0x140009530
Capabilities:
Read file on windows
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x270
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x140084040]
xor rax, rsp
mov qword [rbp + 0x120], rax
lea rdx, [0x140085670]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14000959b
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ebx, ebx
mov qword [0x1400855fc], rbx
mov qword [0x140085608], 1
mov qword [0x140085624], rbx
mov dword [0x14008562c], ebx
mov eax, dword [0x1400856b8]
mov dword [0x1400855f0], eax
mov eax, dword [0x140085684]
mov dword [0x1400855f4], eax
mov dword [0x1400855f8], 0x15
mov dword [0x140085604], ebx
mov dword [0x140085620], 0x50
mov dword [0x14008561c], 1
mov r9, qword [0x1400857c8]
mov qword [0x140085610], r9
mov dword [0x140085618], 1
mov rcx, qword [0x140085670]
mov rax, qword [rcx]
lea rdx, [0x140085808]
mov qword [rsp + 0x30], rdx
lea rdx, [0x1400855f0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x20
xor edx, edx
lea r8d, [rbx + 1]
call qword [rax + 0x80]
mov rdi, qword [0x1400856e8]
test rdi, rdi
je 0x140009658
inc dword [rdi + 0xf4]
mov ecx, 0x5dd0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x20], rax
lea rcx, [rsp + 0x40]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
test rax, rax
je 0x140009686
xor edx, edx
mov rcx, rax
call fcn.140010b50
mov rbx, rax
mov qword [0x1400856e8], rbx
call fcn.1400147b0
test rdi, rdi
je 0x1400096a0
mov qword [0x1400856e8], rdi
jmp 0x1400096a7
mov rdi, qword [0x1400856e8]
mov rbx, qword [0x1400857c8]
lea rcx, [0x1400858b8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400097d3
lea rcx, [0x1400858b0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400097d3
mov qword [0x1400858a8], rbx
mov rcx, qword [0x1400856e8]
or dword [rcx + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rcx + 0x88], rax
mov qword [rcx + 0xd0], rbx
mov dword [rcx + 0x900], 9
mov dword [rcx + 0x904], 0x25
mov dword [rcx + 0x908], 0x27
mov dword [rcx + 0x90c], 0x26
mov dword [rcx + 0x910], 0x28
mov dword [rcx + 0x914], 0x21
mov dword [rcx + 0x918], 0x22
mov dword [rcx + 0x91c], 0x24
mov dword [rcx + 0x920], 0x23
mov dword [rcx + 0x924], 0x2d
mov dword [rcx + 0x928], 0x2e
mov dword [rcx + 0x92c], 8
mov dword [rcx + 0x930], 0x20
mov dword [rcx + 0x934], 0xd
mov dword [rcx + 0x938], 0x1b
mov dword [rcx + 0x988], 0x41
mov dword [rcx + 0x990], 0x43
mov dword [rcx + 0x9dc], 0x56
mov dword [rcx + 0x9e4], 0x58
mov dword [rcx + 0x9e8], 0x59
mov dword [rcx + 0x9ec], 0x5a
jmp 0x1400097da
mov rcx, qword [0x1400856e8]
mov rax, qword [0x140085808]
lea rdx, str.imgui_impl_dx9
mov qword [rcx + 0x90], rdx
mov qword [0x140085898], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov byte [rsp + 0x5c], 1
mov dword [rbp - 0x6c], 0x7f7fffff
mov dword [rbp - 0x60], 0x3f800000
mov r13d, 0xffff
mov word [rbp - 0x5c], r13w
mov byte [rbp - 0x68], 1
mov byte [rsp + 0x70], 1
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], 3
mov r15, qword [rdi + 0x58]
lea rdx, [0x14007a2ec]
lea r12, str.C:WindowsFontsArial.ttf
mov rcx, r12
call fcn.140012250
mov rbx, rax
test rax, rax
je 0x140009ae0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x140009ad7
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009ad7
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140009ad7
xor r8d, r8d
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009ad7
cmp rsi, 0xffffffffffffffff
je 0x140009ad7
mov rax, qword [0x1400856e8]
test rax, rax
je 0x1400098f3
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x140009ad7
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x14000994a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400856e8]
test rax, rax
je 0x14000993c
dec dword [rax + 0xf4]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140009ae0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x40], xmm1
movups xmmword [rbp + 0x50], xmm1
mov qword [rbp + 0x80], rax
mov byte [rbp + 0xc], 1
mov dword [rbp + 0x18], 3
mov dword [rbp + 0x1c], 1
mov dword [rbp + 0x44], 0x7f7fffff
mov dword [rbp + 0x50], 0x3f800000
mov word [rbp + 0x54], r13w
movaps xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x90], xmm3
movaps xmm4, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0xa0], xmm4
movaps xmmword [rbp + 0xb0], xmm1
xorps xmm5, xmm5
movaps xmmword [rbp + 0xc0], xmm5
movaps xmm6, xmmword [rbp + 0x40]
movaps xmmword [rbp + 0xd0], xmm6
movaps xmm2, xmmword [rbp + 0x50]
movaps xmmword [rbp + 0xe0], xmm2
xorps xmm7, xmm7
movaps xmmword [rbp + 0xf0], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0x100], xmm8
movsd xmm9, qword [rbp + 0x80]
movsd qword [rbp + 0x110], xmm9
movdqa xmm0, xmm2
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x140009a91
lea r9, [0x140056042]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x140009a29
cmp al, 0x5c
je 0x140009a29
mov r9, rcx
cmp rcx, r12
ja 0x140009a12
movsd xmm0, qword [0x14007ac98]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0xe6]
call fcn.140012060
movsd xmm9, qword [rbp + 0x110]
movaps xmm8, xmmword [rbp + 0x100]
movaps xmm7, xmmword [rbp + 0xf0]
movaps xmm2, xmmword [rbp + 0xe0]
movaps xmm6, xmmword [rbp + 0xd0]
movaps xmm5, xmmword [rbp + 0xc0]
movaps xmm1, xmmword [rbp + 0xb0]
movaps xmm4, xmmword [rbp + 0xa0]
movaps xmm3, xmmword [rbp + 0x90]
movaps xmmword [rbp], xmm3
movaps xmmword [rbp + 0x10], xmm4
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm5
movaps xmmword [rbp + 0x40], xmm6
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm7
movaps xmmword [rbp + 0x70], xmm8
movsd qword [rbp + 0x80], xmm9
mov qword [rbp], r14
mov dword [rbp + 8], esi
mov dword [rbp + 0x14], 0x41600000
lea rdx, [rbp]
mov rcx, r15
call fcn.140036d40
jmp 0x140009ae0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rax, [0x1400562d4]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
movss xmm3, dword [0x14007ad60]
lea rdx, [0x140056340]
mov rcx, qword [rdi + 0x58]
call fcn.140037190
mov rcx, qword [0x140085670]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140052ce0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret