Function at 0x14003e5c0
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 - 0x1b8]
sub rsp, 0x290
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x140104080]
xor rax, rsp
mov qword [rbp + 0x130], rax
lea rdx, [0x140105ae0]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14003e630
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor esi, esi
mov qword [0x140105a4c], rsi
mov qword [0x140105a58], 1
mov qword [0x140105a74], rsi
mov dword [0x140105a68], 1
mov r9, qword [0x140105ad8]
mov qword [0x140105a60], r9
mov dword [0x140105a54], esi
mov dword [0x140105a48], 0x15
mov eax, dword [0x140105f98]
mov dword [0x140105a40], eax
mov eax, dword [0x140105fc0]
mov dword [0x140105a44], eax
mov dword [0x140105a6c], 1
mov dword [0x140105a70], 0x50
mov dword [0x140105a7c], 1
mov rcx, qword [0x140105ae0]
mov rax, qword [rcx]
lea rdx, [0x140105a28]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rsi
lea rdx, [0x140105a40]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
lea r8d, [rsi + 1]
call qword [rax + 0xa0]
test eax, eax
jns 0x14003e6ff
mov rcx, qword [0x140105ae0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea ecx, [rsi + 4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [0x140105a10]
test rbx, rbx
je 0x14003e711
inc dword [rbx + 0xec]
mov ecx, 0x5e68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x78], rax
lea rcx, [rsp + 0x40]
mov qword [rbp + 0x70], rcx
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14003e73f
xor edx, edx
mov rcx, rax
call fcn.140001bc0
jmp 0x14003e742
mov rax, rsi
mov qword [0x140105a10], rax
call fcn.1400056a0
test rbx, rbx
je 0x14003e75a
mov qword [0x140105a10], rbx
mov rcx, qword [0x140105ad8]
call fcn.14002c630
mov rdi, qword [0x140105a28]
mov rbx, qword [0x140105a10]
test rbx, rbx
je 0x14003e77f
inc dword [rbx + 0xec]
mov ecx, Ordinal_41
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14003e7ae
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x14003e7b1
mov rax, rsi
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 r14, qword [0x140105a10]
mov qword [r14 + 0x20], rsi
xor ecx, ecx
call fcn.140022d90
mov rax, qword [0x140105a10]
mov dword [rax + 0x37d0], 0x41a00000
mov dword [rax + 0x37d4], 0x41a00000
mov dword [rax + 0x37d8], 0x41400000
mov dword [rax + 0x37f4], 0x40e00000
mov dword [rax + 0x380c], 0x40a00000
mov dword [rax + 0x3824], 0x40800000
mov dword [rax + 0x3828], 0x41200000
mov qword [rax + 0x39c4], 0x3f800000
mov dword [rax + 0x39cc], 0x3f4bc6a8
mov dword [rax + 0x39d0], 0x3f800000
mov qword [rax + 0x39d4], 0x3f800000
mov dword [rax + 0x39dc], 0x3f3a9fbe
mov dword [rax + 0x39e0], 0x3f800000
mov qword [rax + 0x39e4], 0x3f800000
mov dword [rax + 0x39ec], 0x3f3a9fbe
mov qword [rax + 0x39f0], 0x3f800000
mov dword [rax + 0x38a4], esi
mov dword [rax + 0x38a8], 0x3f19999a
mov dword [rax + 0x38ac], 0x3f800000
mov dword [rax + 0x38b0], 0x3f800000
mov dword [rax + 0x38c4], 0x3d75c28f
mov dword [rax + 0x38c8], 0x3d75c28f
mov dword [rax + 0x38cc], 0x3d75c28f
mov dword [rax + 0x38d0], 0x3f800000
mov dword [rax + 0x38f4], 0x3d75c28f
mov dword [rax + 0x38f8], 0x3f666666
mov dword [rax + 0x38fc], 0x3f800000
mov dword [rax + 0x3900], 0x3f800000
mov qword [rax + 0x3914], rsi
mov dword [rax + 0x391c], esi
mov dword [rax + 0x3920], 0x3e50e560
mov qword [rax + 0x3924], 0x3e570a3d
mov dword [rax + 0x392c], 0x3f800000
mov dword [rax + 0x3930], 0x3e960419
mov qword [rax + 0x3934], 0x3e1374bc
mov dword [rax + 0x393c], 0x3f800000
mov dword [rax + 0x3940], 0x3ec8b439
mov qword [rax + 0x39f8], rsi
mov qword [rax + 0x3a00], 0x3e50e560
mov qword [rax + 0x3a08], rsi
mov qword [rax + 0x3a10], 0x3e50e560
mov qword [rax + 0x3a18], rsi
mov dword [rax + 0x3a20], 0x3e50e560
xorps xmm10, xmm10
xor eax, eax
movups xmmword [rbp - 0x20], xmm10
movups xmmword [rbp - 0x10], xmm10
movups xmmword [rbp], xmm10
movups xmmword [rbp + 0x20], xmm10
movups xmmword [rbp + 0x30], xmm10
mov qword [rbp + 0x60], rax
mov byte [rbp - 0x14], 1
mov dword [rbp + 0x24], 0x7f7fffff
mov dword [rbp + 0x30], 0x3f800000
mov r13d, 0xffff
mov word [rbp + 0x34], r13w
mov byte [rbp + 0x28], 1
mov byte [rbp], 1
mov dword [rbp - 8], 3
mov dword [rbp - 4], 3
mov r15, qword [r14 + 0x38]
lea rdx, [0x1400cf7c0]
lea r12, str.C:WindowsFontsArial.ttf
mov rcx, r12
call fcn.140003470
mov rbx, rax
test rax, rax
je 0x14003ec72
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14003ec69
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 0x14003ec69
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14003ec69
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 0x14003ec69
cmp rdi, 0xffffffffffffffff
je 0x14003ec69
mov rax, qword [0x140105a10]
test rax, rax
je 0x14003ea7f
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14003ec69
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 0x14003ead6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140105a10]
test rax, rax
je 0x14003eac8
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14003ec72
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x30], rax
mov byte [rsp + 0x5c], 1
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x6c], 0x7f7fffff
mov dword [rbp - 0x60], 0x3f800000
mov word [rbp - 0x5c], r13w
movaps xmm3, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x80], xmm3
movaps xmm4, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x90], xmm4
movaps xmmword [rbp + 0xa0], xmm1
xorps xmm5, xmm5
movaps xmmword [rbp + 0xb0], xmm5
movaps xmm6, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0xc0], xmm6
movaps xmm2, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0xd0], xmm2
xorps xmm7, xmm7
movaps xmmword [rbp + 0xe0], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0xf0], xmm8
movsd xmm9, qword [rbp - 0x30]
movsd qword [rbp + 0x100], xmm9
movdqa xmm0, xmm2
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x14003ec1f
lea r9, [0x1400f2f1a]
nop
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14003ebb7
cmp al, 0x5c
je 0x14003ebb7
mov r9, rcx
cmp rcx, r12
ja 0x14003eba0
movsd xmm0, qword [0x1400f4f90]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, Ordinal_41
lea rcx, [rbp + 0xd6]
call fcn.140003220
movsd xmm9, qword [rbp + 0x100]
movaps xmm8, xmmword [rbp + 0xf0]
movaps xmm7, xmmword [rbp + 0xe0]
movaps xmm2, xmmword [rbp + 0xd0]
movaps xmm6, xmmword [rbp + 0xc0]
movaps xmm5, xmmword [rbp + 0xb0]
movaps xmm1, xmmword [rbp + 0xa0]
movaps xmm4, xmmword [rbp + 0x90]
movaps xmm3, xmmword [rbp + 0x80]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x60], xmm4
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rbp - 0x80], xmm5
movaps xmmword [rbp - 0x70], xmm6
movaps xmmword [rbp - 0x60], xmm2
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], 0x41780000
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.1400276d0
jmp 0x14003ec72
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r14, qword [r14 + 0x38]
mov rax, qword [0x140105a10]
test rax, rax
je 0x14003ec88
inc dword [rax + 0xec]
mov ecx, 0x286ac
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
lea rax, [0x1400d42b0]
mov qword [0x140105b38], rax
lea rdi, [rsi + 0x286ac]
mov qword [0x140105e18], rdi
mov qword [0x140105e20], rsi
mov qword [0x140105e28], rsi
lea rbx, [0x1400d42c0]
mov rcx, rbx
call fcn.14002b1c0
cmp rax, rbx
je 0x14003eced
cmp qword [0x140105e28], rdi
ja 0x14003eced
mov rbx, rax
mov rcx, rax
call fcn.14002b1c0
cmp rax, rbx
jne 0x14003ecd4
movaps xmm0, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm2, xmmword [rbp - 0x10]
movaps xmm3, xmmword [rbp]
movaps xmm4, xmmword [rbp + 0x20]
movaps xmm5, xmmword [rbp + 0x30]
movsd xmm1, qword [rbp + 0x60]
mov byte [rsp + 0x5c], 1
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rbp - 0x80], xmm10
movaps xmmword [rbp - 0x70], xmm4
movaps xmmword [rbp - 0x60], xmm5
movaps xmmword [rbp - 0x50], xmm10
movaps xmmword [rbp - 0x40], xmm10
movsd qword [rbp - 0x30], xmm1
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 0x286ac
mov dword [rsp + 0x64], 0x41a40000
lea rax, [0x1400f38e0]
mov qword [rbp - 0x78], rax
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1400276d0
lea r8, [rbp + 0x78]
lea rdx, str.valid.png
mov rcx, qword [0x140105a28]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileA]
test eax, eax
jne 0x14003edc2
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp + 0x110]
xor edx, edx
call qword [rax + 0x88]
mov rax, qword [rbp + 0x78]
mov qword [0x140105aa0], rax
mov eax, dword [rbp + 0x128]
mov dword [0x140104114], eax
mov eax, dword [rbp + 0x12c]
mov dword [reloc.WS2_32.dll_sendto], eax
mov rcx, qword [0x140105ae0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor eax, eax
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400b9de0
lea r11, [rsp + 0x290]
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]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret