Function at 0x1400036f0
Capabilities:
Query environment variable
Read file on windows
Read file via mapping

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 r13
push r14
push r15
sub rsp, 0x380
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rsp + 0x338], rax
xor edi, edi
mov dword [rsp + 0x170], 0x50
mov dword [rsp + 0x174], 0x40
lea rax, [0x140030720]
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x188], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x190], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x1a0], xmm1
lea rax, str.SMI_MainWindow
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1b8], rdi
lea rcx, [rsp + 0x170]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov r13, qword [0x14003f148]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 9
jb 0x140004e6b
lea r15, [0x14003f138]
cmp qword [0x14003f150], 0xf
cmova r15, qword [0x14003f138]
xorps xmm0, xmm0
movups xmmword [rsp + 0x1c8], xmm0
mov qword [rsp + 0x1d8], rdi
mov qword [rsp + 0x1e0], rdi
lea r14, [r13 + 9]
mov ebx, 0xf
lea rsi, [rsp + 0x1c8]
cmp r14, rbx
jbe 0x140003897
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140003855
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140031060
test rax, rax
je 0x140004e14
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000388f
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14000386f
mov rsi, rdi
jmp 0x14000388f
cmp rcx, 0x1000
jb 0x140003887
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004e71
jmp 0x140003836
call fcn.140031060
mov rsi, rax
mov qword [rsp + 0x1c8], rsi
mov qword [rsp + 0x1d8], r14
mov qword [rsp + 0x1e0], rbx
movsd xmm0, qword [str.Injector]
movsd qword [rsi], xmm0
movzx eax, byte [0x1400339a8]
mov byte [rsi + 8], al
lea rcx, [rsi + 9]
mov r8, r13
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r14], dil
lea rdx, [rsp + 0x1c8]
cmp qword [rsp + 0x1e0], 0xf
cmova rdx, qword [rsp + 0x1c8]
mov r8, qword [rsp + 0x1d8]
add r8, rdx
lea rdx, [rsp + 0x1c8]
cmp qword [rsp + 0x1e0], 0xf
cmova rdx, qword [rsp + 0x1c8]
lea rcx, [rsp + 0x208]
call fcn.140004e80
nop
lea r8, [rsp + 0x208]
cmp qword [rsp + 0x220], 7
cmova r8, qword [rsp + 0x208]
mov qword [rsp + 0x58], rdi
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 0xfa
mov dword [rsp + 0x30], 0x1c2
mov dword [rsp + 0x28], 0x12c
mov dword [rsp + 0x20], 0x190
mov r9d, 0xca0000
mov rdx, qword [rsp + 0x1b0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x14003fb98], rax
mov qword [rsp + 0xe4], rdi
mov qword [rsp + 0xf8], 2
mov qword [rsp + 0x110], 2
mov qword [rsp + 0xd0], rdi
mov dword [rsp + 0xe0], 0x1c
mov dword [rsp + 0xd8], 0x3c
mov dword [rsp + 0xdc], 1
mov dword [rsp + 0xf4], 0x20
mov qword [rsp + 0x100], rax
mov qword [rsp + 0xec], 1
mov qword [rsp + 0x108], 1
mov dword [rsp + 0x330], 0xb000
mov dword [rsp + 0x334], 0xa000
lea rax, [0x14003fb78]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x50], rax
lea rax, [0x14003fb80]
mov qword [rsp + 0x48], rax
lea rax, [0x14003fb88]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x330]
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
jne 0x140004d57
call fcn.1400306b0
mov edx, 1
mov rcx, qword [0x14003fb98]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [0x14003fb60]
test rax, rax
je 0x140003ab9
inc dword [rax + 0xec]
mov ecx, 0x61d8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x1c0], rcx
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x140003af2
xor edx, edx
mov rcx, rax
call fcn.140005300
jmp 0x140003af5
mov rax, rdi
cmp qword [0x14003fb60], 0
jne 0x140003b06
mov qword [0x14003fb60], rax
mov rcx, rax
call fcn.14000b500
mov r13, qword [0x14003fb60]
mov qword [r13 + 0x20], rdi
mov rsi, qword [0x14003fb98]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140003c7e
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140003c7e
mov rax, qword [0x14003fb60]
test rax, rax
je 0x140003b5e
inc dword [rax + 0xec]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140003b8b
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
mov qword [rbx + 0x40], rax
jmp 0x140003b8e
mov rbx, rdi
mov qword [r13 + 0x90], rbx
lea rax, [0x140038488]
mov qword [r13 + 0x80], rax
or dword [r13 + 0xc], 6
mov qword [rbx], rsi
mov byte [rbx + 0x2d], 1
mov rax, qword [rsp + 0x1c0]
mov qword [rbx + 0x20], rax
mov rax, qword [rsp + 0xc0]
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x28], 9
mov rax, qword [0x14003fb60]
mov rax, qword [rax + 0x4030]
mov rcx, qword [rax]
mov qword [rcx + 0x28], rsi
lea rax, str.xinput1_4.dll
mov qword [rsp + 0xd0], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0xd8], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0xe0], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0xe8], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0xf0], rax
mov rsi, rdi
mov rcx, qword [rsp + rsi*8 + 0xd0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x140003c52
inc rsi
cmp rsi, 5
jl 0x140003c31
jmp 0x140003c7e
mov qword [rbx + 0x30], r14
lea rdx, str.XInputGetCapabilities
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
mov r15, qword [0x14003fb78]
mov r14, qword [0x14003fb80]
mov rsi, qword [0x14003fb60]
test rsi, rsi
je 0x140003c9e
inc dword [rsi + 0xec]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140003cdf
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 0x140003ce2
mov rbx, rdi
mov qword [rsi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rsi + 0x88], rax
or dword [rsi + 0xc], 8
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0x330], rdi
mov qword [rsp + 0xb0], rdi
mov rax, qword [r14]
lea r8, [rsp + 0xb8]
lea rdx, [0x140038458]
mov rcx, r14
call qword [rax]
test eax, eax
jne 0x140003d83
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
lea r8, [rsp + 0x330]
lea rdx, [0x140038468]
call qword [rax + 0x30]
test eax, eax
jne 0x140003d83
mov rcx, qword [rsp + 0x330]
mov rax, qword [rcx]
lea r8, [rsp + 0xb0]
lea rdx, [0x140038478]
call qword [rax + 0x30]
test eax, eax
jne 0x140003d83
mov qword [rbx], r14
mov qword [rbx + 8], r15
mov rax, qword [rsp + 0xb0]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x140003d96
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x330]
test rcx, rcx
je 0x140003da9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rdi
mov r8d, 0x18
lea rdx, str.WindowsFonts_times.ttf
lea rcx, [rsp + 0x68]
call fcn.140002260
nop
lea rcx, str.SystemDrive
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rsi, rax
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140003e00
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
sub rax, r8
cmp rbx, rax
ja 0x140003e9e
lea rax, [r8 + rbx]
mov qword [rsp + 0x78], rax
lea r14, [rsp + 0x68]
cmp rcx, 0xf
cmova r14, qword [rsp + 0x68]
lea rax, [rbx + rsi]
cmp rax, r14
jbe 0x140003e61
lea rax, [r14 + r8]
cmp rsi, rax
ja 0x140003e61
cmp r14, rsi
ja 0x140003e59
mov r15, rdi
jmp 0x140003e64
mov r15, r14
sub r15, rsi
jmp 0x140003e64
mov r15, rbx
inc r8
lea rcx, [r14 + rbx]
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, rsi
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov r8, rbx
sub r8, r15
lea rdx, [r15 + rbx]
add rdx, rsi
lea rcx, [r14 + r15]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x68]
jmp 0x140003eb5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140004fd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x228], xmm0
mov qword [rsp + 0x238], rdi
mov qword [rsp + 0x240], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x228], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x238], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x140003f39
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400312e4
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], 0xf
mov byte [rsp + 0x68], 0
mov r13, qword [r13 + 0x50]
lea rbx, [rsp + 0x228]
cmp qword [rsp + 0x240], 0xf
cmova rbx, qword [rsp + 0x228]
lea rdx, [0x140033b7c]
mov rcx, rbx
call fcn.140006af0
mov rsi, rax
test rax, rax
je 0x14000428b
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r15d, eax
cmp eax, 0xffffffff
je 0x140004282
xor edx, edx
mov r8d, 2
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004282
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd r14, eax
cmp r14d, 0xffffffff
je 0x140004282
xor r8d, r8d
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004282
cmp r14, 0xffffffffffffffff
je 0x140004282
mov rax, qword [0x14003fb60]
test rax, rax
je 0x140003fff
inc dword [rax + 0xec]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
je 0x140004282
mov r9, rsi
mov r8, r14
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rsi
cmp rax, r14
je 0x140004056
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14003fb60]
test rax, rax
je 0x140004048
dec dword [rax + 0xec]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000428b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0xd0], xmm2
movups xmmword [rsp + 0xe0], xmm2
movups xmmword [rsp + 0x110], xmm2
movups xmmword [rsp + 0x120], xmm2
mov qword [rsp + 0x150], rax
mov byte [rsp + 0xdc], 1
mov dword [rsp + 0xe8], 3
mov dword [rsp + 0xec], 1
mov dword [rsp + 0x114], 0x7f7fffff
mov dword [rsp + 0x120], 0x3f800000
mov eax, 0xffff
mov word [rsp + 0x124], ax
movaps xmm3, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x2a0], xmm3
movaps xmm4, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x2b0], xmm4
movaps xmmword [rsp + 0x2c0], xmm2
xorps xmm5, xmm5
movaps xmmword [rsp + 0x2d0], xmm5
movaps xmm6, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x2e0], xmm6
movaps xmm1, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0x2f0], xmm1
xorps xmm7, xmm7
movaps xmmword [rsp + 0x300], xmm7
xorps xmm8, xmm8
movaps xmmword [rsp + 0x310], xmm8
movsd xmm9, qword [rsp + 0x150]
movsd qword [rsp + 0x320], xmm9
mov rsi, r14
mov r12, r15
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x14000420b
mov r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp byte [rbx + r9], 0
jne 0x140004170
add r9, rbx
cmp r9, rbx
jbe 0x140004199
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x140004199
cmp al, 0x5c
je 0x140004199
mov r9, rcx
cmp rcx, rbx
ja 0x140004182
movsd xmm0, qword [0x140038738]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rsp + 0x2f6]
call fcn.1400069c0
movsd xmm9, qword [rsp + 0x320]
movaps xmm8, xmmword [rsp + 0x310]
movaps xmm7, xmmword [rsp + 0x300]
movaps xmm1, xmmword [rsp + 0x2f0]
movaps xmm6, xmmword [rsp + 0x2e0]
movaps xmm5, xmmword [rsp + 0x2d0]
movaps xmm2, xmmword [rsp + 0x2c0]
movaps xmm4, xmmword [rsp + 0x2b0]
movaps xmm3, xmmword [rsp + 0x2a0]
movaps xmmword [rsp + 0xd0], xmm3
movaps xmmword [rsp + 0xe0], xmm4
movaps xmmword [rsp + 0xf0], xmm2
movaps xmmword [rsp + 0x100], xmm5
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x120], xmm1
movaps xmmword [rsp + 0x130], xmm7
movaps xmmword [rsp + 0x140], xmm8
movsd qword [rsp + 0x150], xmm9
mov qword [rsp + 0xd0], r12
mov dword [rsp + 0xd8], esi
mov dword [rsp + 0xe4], 0x41b80000
lea rdx, [rsp + 0xd0]
mov rcx, r13
call fcn.140026510
jmp 0x14000428b
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm0, xmm0
movups xmmword [rsp + 0x268], xmm0
movups xmmword [rsp + 0x278], xmm0
movups xmmword [rsp + 0x288], xmm0
lea r13, [0x14003f328]
lea r12, str.GTA5.exe
movss xmm7, dword [0x14003877c]
movss xmm6, dword [0x140038784]
nop dword [rax]
nop dword [rax + rax]
cmp dword [rsp + 0x270], 0x12
je 0x140004b14
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x268]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14000431e
lea rcx, [rsp + 0x268]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x268]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400042d0
mov rax, qword [0x14003fb60]
test rax, rax
je 0x140004333
mov rcx, qword [rax + 0x98]
jmp 0x140004336
mov rcx, rdi
cmp qword [rcx + 0x48], 0
jne 0x140004342
call fcn.14002b460
call fcn.14002c1c0
call fcn.14000a310
call fcn.1400307f0
cmp qword [0x14003f338], 0
je 0x1400044f2
mov rax, qword [0x14003fb60]
lea rdx, str.Notification
mov rcx, qword [rax + 0x3e28]
call fcn.140008910
mov ecx, eax
call fcn.140013df0
mov rax, qword [0x14003fb60]
or dword [rax + 0x3f30], 2
mov qword [rax + 0x3f50], 0x437a0000
mov dword [rax + 0x3f38], 1
call fcn.140014240
test al, al
je 0x1400044f2
mov rcx, r13
cmp qword [0x14003f340], 0xf
cmova rcx, qword [0x14003f328]
call fcn.14002ec90
mov rcx, qword [0x14003fb60]
mov rax, qword [rcx + 0x3e28]
movss xmm1, dword [rax + 0xdc]
subss xmm1, dword [rax + 0x14]
movss xmm3, dword [rax + 0xd8]
subss xmm3, dword [rax + 0x10]
addss xmm1, dword [rax + 0x60]
addss xmm3, dword [rax + 0x5c]
addss xmm3, xmm7
mov byte [rax + 0x90], 1
mov rax, qword [rcx + 0x3e28]
movss xmm0, dword [rax + 0x14]
subss xmm0, dword [rax + 0x60]
movss xmm2, dword [rax + 0x10]
subss xmm2, dword [rax + 0x5c]
addss xmm0, xmm1
addss xmm2, xmm3
movss dword [rax + 0xd8], xmm2
movss dword [rax + 0xdc], xmm0
movss xmm1, dword [rax + 0xf4]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xf0]
maxss xmm0, xmm2
movss dword [rax + 0xf0], xmm0
movss dword [rax + 0xf4], xmm1
mov qword [rsp + 0xb0], 0x42480000
lea rdx, [rsp + 0xb0]
lea rcx, [0x1400339f0]
call fcn.14002f2d0
test al, al
je 0x1400044a6
mov qword [0x14003f338], rdi
mov rax, r13
cmp qword [0x14003f340], 0xf
cmova rax, qword [0x14003f328]
mov byte [rax], 0
call fcn.140014180
mov rbx, qword [0x14003fb60]
mov rax, qword [rbx + 0x3e28]
cmp qword [rbx + 0x4038], rax
jne 0x1400044d6
cmp byte [rbx + 0x4095], 0
je 0x1400044d6
cmp dword [rbx + 0x4074], 0
jne 0x1400044d6
or dword [rbx + 0x4098], 2
test dword [rax + 0xc], 0x1000000
je 0x1400044e6
mov byte [rbx + 0x3db6], 1
call fcn.140011f40
mov byte [rbx + 0x3db6], 0
mov rax, qword [0x14003fb60]
mov dword [rax + 0x3f50], 0x43d70000
mov dword [rax + 0x3f54], 0x43520000
mov dword [rax + 0x3f38], 1
or dword [rax + 0x3f30], 3
mov qword [rax + 0x3f40], 0
mov qword [rax + 0x3f48], 0
mov dword [rax + 0x3f34], 1
xor edx, edx
mov r8d, 0x27
lea rcx, str.MainWindow
call fcn.14000fc10
lea rcx, str._____________________Simple_Injector___GTA5
call fcn.14002ead0
lea rcx, [0x140033a34]
call fcn.14002ead0
mov rcx, qword [0x14003fb60]
mov rax, qword [rcx + 0x3e28]
movss xmm3, dword [rax + 0xdc]
subss xmm3, dword [rax + 0x14]
movss xmm1, dword [rax + 0xd8]
subss xmm1, dword [rax + 0x10]
addss xmm3, dword [rax + 0x60]
addss xmm1, dword [rax + 0x5c]
addss xmm1, xmm6
mov byte [rax + 0x90], 1
mov rax, qword [rcx + 0x3e28]
movss xmm0, dword [rax + 0x14]
subss xmm0, dword [rax + 0x60]
movss xmm2, dword [rax + 0x10]
subss xmm2, dword [rax + 0x5c]
addss xmm3, xmm0
addss xmm2, xmm1
movss dword [rax + 0xd8], xmm2
movss dword [rax + 0xdc], xmm3
movss xmm1, dword [rax + 0xf4]
maxss xmm1, xmm3
movss xmm0, dword [rax + 0xf0]
maxss xmm0, xmm2
movss dword [rax + 0xf0], xmm0
movss dword [rax + 0xf4], xmm1
mov qword [rsp + 0x330], 0x43480000
lea rdx, [rsp + 0x330]
lea rcx, str.Select_File
call fcn.14002f2d0
test al, al
je 0x1400047e2
mov ecx, 0x104
call fcn.1400315d4
mov rbx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xf0], xmm0
movups xmmword [rsp + 0x100], xmm0
movups xmmword [rsp + 0x110], xmm0
movups xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0x130], xmm0
movups xmmword [rsp + 0x140], xmm0
movups xmmword [rsp + 0x150], xmm0
mov qword [rsp + 0x160], rax
mov dword [rsp + 0xd0], 0x98
mov rax, qword [0x14003fb98]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0x100], rbx
mov byte [rbx], 0
mov dword [rsp + 0x108], 0x104
mov dword [rsp + 0xfc], 1
mov qword [rsp + 0x120], rdi
mov dword [rsp + 0x130], 0x81804
lea rcx, [rsp + 0xd0]
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x1400047da
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rsi, rax
mov rcx, rbx
call fcn.1400312e4
test rsi, rsi
je 0x1400047e2
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
mov r8d, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400047c3
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
test rax, rax
je 0x1400047c3
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r15, rax
test rax, rax
je 0x1400047c3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x1400047c3
mov qword [0x14003fb70], rsi
jmp 0x1400047e2
mov r8d, 0x14
lea rdx, str.Error_With_Load_File
call fcn.140002c70
mov rcx, rsi
jmp 0x1400047dd
mov rcx, rbx
call fcn.1400312e4
mov rcx, qword [0x14003fb60]
mov rax, qword [rcx + 0x3e28]
movss xmm3, dword [rax + 0xdc]
subss xmm3, dword [rax + 0x14]
movss xmm1, dword [rax + 0xd8]
subss xmm1, dword [rax + 0x10]
addss xmm3, dword [rax + 0x60]
addss xmm1, dword [rax + 0x5c]
addss xmm1, xmm6
mov byte [rax + 0x90], 1
mov rax, qword [rcx + 0x3e28]
movss xmm0, dword [rax + 0x14]
subss xmm0, dword [rax + 0x60]
movss xmm2, dword [rax + 0x10]
subss xmm2, dword [rax + 0x5c]
addss xmm3, xmm0
addss xmm2, xmm1
movss dword [rax + 0xd8], xmm2
movss dword [rax + 0xdc], xmm3
movss xmm1, dword [rax + 0xf4]
maxss xmm1, xmm3
movss xmm0, dword [rax + 0xf0]
maxss xmm0, xmm2
movss dword [rax + 0xf0], xmm0
movss dword [rax + 0xf4], xmm1
mov qword [rsp + 0xb8], 0x43480000
lea rdx, [rsp + 0xb8]
lea rcx, str.Inject
call fcn.14002f2d0
test al, al
je 0x140004a82
cmp qword [0x14003fb70], 0
jne 0x1400048c3
mov r8d, 0x10
lea rdx, str.Select_DLL_First
call fcn.140002c70
jmp 0x140004a82
xorps xmm0, xmm0
movups xmmword [rsp + 0x1e8], xmm0
mov qword [rsp + 0x1f8], rdi
mov qword [rsp + 0x200], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r12 + r8], 0
jne 0x1400048e5
mov rdx, r12
lea rcx, [rsp + 0x1e8]
call fcn.140002260
nop
cmp qword [rsp + 0x1f8], 0
je 0x140004a29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rsp + 0x1e8]
cmp qword [rsp + 0x200], 0xf
cmova rbx, qword [rsp + 0x1e8]
mov dword [rax], edi
mov r8d, 0xa
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r14d, eax
cmp rbx, qword [rsp + 0xc0]
jne 0x140004965
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rsi], 0x22
jne 0x140004977
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
lea rax, [rsp + 0x248]
mov qword [rsp + 0x1c0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x248], xmm0
mov qword [rsp + 0x258], rdi
mov qword [rsp + 0x260], 7
mov word [rsp + 0x248], di
mov rdx, qword [0x14003fb70]
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400049d4
lea rcx, [rsp + 0x88]
call fcn.140002260
nop
mov r8d, r14d
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x88]
call fcn.140002500
nop
jmp 0x140004a3c
mov r8d, 0x10
lea rdx, str.Select_DLL_First
call fcn.140002c70
nop
mov rdx, qword [rsp + 0x200]
cmp rdx, 0xf
jbe 0x140004a82
inc rdx
mov rcx, qword [rsp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400312e4
call fcn.140011f40
call fcn.14000cdf0
mov rcx, qword [0x14003fb78]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x14003fb90]
mov edx, 1
call qword [rax + 0x108]
mov rax, qword [0x14003fb60]
mov rcx, qword [rax + 0x4030]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, rdi
cmp byte [rax], 0
cmovne rcx, rax
call fcn.14002a9f0
mov rcx, qword [0x14003fb88]
mov rax, qword [rcx]
mov r8d, dword [0x14003fb40]
mov edx, 1
call qword [rax + 0x40]
cmp eax, 0x87a0001
jne 0x140004b09
mov dword [0x14003fb40], 1
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400042d0
mov dword [0x14003fb40], edi
jmp 0x1400042d0
mov rsi, qword [0x14003fb60]
test rsi, rsi
je 0x140004b29
mov rbx, qword [rsi + 0x98]
jmp 0x140004b2c
mov rbx, rdi
call fcn.14002b9a0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140004b40
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004b4e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140004b5d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x88], rdi
mov qword [rsi + 0x98], rdi
mov rax, qword [0x14003fb60]
test rax, rax
je 0x140004b7d
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14003fb60]
test rax, rax
je 0x140004b9b
mov rbx, qword [rax + 0x90]
jmp 0x140004b9e
mov rbx, rdi
lea rsi, [rax + 8]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140004bb8
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14003fb60]
mov qword [rsi + 0x78], rdi
mov qword [rsi + 0x88], rdi
test rax, rax
je 0x140004bce
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14003fb60]
mov rcx, rbx
call fcn.14000b820
cmp qword [0x14003fb60], rbx
jne 0x140004bf6
mov qword [0x14003fb60], rdi
test rbx, rbx
je 0x140004c1e
mov rcx, rbx
call fcn.14001af40
mov rax, qword [0x14003fb60]
test rax, rax
je 0x140004c15
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140030630
mov rcx, qword [0x14003fb98]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
nop
mov rdx, qword [rsp + 0x240]
cmp rdx, 0xf
jbe 0x140004c8d
inc rdx
mov rcx, qword [rsp + 0x228]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400312e4
mov qword [rsp + 0x238], rdi
mov qword [rsp + 0x240], 0xf
mov byte [rsp + 0x228], 0
mov rdx, qword [rsp + 0x220]
cmp rdx, 7
jbe 0x140004cf1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x208]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004cec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004db2
call fcn.1400312e4
mov qword [rsp + 0x218], rdi
mov qword [rsp + 0x220], 7
mov word [rsp + 0x208], di
mov rdx, qword [rsp + 0x1e0]
cmp rdx, 0xf
jbe 0x140004d50
inc rdx
mov rcx, qword [rsp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004e14
call fcn.1400312e4
xor eax, eax
jmp 0x140004e25
call fcn.140030630
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
nop
mov rdx, qword [rsp + 0x220]
cmp rdx, 7
jbe 0x140004dbe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x208]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004db9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004db9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400312e4
mov qword [rsp + 0x218], rdi
mov qword [rsp + 0x220], 7
mov word [rsp + 0x208], di
mov rdx, qword [rsp + 0x1e0]
cmp rdx, 0xf
jbe 0x140004e20
inc rdx
mov rcx, qword [rsp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004e1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400312e4
mov eax, 1
mov rcx, qword [rsp + 0x338]
xor rcx, rsp
call fcn.140031040
lea r11, [rsp + 0x380]
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 r13
ret
call fcn.1400011e0
int3
call fcn.140001140
int3