Function at 0x140034fb0
Capabilities:
Get common file path
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, 0x460
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rax - 0x88], xmm12
movaps xmmword [rax - 0x98], xmm13
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
xor esi, esi
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
lea eax, [rbx - 0x253]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
lea eax, [rcx - 0x280]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov dword [rsp + 0xe0], 0x50
mov dword [rsp + 0xe4], 0x40
lea rax, [0x140037000]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0xf8], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x100], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x110], xmm1
lea rax, str.SMI_MainWindow
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rsi
lea rcx, [rsp + 0xe0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x1a0], xmm0
mov r14d, 4
mov qword [rsp + 0x1b0], r14
mov r15d, 0xf
mov qword [rsp + 0x1b8], r15
mov eax, dword [str.ROOX]
mov dword [rsp + 0x1a0], eax
mov byte [rsp + 0x1a4], sil
lea r8, [rsp + 0x1a0]
add r8, r14
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x180]
call fcn.140036800
nop
lea r8, [rsp + 0x180]
cmp qword [rsp + 0x198], 7
cmova r8, qword [rsp + 0x180]
mov qword [rsp + 0x58], rsi
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0x280
mov dword [rsp + 0x30], 0x253
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
mov r9d, 0xca0000
mov rdx, qword [rsp + 0x120]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1400479f8], rax
mov qword [rsp + 0x1e4], rsi
mov qword [rsp + 0x1f8], 2
mov qword [rsp + 0x210], 2
mov qword [rsp + 0x1d0], rsi
mov dword [rsp + 0x1e0], 0x1c
mov dword [rsp + 0x1d8], 0x3c
mov dword [rsp + 0x1dc], 1
mov dword [rsp + 0x1f4], 0x20
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x1ec], 1
mov qword [rsp + 0x208], 1
mov dword [rsp + 0x2b0], 0xb000
mov dword [rsp + 0x2b4], 0xa000
lea rax, [0x1400479d8]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x50], rax
lea rax, [0x1400479e0]
mov qword [rsp + 0x48], rax
lea rax, [0x1400479e8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x2b0]
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 0x14003536d
mov r9d, 0x10
xor r8d, r8d
lea rdx, str.Error_Create
mov rcx, qword [0x1400479f8]
call qword [sym.imp.USER32.dll_MessageBoxA]
call fcn.140036f10
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.USER32.dll_UnregisterClassW]
nop
mov rdx, qword [rsp + 0x198]
cmp rdx, 7
jbe 0x140035304
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400352ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003671e
call fcn.1400376bc
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x198], 7
mov word [rsp + 0x180], si
mov rdx, qword [rsp + 0x1b8]
cmp rdx, 0xf
jbe 0x140035363
inc rdx
mov rcx, qword [rsp + 0x1a0]
mov r8, rcx
cmp rdx, 0x1000
jb 0x14003535e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140036780
call fcn.1400376bc
mov eax, 1
jmp 0x14003678e
call fcn.140036f90
mov dword [rsp + 0x178], 0x5a3628
mov r9d, r14d
lea r8, [rsp + 0x178]
mov edx, 0x14
mov rcx, qword [0x1400479f8]
call qword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
mov edx, 1
mov rcx, qword [0x1400479f8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400479f8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r14, qword [0x1400479c8]
mov ecx, 0x61f8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x1400479c8]
test r8, r8
je 0x140035439
mov r10d, dword [r8 + 0x3f60]
movsx rax, word [r8 + 0x60a8]
lea rdx, [r8 + 0x60ac]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x14003542e
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60a8], cx
movsx rax, cx
lea rdx, [r8 + 0x60ac]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], esi
inc word [rdx + 4]
inc dword [r8 + 0x60a0]
mov qword [rsp + 0xd8], r9
lea rax, [rsp + 0x60]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x90], r9
test r9, r9
je 0x140035467
xor edx, edx
mov rcx, r9
call fcn.140001470
jmp 0x14003546a
mov rax, rsi
mov qword [0x1400479c8], rax
call fcn.140005aa0
test r14, r14
je 0x140035484
mov qword [0x1400479c8], r14
jmp 0x14003548b
mov r14, qword [0x1400479c8]
mov qword [r14 + 0x20], rsi
mov rcx, qword [0x1400479f8]
call fcn.14002d550
call fcn.14002d380
lea r8, str.SystemDrive
xor edx, edx
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
test eax, eax
jne 0x1400358e7
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x1400358e7
lea rcx, [rsp + 0x68]
call fcn.140034690
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x18
jb 0x140035524
lea rax, [rcx + 0x18]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140035505
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8d, 0x18
lea rdx, str.WindowsFonts_times.ttf
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x18], 0
jmp 0x14003553d
mov qword [rsp + 0x20], 0x18
mov edx, 0x18
mov rcx, rdi
call fcn.140036b50
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x158], xmm0
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x170], rsi
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x158], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x168], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], r15
mov byte [rdi], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x1400355bd
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400355b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400355b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400376bc
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], r15
mov byte [rsp + 0x68], 0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140036950
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0xf
cmova rdx, qword [rsp + 0x158]
mov r8, qword [rsp + 0x168]
mov rcx, rax
call fcn.140036d50
lea rdx, [0x140036b10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [r14 + 0x38]
lea rbx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0xf
cmova rbx, qword [rsp + 0x158]
mov qword [rsp + 0x130], rsi
lea r8, [rsp + 0x130]
mov rcx, rbx
call fcn.140003570
mov rdi, rax
movss xmm10, dword [0x14003fc98]
test rax, rax
je 0x140035887
xorps xmm1, xmm1
movups xmmword [rsp + 0x2c0], xmm1
movups xmmword [rsp + 0x2d0], xmm1
movups xmmword [rsp + 0x300], xmm1
movups xmmword [rsp + 0x310], xmm1
mov byte [rsp + 0x2cc], 1
mov dword [rsp + 0x2d8], 2
mov dword [rsp + 0x2dc], 1
mov dword [rsp + 0x304], 0x7f7fffff
mov dword [rsp + 0x310], 0x3f800000
mov dword [rsp + 0x314], 0x3f800000
mov eax, 0xffff
mov word [rsp + 0x318], ax
movaps xmm3, xmmword [rsp + 0x2c0]
movaps xmmword [rsp + 0x1d0], xmm3
movaps xmm4, xmmword [rsp + 0x2d0]
movaps xmmword [rsp + 0x1e0], xmm4
movaps xmmword [rsp + 0x1f0], xmm1
xorps xmm5, xmm5
movaps xmmword [rsp + 0x200], xmm5
movaps xmm6, xmmword [rsp + 0x300]
movaps xmmword [rsp + 0x210], xmm6
movaps xmm2, xmmword [rsp + 0x310]
movaps xmmword [rsp + 0x220], xmm2
xorps xmm7, xmm7
movaps xmmword [rsp + 0x230], xmm7
xorps xmm8, xmm8
movaps xmmword [rsp + 0x240], xmm8
xorps xmm9, xmm9
movaps xmmword [rsp + 0x250], xmm9
movdqa xmm0, xmm2
psrldq xmm0, 0xa
movd eax, xmm0
test al, al
jne 0x14003580b
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], 0
jne 0x140035771
add r9, rbx
cmp r9, rbx
jbe 0x14003579a
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14003579a
cmp al, 0x5c
je 0x14003579a
mov r9, rcx
cmp rcx, rbx
ja 0x140035783
movsd xmm0, qword [0x14003fcb0]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rsp + 0x22a]
call fcn.1400031e0
movaps xmm9, xmmword [rsp + 0x250]
movaps xmm8, xmmword [rsp + 0x240]
movaps xmm7, xmmword [rsp + 0x230]
movaps xmm2, xmmword [rsp + 0x220]
movaps xmm6, xmmword [rsp + 0x210]
movaps xmm5, xmmword [rsp + 0x200]
movaps xmm1, xmmword [rsp + 0x1f0]
movaps xmm4, xmmword [rsp + 0x1e0]
movaps xmm3, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0x2c0], xmm3
movaps xmmword [rsp + 0x2d0], xmm4
movaps xmmword [rsp + 0x2e0], xmm1
movaps xmmword [rsp + 0x2f0], xmm5
movaps xmmword [rsp + 0x300], xmm6
movaps xmmword [rsp + 0x310], xmm2
movaps xmmword [rsp + 0x320], xmm7
movaps xmmword [rsp + 0x330], xmm8
movaps xmmword [rsp + 0x340], xmm9
mov qword [rsp + 0x2c0], rdi
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x2c8], eax
mov dword [rsp + 0x2d4], 0x41b80000
lea rdx, [rsp + 0x2c0]
mov rcx, r14
call fcn.140027a30
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x1400358cd
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400358c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400358c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400376bc
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x170], r15
mov byte [rsp + 0x158], 0
jmp 0x1400358f0
movss xmm10, dword [0x14003fc98]
xorps xmm0, xmm0
movups xmmword [rsp + 0x280], xmm0
movups xmmword [rsp + 0x290], xmm0
movups xmmword [rsp + 0x2a0], xmm0
lea r12, str.GTA5.exe
movabs r13, 0x7fffffffffffffff
movss xmm8, dword [0x14003fc64]
movss xmm13, dword [0x14003fcf4]
xorps xmm6, xmm6
movss xmm11, dword [0x14003fc28]
movss xmm7, dword [0x14003fd38]
movss xmm9, dword [0x14003fca4]
movss xmm12, dword [0x14003fd04]
lea rdi, [0x14003fb90]
nop dword [rax + rax]
cmp dword [rsp + 0x288], 0x12
je 0x14003648d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x280]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400359ae
lea rcx, [rsp + 0x280]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x280]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x140035960
mov rax, qword [0x1400479c8]
test rax, rax
je 0x1400359c3
mov rcx, qword [rax + 0x98]
jmp 0x1400359c6
mov rcx, rsi
cmp qword [rcx + 0x48], 0
jne 0x1400359d2
call fcn.14002cd20
call fcn.14002df60
call fcn.140008360
call fcn.140037100
cmp qword [0x140047100], 0
je 0x140035c6c
call fcn.140013c20
mov rdi, qword [0x1400479c8]
or dword [rdi + 0x49e8], 2
mov qword [rdi + 0x4a08], 0x437a0000
mov dword [rdi + 0x49f0], 1
mov rbx, qword [rdi + 0x4008]
movsxd r8, dword [rbx + 0x100]
mov rax, qword [rbx + 0x108]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.PopupNotification
call fcn.1400033d0
mov r14d, eax
mov rcx, qword [rbx]
cmp dword [rcx + 0x4054], eax
jne 0x140035a60
lea r8, str.PopupNotification
mov edx, 0xb
mov ecx, eax
call fcn.14001a170
mov rdx, qword [0x1400479c8]
movsxd rax, dword [rdx + 0x4ad0]
cmp dword [rdx + 0x4ac0], eax
jle 0x140035c5f
imul rcx, rax, 0x38
mov rax, qword [rdx + 0x4ac8]
cmp dword [rcx + rax], r14d
jne 0x140035c5f
test byte [rdi + 0x49e8], 1
jne 0x140035af5
mov rax, qword [rdx + 0x4b00]
mov rcx, qword [rax]
movss xmm1, dword [rcx + 0x10]
mulss xmm1, xmm8
addss xmm1, dword [rcx + 8]
movss xmm0, dword [rcx + 0xc]
mulss xmm0, xmm8
addss xmm0, dword [rcx + 4]
or dword [rdx + 0x49e8], 1
movss dword [rdx + 0x49f8], xmm0
movss dword [rdx + 0x49fc], xmm1
mov dword [rdx + 0x4a00], 0x3f000000
mov dword [rdx + 0x4a04], 0x3f000000
mov dword [rdx + 0x49ec], 4
xor edx, edx
mov r8d, 0xc00006f
lea rcx, str.PopupNotification
call fcn.14000d810
test al, al
je 0x140035c06
lea r14, [0x1400470f0]
mov rcx, r14
cmp qword [0x140047108], 0xf
cmova rcx, qword [0x1400470f0]
call fcn.140030fa0
lea rcx, [0x14003983f]
call fcn.140030e40
mov rcx, qword [0x1400479c8]
mov rax, qword [rcx + 0x4008]
movss xmm2, dword [rax + 0x114]
subss xmm2, dword [rax + 0x2c]
movss xmm3, dword [rax + 0x110]
subss xmm3, dword [rax + 0x28]
addss xmm2, dword [rax + 0x90]
addss xmm3, dword [rax + 0x8c]
addss xmm3, xmm13
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4008]
movss xmm1, dword [rax + 0x2c]
subss xmm1, dword [rax + 0x90]
movss xmm0, dword [rax + 0x28]
subss xmm0, dword [rax + 0x8c]
addss xmm1, xmm2
addss xmm0, xmm3
movss dword [rax + 0x110], xmm0
movss dword [rax + 0x114], xmm1
mov byte [rax + 0x151], 1
mov qword [rsp + 0x90], 0x42480000
lea rdx, [rsp + 0x90]
lea rcx, [0x14003fb50]
call fcn.1400317f0
test al, al
je 0x140035c06
mov qword [0x140047100], rsi
mov rax, r14
cmp qword [0x140047108], 0xf
cmova rax, qword [0x1400470f0]
mov byte [rax], 0
call fcn.1400140a0
mov rbx, qword [0x1400479c8]
mov rcx, qword [rbx + 0x4008]
cmp qword [rbx + 0x4b08], rcx
jne 0x140035c41
cmp byte [rbx + 0x4b99], 0
je 0x140035c41
cmp dword [rbx + 0x4b40], 0
jne 0x140035c41
mov eax, dword [rbx + 0x4b9c]
and eax, 0xfffffff2
or eax, 2
mov dword [rbx + 0x4b9c], eax
test dword [rcx + 0x14], 0x1000000
je 0x140035c51
mov byte [rbx + 0x3f6e], 1
call fcn.14000fb60
mov byte [rbx + 0x3f6e], 0
jmp 0x140035c65
mov dword [rdi + 0x49e8], esi
lea rdi, [0x14003fb90]
mov rax, qword [0x1400479c8]
mov dword [rax + 0x4a08], 0x44110000
mov dword [rax + 0x4a0c], 0x44160000
mov dword [rax + 0x49f0], 1
or dword [rax + 0x49e8], 3
mov qword [rax + 0x49f8], 0
mov qword [rax + 0x4a00], 0
mov dword [rax + 0x49ec], 1
xor edx, edx
mov r8d, 0x27
lea rcx, str.beginwin
call fcn.14000d810
mov rbx, qword [0x1400479c8]
mov dword [rbx + 0x39ac], 0x43820000
mov dword [rbx + 0x39b0], 0x40400000
mov dword [rbx + 0x39a0], 0x40a00000
movss xmm0, dword [0x140047a34]
subss xmm0, xmm11
movss dword [0x140047a34], xmm0
comiss xmm7, xmm0
jbe 0x140035d18
addss xmm0, xmm10
movss dword [0x140047a34], xmm0
addss xmm0, xmm10
comiss xmm6, xmm0
jbe 0x140035d27
addss xmm0, xmm10
lea rax, [rsp + 0x130]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
movaps xmm2, xmm10
movaps xmm1, xmm10
call fcn.140003970
movss xmm0, dword [rsp + 0x88]
movss dword [rsp + 0x1c0], xmm0
movss xmm1, dword [rsp + 0x2b0]
movss dword [rsp + 0x1c4], xmm1
movss xmm0, dword [rsp + 0x130]
movss dword [rsp + 0x1c8], xmm0
mov dword [rsp + 0x1cc], 0x3f800000
mov dword [rsp + 0x68], esi
movups xmm0, xmmword [rbx + 0x39d4]
movups xmmword [rsp + 0x6c], xmm0
lea rcx, [rbx + 0x4a60]
lea rdx, [rsp + 0x68]
call fcn.14001ac60
cmp dword [rbx + 0x4a5c], 0
je 0x140035dd0
movups xmm0, xmmword [rsp + 0x1c0]
movups xmmword [rbx + 0x39d4], xmm0
lea rcx, str.For_Free
call fcn.140030e40
mov rdx, qword [0x1400479c8]
mov rax, qword [rdx + 0x4008]
mov byte [rax + 0xc0], 1
mov rcx, qword [rdx + 0x4008]
mov dword [rcx + 0x2a0], 0x3fe66666
mov rax, qword [rcx]
movss xmm0, dword [rax + 0x3d44]
mulss xmm0, xmm9
mov rax, qword [rcx + 0x378]
test rax, rax
je 0x140035e26
mulss xmm0, dword [rax + 0x2a0]
movss dword [rdx + 0x3d58], xmm0
movss dword [rdx + 0x3d40], xmm0
movaps xmm1, xmm7
movaps xmm0, xmm6
call fcn.1400131b0
lea rcx, str._________Roox_Launcher
call fcn.140030e40
mov r8, qword [0x1400479c8]
mov rax, qword [r8 + 0x4008]
mov byte [rax + 0xc0], 1
mov rcx, qword [r8 + 0x4008]
mov dword [rcx + 0x2a0], 0x3f800000
mov rax, qword [rcx]
movss xmm0, dword [rax + 0x3d44]
mov rax, qword [rcx + 0x378]
test rax, rax
je 0x140035e92
mulss xmm0, dword [rax + 0x2a0]
movss dword [r8 + 0x3d58], xmm0
movss dword [r8 + 0x3d40], xmm0
movsxd rax, dword [r8 + 0x4a60]
cmp eax, 1
jl 0x140035ed8
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4a68]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x39d4], xmm0
dec dword [r8 + 0x4a60]
mov rax, qword [r8 + 0x4008]
mov byte [rax + 0xc0], 1
mov rax, qword [r8 + 0x4008]
cmp byte [rax + 0xc3], 0
jne 0x140035f2d
mov r8, rdi
cmp rdi, 0xffffffffffffffff
jae 0x140035f1e
nop
movzx ecx, byte [r8]
test cl, cl
je 0x140035f1e
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x140035f15
cmp byte [rax], cl
je 0x140035f1e
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x140035f00
movaps xmm3, xmm6
call fcn.140032630
mov r8, qword [0x1400479c8]
mov rax, qword [r8 + 0x4008]
movss xmm3, dword [rax + 0x114]
subss xmm3, dword [rax + 0x2c]
movss xmm2, dword [rax + 0x110]
subss xmm2, dword [rax + 0x28]
addss xmm3, dword [rax + 0x90]
addss xmm2, dword [rax + 0x8c]
addss xmm2, xmm12
mov byte [rax + 0xc0], 1
mov rax, qword [r8 + 0x4008]
movss xmm1, dword [rax + 0x28]
subss xmm1, dword [rax + 0x8c]
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rax + 0x90]
addss xmm1, xmm2
addss xmm0, xmm3
movss dword [rax + 0x110], xmm1
movss dword [rax + 0x114], xmm0
mov byte [rax + 0x151], 1
mov qword [rsp + 0x98], 0x43480000
lea rdx, [rsp + 0x98]
lea rcx, str.Run_Roox
call fcn.1400317f0
test al, al
je 0x1400363e4
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x14003614a
lea rcx, [rsp + 0x2c0]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140036010
add rax, 0xf
cmp rax, 0x104
jae 0x14003614a
lea r8, [0x14003fbf4]
mov edx, 0x104
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, str.ROOXROOX.dll
mov edx, 0x104
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov ecx, 0x104
call fcn.140037974
mov rbx, rax
lea r8, [rsp + 0x2c0]
mov edx, 0x104
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
test rbx, rbx
je 0x14003614a
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
mov r8d, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14003612a
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x14003612a
mov qword [rsp + 0x20], rsi
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 0x14003612a
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x14003612a
mov qword [0x1400479d0], rbx
jmp 0x14003613c
mov r8d, 0x12
lea rdx, str.Download_Mod_First
call fcn.140034b80
mov rcx, rbx
call fcn.1400376bc
mov r15d, 0xf
cmp qword [0x1400479d0], 0
jne 0x14003616b
mov r8d, 0x12
lea rdx, str.Download_Mod_First
call fcn.140034b80
jmp 0x1400363e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x138], xmm0
mov qword [rsp + 0x148], rsi
mov qword [rsp + 0x150], rsi
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [r12 + rbx], 0
jne 0x140036190
cmp rbx, r13
ja 0x1400367e8
cmp rbx, 0xf
ja 0x1400361d9
mov qword [rsp + 0x148], rbx
mov qword [rsp + 0x150], r15
mov r8, rbx
mov rdx, r12
lea rcx, [rsp + 0x138]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x138], 0
jmp 0x14003627a
mov r14, rbx
or r14, 0xf
cmp r14, r13
jbe 0x140036215
mov r14, r13
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400376c4
test rax, rax
je 0x1400363d8
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140036250
cmp r14, 0x16
mov eax, 0x16
cmovb r14, rax
lea rcx, [r14 + 1]
test rcx, rcx
jne 0x140036230
mov rdi, rsi
jmp 0x140036250
cmp rcx, 0x1000
jb 0x140036248
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400367ee
jmp 0x1400361f6
call fcn.1400376c4
mov rdi, rax
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x148], rbx
mov qword [rsp + 0x150], r14
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
cmp qword [rsp + 0x148], 0
je 0x14003639e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rsp + 0x138]
cmp qword [rsp + 0x150], 0xf
cmova rbx, qword [rsp + 0x138]
mov dword [rax], esi
mov r8d, 0xa
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r14d, eax
cmp rbx, qword [rsp + 0xd8]
jne 0x1400362df
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rdi], 0x22
jne 0x1400362f1
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 + 0x68]
mov qword [rsp + 0xa0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], si
mov rdx, qword [0x1400479d0]
lea rcx, [rsp + 0x260]
call fcn.140034690
nop
mov r8d, r14d
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140033430
nop
jmp 0x14003639e
mov rdx, qword [rsp + 0x150]
cmp rdx, 0xf
jbe 0x1400363e4
inc rdx
mov rcx, qword [rsp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400363df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400363df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400376bc
xor ecx, ecx
call fcn.1400074b0
test al, al
je 0x1400363fb
lea rcx, str.Run_the_mod_in_offline_mode_first__then_go_online__
call fcn.140013b90
call fcn.14000fb60
call fcn.14000a490
mov rcx, qword [0x1400479d8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400479f0]
mov edx, 1
call qword [rax + 0x108]
mov rax, qword [0x1400479c8]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, rsi
cmp byte [rax], 0
cmovne rcx, rax
call fcn.14002c2b0
mov rcx, qword [0x1400479e8]
mov rax, qword [rcx]
mov r8d, dword [0x140047a30]
mov edx, 1
call qword [rax + 0x40]
cmp eax, 0x87a0001
jne 0x140036482
mov dword [0x140047a30], 1
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140035954
mov dword [0x140047a30], esi
jmp 0x140035954
mov rbx, qword [0x1400479c8]
test rbx, rbx
je 0x1400364a2
mov rdi, qword [rbx + 0x98]
jmp 0x1400364a5
mov rdi, rsi
call fcn.14002d260
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400364b9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400364c7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400364d6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], rsi
and dword [rbx + 0xc], 0xfffffff7
mov r8, qword [0x1400479c8]
test r8, r8
je 0x140036557
mov r9d, dword [r8 + 0x3f60]
movsx rdx, word [r8 + 0x60a8]
lea rcx, [r8 + 0x60ac]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14003654c
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60a8], cx
movsx rax, cx
lea rcx, [r8 + 0x60ac]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], 0
inc word [rcx + 6]
inc dword [r8 + 0x60a4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x1400479c8]
test r8, r8
je 0x140036575
mov rdi, qword [r8 + 0x90]
jmp 0x140036578
mov rdi, rsi
lea rbx, [r8 + 8]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140036592
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x1400479c8]
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x88], rsi
and dword [rbx + 4], 0xfffffff8
test r8, r8
je 0x140036609
mov r9d, dword [r8 + 0x3f60]
movsx rdx, word [r8 + 0x60a8]
lea rcx, [rdx*8 + 0x60ac]
add rcx, r8
cmp dword [rcx], r9d
je 0x1400365fe
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60a8], cx
movsx rax, cx
lea rcx, [rax*8 + 0x60ac]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], 0
inc word [rcx + 6]
inc dword [r8 + 0x60a4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400479c8]
mov qword [0x1400479c8], rbx
call fcn.140005f20
mov qword [0x1400479c8], rsi
test rbx, rbx
je 0x1400366b6
mov rcx, rbx
call fcn.14001bb90
mov r8, qword [0x1400479c8]
test r8, r8
je 0x1400366ad
mov r9d, dword [r8 + 0x3f60]
movsx r10, word [r8 + 0x60a8]
lea rdx, [r8 + 0x60ac]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x1400366a2
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60a8], cx
movsx rax, cx
lea rdx, [r8 + 0x60ac]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], 0
inc word [rdx + 6]
inc dword [r8 + 0x60a4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140036f10
mov rcx, qword [0x1400479f8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.USER32.dll_UnregisterClassW]
nop
mov rdx, qword [rsp + 0x198]
cmp rdx, 7
jbe 0x14003672a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036725
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036725
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400376bc
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x198], 7
mov word [rsp + 0x180], si
mov rdx, qword [rsp + 0x1b8]
cmp rdx, 0xf
jbe 0x14003678c
inc rdx
mov rcx, qword [rsp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036787
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036787
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400376bc
xor eax, eax
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.140037520
lea r11, [rsp + 0x460]
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]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
ret
call fcn.140033350
nop
call fcn.1400332b0
int3