Function at 0x14003c130
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x1400cf0c0]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x1400d0a78], rax
test rax, rax
je 0x14003c27e
xor r15d, r15d
mov qword [0x1400d0a80], r15
mov qword [0x1400d0a8c], r15
mov qword [0x1400d0a9c], r15
mov dword [0x1400d0aa4], r15d
mov qword [0x1400d0ab0], 0x50
mov dword [0x1400d0aa8], 1
mov dword [0x1400d0a98], 1
mov dword [0x1400d0a94], r15d
mov dword [0x1400d0a88], r15d
mov dword [0x1400d0aac], 1
mov dword [0x1400d0ab8], r15d
mov dword [0x1400d0abc], 1
mov rax, qword [rax]
lea rdx, [0x1400d0a70]
mov qword [rsp + 0x30], rdx
lea rdx, [0x1400d0a80]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, qword [0x1400d00e8]
xor edx, edx
lea r8d, [r15 + 1]
call qword [rax + 0x80]
test eax, eax
jns 0x14003c285
mov rcx, qword [0x1400d0a70]
test rcx, rcx
je 0x14003c251
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400d0a70], r15
mov rcx, qword [0x1400d0a78]
test rcx, rcx
je 0x14003c26a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400d0a78], r15
mov rdx, qword [0x1400d0098]
mov rcx, qword [0x1400d00c0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor al, al
jmp 0x14003c5d4
mov rbx, qword [0x1400d0050]
test rbx, rbx
je 0x14003c297
inc dword [rbx + 0xf0]
mov ecx, 0x5ed8
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 [rsp + 0x48], rax
test rax, rax
je 0x14003c2c5
xor edx, edx
mov rcx, rax
call fcn.140002f20
jmp 0x14003c2c8
mov rax, r15
mov qword [0x1400d0050], rax
call fcn.140006c20
test rbx, rbx
je 0x14003c2e0
mov qword [0x1400d0050], rbx
mov rcx, qword [0x1400d00e8]
call fcn.14002d2e0
mov rdi, qword [0x1400d0a70]
mov rbx, qword [0x1400d0050]
test rbx, rbx
je 0x14003c305
inc dword [rbx + 0xf0]
mov ecx, Ordinal_41
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14003c334
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x14003c337
mov rax, r15
mov qword [rbx + 0x98], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x88], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [0x1400d0050]
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], r15
mov r14, qword [rax + 0x38]
lea rdx, [0x1400b7500]
lea r12, str.C:WindowsFontsCalibri.ttf
mov rcx, r12
call fcn.140004af0
mov rbx, rax
test rax, rax
je 0x14003c5c4
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14003c5bb
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 0x14003c5bb
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14003c5bb
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14003c5bb
cmp rdi, 0xffffffffffffffff
je 0x14003c5bb
mov rax, qword [0x1400d0050]
test rax, rax
je 0x14003c403
inc dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14003c5bb
mov r9, rbx
mov r8, rdi
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, rdi
je 0x14003c45a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400d0050]
test rax, rax
je 0x14003c44c
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14003c5c4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
mov qword [rbp - 0x30], rax
mov byte [rsp + 0x5c], 1
mov dword [rsp + 0x68], 2
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x6c], 0x7f7fffff
mov dword [rbp - 0x60], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x5c], ax
movaps xmm3, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x10], xmm3
movaps xmm4, xmmword [rsp + 0x60]
movaps xmmword [rbp], xmm4
movaps xmmword [rbp + 0x10], xmm2
xorps xmm5, xmm5
movaps xmmword [rbp + 0x20], xmm5
movaps xmm6, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x30], xmm6
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x40], xmm1
xorps xmm7, xmm7
movaps xmmword [rbp + 0x50], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0x60], xmm8
movsd xmm9, qword [rbp - 0x30]
movsd qword [rbp + 0x70], xmm9
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x14003c571
lea r9, [0x1400bce1c]
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14003c527
cmp al, 0x5c
je 0x14003c527
mov r9, rcx
cmp rcx, r12
ja 0x14003c510
movsd xmm0, qword [0x1400be0a8]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, Ordinal_41
lea rcx, [rbp + 0x46]
call fcn.1400048a0
movsd xmm9, qword [rbp + 0x70]
movaps xmm8, xmmword [rbp + 0x60]
movaps xmm7, xmmword [rbp + 0x50]
movaps xmm1, xmmword [rbp + 0x40]
movaps xmm6, xmmword [rbp + 0x30]
movaps xmm5, xmmword [rbp + 0x20]
movaps xmm2, xmmword [rbp + 0x10]
movaps xmm4, xmmword [rbp]
movaps xmm3, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x60], xmm4
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rbp - 0x80], xmm5
movaps xmmword [rbp - 0x70], xmm6
movaps xmmword [rbp - 0x60], xmm1
movaps xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm8
movsd qword [rbp - 0x30], xmm9
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x64], 0x41800000
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1400283f0
jmp 0x14003c5c4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400d0050]
mov dword [rax + 0x37dc], r15d
mov al, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400a3990
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
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 rbp
ret