Function at 0x452100
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9069
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x502014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x218], esi
mov dword [ebp - 4], 2
push 8
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
call fcn.00449520
lea ecx, [ebp - 0x14c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x14c], eax
mov dword [eax], ecx
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x20c]
test esi, esi
je 0x4521e1
push str.GamePath
push str.Record
push str.Record_record.ini
push eax
call fcn.00462150
add esp, 0x10
mov byte [ebp - 4], 4
lea edx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x4521d3
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4521d8
jmp 0x452217
push str.WeGamePath
push str.Record
push str.Record_record.ini
push eax
call fcn.00462150
add esp, 0x10
mov byte [ebp - 4], 5
lea edx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x452208
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452210
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x14c]
call fcn.004491c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20c]
call fcn.00448db0
mov eax, dword [ebp - 0x1f4]
cmp eax, 0x10
jb 0x452250
inc eax
push eax
push dword [ebp - 0x208]
call fcn.004495c0
add esp, 8
mov eax, dword [ebp - 0x20c]
push 8
push eax
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0xf
mov byte [ebp - 0x208], 0
mov dword [ebp - 0x20c], 0
call fcn.004495c0
add esp, 8
lea eax, [ebp - 0x148]
cmp dword [ebp - 0x134], 0x10
cmovae eax, dword [ebp - 0x148]
push eax
call fcn.00462bf0
add esp, 4
test eax, eax
je 0x452b5f
cmp dword [ebp - 0x138], 0
jne 0x45234a
push 0xc
call fcn.0045daf0
mov esi, eax
add esp, 4
mov dword [ebp - 0x130], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x4522fc
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push str.ffffff
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.0045f4c0
mov dword [esi], eax
jmp 0x4522fe
xor esi, esi
mov byte [ebp - 4], 3
test esi, esi
je 0x452cb7
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x45234a
mov eax, dword [esi]
test eax, eax
je 0x452328
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x45233f
push eax
call fcn.0045db40
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0045db40
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x20c], 0
lea eax, [ebp - 0x125]
mov dword [ebp - 0x208], 0
push 8
movups xmmword [ebp - 0x15c], xmm0
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], eax
call fcn.00449520
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x214], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x20c], eax
mov byte [ebp - 4], 7
push 1
push 0x4f7e7c
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0xf
mov byte [ebp - 0x208], 0
call fcn.004491c0
mov dword [ebp - 0x214], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00462f90
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x20c]
call fcn.00448db0
mov eax, dword [ebp - 0x1f4]
cmp eax, 0x10
jb 0x452434
inc eax
push eax
push dword [ebp - 0x208]
call fcn.004495c0
add esp, 8
mov eax, dword [ebp - 0x20c]
push 8
push eax
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0xf
mov byte [ebp - 0x208], 0
mov dword [ebp - 0x20c], 0
call fcn.004495c0
add esp, 8
lea ecx, [ebp - 0x1d0]
call fcn.00460a90
mov byte [ebp - 4], 0xb
xorps xmm0, xmm0
movups xmmword [ebp - 0x120], xmm0
push 8
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
movups xmmword [ebp - 0x120], xmm0
call fcn.00449520
lea ecx, [ebp - 0x120]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x120], eax
mov dword [eax], ecx
mov byte [ebp - 4], 0xc
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
lea edx, [ebp - 0x214]
cmovae ecx, dword [ebp + 0xc]
call fcn.0044d220
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x4528a7
lea ecx, [ebp - 0x120]
push ecx
push eax
call fcn.004603d0
mov eax, dword [ebp - 0x118]
add esp, 8
mov ecx, dword [ebp - 0x11c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4524c1
mov esi, dword [0x50b614]
lea edx, [ebp - 0x124]
push edx
push 1
push dword [ecx]
mov eax, dword [esi]
push esi
mov dword [ebp - 0x124], 0
call dword [eax + 0x130]
test eax, eax
jns 0x45253e
push 0x4f89fc
push esi
push eax
call fcn.0045f0b0
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x11c]
sub eax, ecx
sar eax, 2
test eax, eax
jne 0x45259c
push str.vector_subscript_out_of_range
push 0x4f7994
push eax
push 0x611
push 0x4f7f70
push 2
call fcn.0047f7a0
add esp, 0x18
cmp eax, 1
jne 0x452578
int3
push 0
push 0x611
push str.E:Program_Files__x86_Microsoft_Visual_Studio2019EnterpriseVCToolsMSVC14.29.30133include_vector
push 0x4f7adc
push str._vector_subscript_out_of_range_
call fcn.0047fc10
mov ecx, dword [ebp - 0x11c]
add esp, 0x14
mov esi, dword [0x50b614]
lea edx, [ebp - 0x12c]
push edx
push 8
push dword [ecx]
mov eax, dword [esi]
push esi
mov dword [ebp - 0x12c], 0
call dword [eax + 0x130]
test eax, eax
jns 0x4525d0
push 0x4f89fc
push esi
push eax
call fcn.0045f0b0
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x11c]
sub eax, ecx
sar eax, 2
test eax, eax
jne 0x45262e
push str.vector_subscript_out_of_range
push 0x4f7994
push eax
push 0x611
push 0x4f7f70
push 2
call fcn.0047f7a0
add esp, 0x18
cmp eax, 1
jne 0x45260a
int3
push 0
push 0x611
push str.E:Program_Files__x86_Microsoft_Visual_Studio2019EnterpriseVCToolsMSVC14.29.30133include_vector
push 0x4f7adc
push str._vector_subscript_out_of_range_
call fcn.0047fc10
mov ecx, dword [ebp - 0x11c]
add esp, 0x14
mov esi, dword [0x50b614]
lea edx, [ebp - 0x130]
cmp dword [ebp - 0x218], 0
mov eax, str.DD2.bmpDD4.bmp
mov ecx, dword [ecx]
mov edi, str.DD1.bmpDD3.bmp
push edx
lea edx, [ebp - 0x16c]
mov dword [ebp - 0x124], ecx
push edx
lea edx, [ebp - 0x17c]
mov dword [ebp - 0x130], 0
push edx
cmovne edi, eax
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0xe8]
test eax, eax
jns 0x452689
push 0x4f89fc
push esi
push eax
call fcn.0045f0b0
mov esi, dword [0x50b614]
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x12c], 0
push ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x19c]
push ecx
lea ecx, [ebp - 0x1f0]
push ecx
lea ecx, [ebp - 0x1e0]
push ecx
push dword [ebp - 0x124]
push esi
call dword [eax + 0x124]
test eax, eax
jns 0x4526db
push 0x4f89fc
push esi
push eax
call fcn.0045f0b0
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0047b390
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [ebp - 0x1d8]
push ecx
call fcn.0044c140
add esp, 4
movups xmm0, xmmword [eax]
push edi
sub esp, 0xc
movups xmmword [ebp - 0x250], xmm0
movups xmm0, xmmword [eax + 0x10]
psrldq xmm0, 0xc
movd ecx, xmm0
call fcn.00451680
add esp, 0x10
test eax, eax
jne 0x4527a6
mov ecx, dword [ebp - 0x124]
call fcn.004519a0
mov edx, dword [ebp - 0x1d8]
push ecx
call fcn.0044c140
movups xmm0, xmmword [eax]
mov ecx, dword [eax + 0x20]
movups xmmword [ebp - 0x250], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x240], xmm0
call fcn.00451c10
mov edx, dword [ebp - 0x1d8]
call fcn.0044c140
add esp, 4
movups xmm0, xmmword [eax]
push edi
sub esp, 0xc
movups xmmword [ebp - 0x250], xmm0
movups xmm0, xmmword [eax + 0x10]
psrldq xmm0, 0xc
movd ecx, xmm0
call fcn.00451680
add esp, 0x10
test eax, eax
je 0x45286e
push dword [ebp - 0x218]
lea eax, [ebp + 0x40]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x21c], esp
push eax
call fcn.00455710
mov byte [ebp - 4], 0x17
sub esp, 0x1c
lea eax, [ebp + 0x24]
mov dword [ebp - 0x220], esp
mov ecx, esp
push eax
call fcn.00455710
mov byte [ebp - 4], 0x18
sub esp, 0x1c
lea eax, [ebp + 8]
mov dword [ebp - 0x224], esp
mov ecx, esp
push eax
call fcn.00455710
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 0x11c]
sub eax, edx
sar eax, 2
test eax, eax
jne 0x452852
push str.vector_subscript_out_of_range
push 0x4f7994
push eax
push 0x611
push 0x4f7f70
push 2
call fcn.0047f7a0
add esp, 0x18
cmp eax, 1
jne 0x45282e
int3
push 0
push 0x611
push str.E:Program_Files__x86_Microsoft_Visual_Studio2019EnterpriseVCToolsMSVC14.29.30133include_vector
push 0x4f7adc
push str._vector_subscript_out_of_range_
call fcn.0047fc10
mov edx, dword [ebp - 0x11c]
add esp, 0x14
mov byte [ebp - 4], 0xc
mov edx, dword [edx]
mov ecx, dword [ebp - 0x210]
call fcn.00451e40
add esp, 0x58
test eax, eax
jne 0x452a4d
mov esi, dword [0x50b614]
lea ecx, [ebp - 0x124]
push ecx
push esi
mov dword [ebp - 0x124], 0
mov eax, dword [esi]
call dword [eax + 0x94]
test eax, eax
jns 0x4524c1
push 0x4f89fc
push esi
push eax
call fcn.0045f0b0
jmp 0x4524c1
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x45297d
lea ecx, [ebp - 0x120]
push ecx
push eax
call fcn.004603d0
mov eax, dword [ebp - 0x118]
add esp, 8
sub eax, dword [ebp - 0x11c]
test eax, 0xfffffffc
je 0x4524c1
sub esp, 0x1c
lea eax, [ebp + 0x24]
mov ecx, esp
mov dword [ebp - 0x228], esp
push eax
call fcn.00455710
mov byte [ebp - 4], 0x1a
sub esp, 0x1c
lea eax, [ebp + 8]
mov dword [ebp - 0x22c], esp
mov ecx, esp
push eax
call fcn.00455710
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x11c]
sub eax, ecx
sar eax, 2
test eax, eax
jne 0x45296a
push str.vector_subscript_out_of_range
push 0x4f7994
push eax
push 0x611
push 0x4f7f70
push 2
call fcn.0047f7a0
add esp, 0x18
cmp eax, 1
jne 0x452946
int3
push 0
push 0x611
push str.E:Program_Files__x86_Microsoft_Visual_Studio2019EnterpriseVCToolsMSVC14.29.30133include_vector
push 0x4f7adc
push str._vector_subscript_out_of_range_
call fcn.0047fc10
mov ecx, dword [ebp - 0x11c]
add esp, 0x14
mov byte [ebp - 4], 0xc
mov ecx, dword [ecx]
call fcn.00450420
add esp, 0x38
jmp 0x4524c1
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00455710
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x208]
cmp dword [ebp - 0x1f4], 0x10
push 5
cmovae eax, dword [ebp - 0x208]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x4529d0
push eax
push str.return_value:_d_n
call fcn.004488d0
add esp, 8
jmp 0x4529dd
push str.successed__n
call fcn.004488d0
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20c]
call fcn.00448db0
mov eax, dword [ebp - 0x1f4]
cmp eax, 0x10
jb 0x452a07
inc eax
push eax
push dword [ebp - 0x208]
call fcn.004495c0
add esp, 8
mov eax, dword [ebp - 0x20c]
push 8
push eax
mov dword [ebp - 0x20c], 0
mov byte [ebp - 0x208], 0
mov dword [ebp - 0x1f4], 0xf
mov dword [ebp - 0x1f8], 0
call fcn.004495c0
add esp, 8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4524c1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x120]
call fcn.00448db0
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
je 0x452a99
mov eax, dword [ebp - 0x114]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.004495c0
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x120]
push 8
push eax
mov dword [ebp - 0x120], 0
call fcn.004495c0
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1d0]
call fcn.00460b20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x15c]
call fcn.00448db0
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x452b44
lea ecx, [ebp - 0x15c]
push ecx
push dword [ebp - 0x154]
push eax
call fcn.00458480
mov ecx, dword [ebp - 0x150]
mov eax, 0x92492493
mov esi, dword [ebp - 0x158]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
push eax
push esi
call fcn.004495c0
add esp, 0x14
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x15c]
push 8
push eax
mov dword [ebp - 0x15c], 0
call fcn.004495c0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14c]
call fcn.00448db0
mov eax, dword [ebp - 0x134]
cmp eax, 0x10
jb 0x452b89
inc eax
push eax
push dword [ebp - 0x148]
call fcn.004495c0
add esp, 8
mov eax, dword [ebp - 0x14c]
push 8
push eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
mov dword [ebp - 0x14c], 0
call fcn.004495c0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00448db0
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x452be0
inc eax
push eax
push dword [ebp + 0xc]
call fcn.004495c0
add esp, 8
mov eax, dword [ebp + 8]
push 8
push eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
mov dword [ebp + 8], 0
call fcn.004495c0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x24]
call fcn.00448db0
mov eax, dword [ebp + 0x3c]
cmp eax, 0x10
jb 0x452c28
inc eax
push eax
push dword [ebp + 0x28]
call fcn.004495c0
add esp, 8
mov eax, dword [ebp + 0x24]
push 8
push eax
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0xf
mov byte [ebp + 0x28], 0
mov dword [ebp + 0x24], 0
call fcn.004495c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.00448db0
mov eax, dword [ebp + 0x58]
cmp eax, 0x10
jb 0x452c73
inc eax
push eax
push dword [ebp + 0x44]
call fcn.004495c0
add esp, 8
mov eax, dword [ebp + 0x40]
push 8
push eax
mov dword [ebp + 0x54], 0
mov dword [ebp + 0x58], 0xf
mov byte [ebp + 0x44], 0
mov dword [ebp + 0x40], 0
call fcn.004495c0
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045dae0
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.0045f060
int3