Function at 0x1400bdbe0
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 [0x140304440]
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_33
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 [0x140309b08]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x44], 8
mov dword [rbp - 0x80], 0xb000
mov dword [rbp - 0x7c], 0xa000
lea rax, [0x140309858]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x50], rax
lea rax, [0x140309860]
mov qword [rsp + 0x48], rax
lea rax, [0x1403099b0]
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
mov edx, 1
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x1400bdcf3
xor eax, eax
jmp 0x1400be511
mov rbx, qword [0x140308c38]
test rbx, rbx
je 0x1400bdd05
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 0x1400bdd35
xor edx, edx
mov rcx, rax
call fcn.140073030
jmp 0x1400bdd38
mov rax, r12
mov qword [0x140308c38], rax
call fcn.140077290
test rbx, rbx
je 0x1400bdd52
mov qword [0x140308c38], rbx
jmp 0x1400bdd59
mov rbx, qword [0x140308c38]
xor ecx, ecx
call fcn.140094b10
mov rax, qword [0x140308c38]
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
movdqa xmm0, xmmword [0x1402e0dd0]
movups xmmword [rax + 0x38a4], xmm0
movdqa xmm1, xmmword [0x1402e0c70]
movups xmmword [rax + 0x38b4], xmm1
movdqa xmm0, xmmword [0x1402e0a80]
movups xmmword [rax + 0x38c4], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x38d4], xmm0
movdqa xmm1, xmmword [0x1402e0aa0]
movups xmmword [rax + 0x38e4], xmm1
movdqa xmm0, xmmword [0x1402e08e0]
movups xmmword [rax + 0x38f4], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x3904], xmm0
movdqa xmm1, xmmword [0x1402e0960]
movups xmmword [rax + 0x3914], xmm1
movdqa xmm0, xmmword [0x1402e09a0]
movups xmmword [rax + 0x3924], xmm0
movdqa xmm1, xmmword [0x1402e09b0]
movups xmmword [rax + 0x3934], xmm1
movdqa xmm0, xmmword [0x1402e0b70]
movups xmmword [rax + 0x3944], xmm0
movdqa xmm1, xmmword [0x1402e0c20]
movups xmmword [rax + 0x3954], xmm1
movdqa xmm0, xmmword [0x1402e0cf0]
movups xmmword [rax + 0x3964], xmm0
movdqa xmm1, xmmword [0x1402e0b90]
movups xmmword [rax + 0x3974], xmm1
movdqa xmm0, xmmword [0x1402e0930]
movups xmmword [rax + 0x3984], xmm0
movdqa xmm1, xmmword [0x1402e0bf0]
movups xmmword [rax + 0x3994], xmm1
movdqa xmm0, xmmword [0x1402e0ca0]
movups xmmword [rax + 0x39a4], xmm0
movdqa xmm1, xmmword [0x1402e0d10]
movups xmmword [rax + 0x39b4], xmm1
movdqa xmm2, xmmword [0x1402e0d30]
movups xmmword [rax + 0x39c4], xmm2
movdqa xmm0, xmmword [0x1402e0900]
movups xmmword [rax + 0x39d4], xmm0
movdqa xmm1, xmmword [0x1402e0cc0]
movups xmmword [rax + 0x39e4], xmm1
movups xmmword [rax + 0x39f4], xmm2
movdqa xmm0, xmmword [0x1402e0d60]
movups xmmword [rax + 0x3a04], xmm0
movdqa xmm1, xmmword [0x1402e0cd0]
movups xmmword [rax + 0x3a14], xmm1
movdqa xmm0, xmmword [0x1402e0950]
movups xmmword [rax + 0x3a24], xmm0
movdqa xmm1, xmmword [0x1402e09d0]
movups xmmword [rax + 0x3a34], xmm1
movdqa xmm0, xmmword [0x1402e09e0]
movups xmmword [rax + 0x3a44], xmm0
movdqa xmm1, xmmword [0x1402e0c10]
movups xmmword [rax + 0x3a54], xmm1
movups xmmword [rax + 0x3a64], xmm1
movups xmmword [rax + 0x3a74], xmm1
movdqa xmm0, xmmword [0x1402e0a40]
movups xmmword [rax + 0x3a84], xmm0
movdqa xmm1, xmmword [0x1402e0990]
movups xmmword [rax + 0x3a94], xmm1
movdqa xmm0, xmmword [0x1402e0a70]
movups xmmword [rax + 0x3aa4], xmm0
movdqa xmm1, xmmword [0x1402e0920]
movups xmmword [rax + 0x3ab4], xmm1
movdqa xmm0, xmmword [0x1402e09c0]
movups xmmword [rax + 0x3ac4], xmm0
movdqa xmm1, xmmword [0x1402e0980]
movups xmmword [rax + 0x3ad4], xmm1
movdqa xmm0, xmmword [0x1402e0a60]
movups xmmword [rax + 0x3ae4], xmm0
movdqa xmm1, xmmword [0x1402e0a10]
movups xmmword [rax + 0x3af4], xmm1
movdqa xmm0, xmmword [0x1402e0d40]
movups xmmword [rax + 0x3b04], xmm0
movdqa xmm1, xmmword [0x1402e0c40]
movups xmmword [rax + 0x3b14], xmm1
movdqa xmm0, xmmword [0x1402e0af0]
movups xmmword [rax + 0x3b24], xmm0
movdqa xmm1, xmmword [0x1402e0ae0]
movups xmmword [rax + 0x3b34], xmm1
movdqa xmm0, xmmword [0x1402e0bb0]
movups xmmword [rax + 0x3b44], xmm0
movdqa xmm1, xmmword [0x1402e0c30]
movups xmmword [rax + 0x3b54], xmm1
movdqa xmm0, xmmword [0x1402e0bd0]
movups xmmword [rax + 0x3b64], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x3b74], xmm0
movdqa xmm1, xmmword [0x1402e0860]
movups xmmword [rax + 0x3b84], xmm1
movdqa xmm0, xmmword [0x1402e08b0]
movups xmmword [rax + 0x3b94], xmm0
movdqa xmm1, xmmword [0x1402e0a50]
movups xmmword [rax + 0x3ba4], xmm1
movdqa xmm0, xmmword [0x1402e0da0]
movups xmmword [rax + 0x3bb4], xmm0
movdqa xmm1, xmmword [0x1402e0a00]
movups xmmword [rax + 0x3bc4], xmm1
movdqa xmm0, xmmword [0x1402e0870]
movups xmmword [rax + 0x3bd4], xmm0
movdqa xmm1, xmmword [0x1402e08a0]
movups xmmword [rax + 0x3be4], xmm1
mov dword [rax + 0x37e8], 0x3f000000
mov dword [rax + 0x380c], r12d
mov r15, qword [rbx + 0x38]
lea rdx, [0x1402df1c0]
lea r13, str.C:WindowsFontsArial.ttf
mov rcx, r13
call fcn.1400748d0
mov rdi, rax
test rax, rax
je 0x1400be376
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x1400be36d
xor edx, edx
mov r8d, 2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400be36d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400be36d
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 0x1400be36d
cmp rsi, 0xffffffffffffffff
je 0x1400be36d
mov rax, qword [0x140308c38]
test rax, rax
je 0x1400be179
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 0x1400be36d
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 0x1400be1d0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140308c38]
test rax, rax
je 0x1400be1c2
dec dword [rax + 0xf0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400be376
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 0x1400be31f
lea r9, [0x1402dfc4a]
nop word [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x1400be2b7
cmp al, 0x5c
je 0x1400be2b7
mov r9, rcx
cmp rcx, r13
ja 0x1400be2a0
movsd xmm0, qword [0x1402e0508]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, Ordinal_41
lea rcx, [rbp + 0xd6]
call fcn.140074680
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, [0x1402df414]
mov qword [rbp + 0x28], rax
lea rdx, [rbp - 0x10]
mov rcx, r15
call fcn.140098e40
jmp 0x1400be376
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 [0x1403099b0]
mov rax, qword [rcx]
lea r9, [rbp - 0x78]
lea r8, [0x1402e0188]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140309860]
mov rax, qword [rcx]
lea r9, [0x1403099b8]
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
call qword [rax + 0x48]
mov rcx, qword [0x140309a28]
call fcn.14009d350
mov r14, qword [0x140309858]
mov rsi, qword [0x140309860]
mov rdi, qword [0x140308c38]
test rdi, rdi
je 0x1400be3de
inc dword [rdi + 0xf0]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1400be41f
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x1400be422
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, [0x1402d8408]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x1400be4a8
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
lea rdx, [0x1402d8418]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x1400be4a8
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [0x1402d8428]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x1400be4a8
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 0x1400be4b8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400be4c8
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
mov rdx, 0xffffffffffffffff
mov rcx, qword [0x140309b08]
call qword [0x140309c98]
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140242520
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