Function at 0x140089180
Capabilities:
Read file on windows

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 - 0x188]
sub rsp, 0x260
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x14014d0c0]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor r12d, r12d
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x50], Ordinal_35
mov dword [rbp - 0x48], r12d
mov dword [rbp - 0x58], reloc.WLDAP32.dll_Ordinal_60
mov dword [rbp - 0x54], 1
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x3c], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [0x140150ce0]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x44], 8
mov dword [rbp - 0x80], 0xb000
mov dword [rbp - 0x7c], 0xa000
lea rax, [0x140150800]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x50], rax
lea rax, [0x140150808]
mov qword [rsp + 0x48], rax
lea rax, [0x140150750]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140089293
xor eax, eax
jmp 0x140089939
mov rbx, qword [0x14014f9f0]
test rbx, rbx
je 0x1400892a5
inc dword [rbx + 0xf0]
mov ecx, 0x5e78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400892d5
xor edx, edx
mov rcx, rax
call fcn.140035c60
jmp 0x1400892d8
mov rax, r12
mov qword [0x14014f9f0], rax
call fcn.140039840
test rbx, rbx
je 0x1400892f2
mov qword [0x14014f9f0], rbx
jmp 0x1400892f9
mov rbx, qword [0x14014f9f0]
xor ecx, ecx
call fcn.1400572e0
mov rax, qword [0x14014f9f0]
mov dword [rax + 0x37d0], 0x41700000
mov qword [rax + 0x37d4], 0x41700000
mov dword [rax + 0x3804], 0x40a00000
mov dword [rax + 0x3808], 0x40a00000
mov dword [rax + 0x3814], 0x41400000
mov dword [rax + 0x3818], 0x41000000
mov dword [rax + 0x381c], 0x41000000
mov dword [rax + 0x3820], 0x40c00000
mov dword [rax + 0x3834], 0x41c80000
mov qword [rax + 0x383c], 0x41700000
mov qword [rax + 0x3844], 0x40a00000
movaps xmm0, xmmword [0x1401397b0]
movups xmmword [rax + 0x38a4], xmm0
movaps xmm1, xmm0
movups xmmword [rax + 0x38b4], xmm0
movaps xmm0, xmmword [0x140139710]
movups xmmword [rax + 0x38c4], xmm0
movaps xmm1, xmmword [0x140139720]
movups xmmword [rax + 0x38e4], xmm1
movaps xmm0, xmmword [0x1401396b0]
movups xmmword [rax + 0x3904], xmm0
movups xmmword [rax + 0x3914], xmm1
movaps xmm0, xmmword [0x140139740]
movups xmmword [rax + 0x3924], xmm0
movaps xmm1, xmmword [0x140139760]
movups xmmword [rax + 0x3934], xmm1
movaps xmm0, xmmword [0x140139710]
movups xmmword [rax + 0x3944], xmm0
movaps xmm1, xmm0
movups xmmword [rax + 0x3964], xmm0
movups xmmword [rax + 0x3954], xmm0
movaps xmm1, xmmword [0x1401397b0]
movups xmmword [rax + 0x3974], xmm1
movaps xmm0, xmmword [0x140139770]
movups xmmword [rax + 0x3984], xmm0
movaps xmm1, xmmword [0x140139730]
movups xmmword [rax + 0x3994], xmm1
movaps xmm0, xmmword [0x140139740]
movups xmmword [rax + 0x39a4], xmm0
movaps xmm1, xmmword [0x140139750]
movups xmmword [rax + 0x39b4], xmm1
movaps xmm0, xmmword [0x1401397a0]
movups xmmword [rax + 0x39c4], xmm0
movaps xmm1, xmmword [0x1401397b0]
movups xmmword [rax + 0x39d4], xmm1
movaps xmm0, xmm1
movups xmmword [rax + 0x39e4], xmm1
movaps xmm1, xmmword [0x140139720]
movups xmmword [rax + 0x39f4], xmm1
movaps xmm0, xmmword [0x140139740]
movups xmmword [rax + 0x3a04], xmm0
movaps xmm1, xmmword [0x140139760]
movups xmmword [rax + 0x3a14], xmm1
movaps xmm0, xmmword [0x140139720]
movups xmmword [rax + 0x3a24], xmm0
movaps xmm1, xmm0
movups xmmword [rax + 0x3a34], xmm0
movups xmmword [rax + 0x3a44], xmm0
movaps xmm1, xmmword [0x1401397b0]
movups xmmword [rax + 0x3a84], xmm1
movaps xmm0, xmm1
movups xmmword [rax + 0x3a94], xmm1
movups xmmword [rax + 0x3aa4], xmm1
movups xmmword [rax + 0x3b04], xmm1
movups xmmword [rax + 0x3b14], xmm1
movups xmmword [rax + 0x3b24], xmm1
movups xmmword [rax + 0x3b34], xmm1
movups xmmword [rax + 0x3b94], xmm1
mov dword [rax + 0x37e8], 0x3f000000
mov dword [rax + 0x380c], r12d
mov r15, qword [rbx + 0x38]
lea rdx, [0x140137be0]
lea r13, str.C:WindowsFontsArial.ttf
mov rcx, r13
call fcn.140037500
mov rdi, rax
test rax, rax
je 0x140089796
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x14008978d
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14008978d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14008978d
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14008978d
cmp rsi, 0xffffffffffffffff
je 0x14008978d
mov rax, qword [0x14014f9f0]
test rax, rax
je 0x14008959e
inc dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x14008978d
mov r9, rdi
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, rdi
cmp rax, rsi
je 0x1400895f5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14014f9f0]
test rax, rax
je 0x1400895e7
dec dword [rax + 0xf0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140089796
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x10], xmm2
movups xmmword [rbp], xmm2
movups xmmword [rbp + 0x30], xmm2
movups xmmword [rbp + 0x40], xmm2
mov qword [rbp + 0x70], rax
mov byte [rbp - 4], 1
mov dword [rbp + 8], 2
mov dword [rbp + 0xc], 1
mov dword [rbp + 0x34], 0x7f7fffff
mov dword [rbp + 0x40], 0x3f800000
mov eax, 0xffff
mov word [rbp + 0x44], ax
movaps xmm3, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0x80], xmm3
movaps xmm4, xmmword [rbp]
movaps xmmword [rbp + 0x90], xmm4
movaps xmmword [rbp + 0xa0], xmm2
xorps xmm5, xmm5
movaps xmmword [rbp + 0xb0], xmm5
movaps xmm6, xmmword [rbp + 0x30]
movaps xmmword [rbp + 0xc0], xmm6
movaps xmm1, xmmword [rbp + 0x40]
movaps xmmword [rbp + 0xd0], xmm1
xorps xmm7, xmm7
movaps xmmword [rbp + 0xe0], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0xf0], xmm8
movsd xmm9, qword [rbp + 0x70]
movsd qword [rbp + 0x100], xmm9
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x14008973f
lea r9, [0x140138e9a]
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x1400896d7
cmp al, 0x5c
je 0x1400896d7
mov r9, rcx
cmp rcx, r13
ja 0x1400896c0
movsd xmm0, qword [0x1401393e8]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, Ordinal_41
lea rcx, [rbp + 0xd6]
call fcn.1400372b0
movsd xmm9, qword [rbp + 0x100]
movaps xmm8, xmmword [rbp + 0xf0]
movaps xmm7, xmmword [rbp + 0xe0]
movaps xmm1, xmmword [rbp + 0xd0]
movaps xmm6, xmmword [rbp + 0xc0]
movaps xmm5, xmmword [rbp + 0xb0]
movaps xmm2, xmmword [rbp + 0xa0]
movaps xmm4, xmmword [rbp + 0x90]
movaps xmm3, xmmword [rbp + 0x80]
movaps xmmword [rbp - 0x10], xmm3
movaps xmmword [rbp], xmm4
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm5
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm7
movaps xmmword [rbp + 0x60], xmm8
movsd qword [rbp + 0x70], xmm9
mov qword [rbp - 0x10], r14
mov dword [rbp - 8], esi
mov dword [rbp + 4], 0x41600000
lea rax, [0x140137e24]
mov qword [rbp + 0x28], rax
lea rdx, [rbp - 0x10]
mov rcx, r15
call fcn.14005bc50
jmp 0x140089796
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov dword [rbx + 8], reloc.WLDAP32.dll_Ordinal_32
mov rcx, qword [0x140150750]
mov rax, qword [rcx]
lea r9, [rbp - 0x78]
lea r8, [0x140138100]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140150808]
mov rax, qword [rcx]
lea r9, [0x140150758]
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
call qword [rax + 0x48]
mov rcx, qword [0x1401507c8]
call fcn.1400603d0
mov r14, qword [0x140150800]
mov rsi, qword [0x140150808]
mov rdi, qword [0x14014f9f0]
test rdi, rdi
je 0x1400897fe
inc dword [rdi + 0xf0]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14008984a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
jmp 0x14008984d
mov rbx, r12
mov qword [rdi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 8
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x68], r12
mov rax, qword [rsi]
lea r8, [rsp + 0x70]
lea rdx, [0x140130e18]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x1400898d3
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
lea rdx, [0x140130e28]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x1400898d3
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [0x140130e38]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x1400898d3
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400898e3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400898f3
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]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
mov rcx, qword [0x140150ce0]
call qword [0x140150e08]
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140114060
lea r11, [rsp + 0x260]
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