Function at 0x5262a0
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560a24
mov eax, dword fs:[0]
push eax
mov eax, 0x1414
call fcn.00552460
mov eax, dword [0x58829c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1114], 0xf
mov dword [ebp - 0x1118], 0
mov byte [ebp - 0x1128], 0
push 1
push 0x5755bc
lea ecx, [ebp - 0x1128]
mov dword [ebp - 4], 0
call fcn.0042f900
push 1
push str.3A4eZ1GcFEHD
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x5677c4
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x5755c4
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x5755c0
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x5755cc
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x575cb8
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x5755c8
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x5755d4
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x5755d0
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x5755dc
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x5755d8
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x5755e4
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x5755e0
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x5737b0
lea ecx, [ebp - 0x1128]
call fcn.0042f900
push 1
push 0x5755f8
lea ecx, [ebp - 0x1128]
call fcn.0042f900
lea ecx, [ebp - 0x1258]
mov byte [ebp - 0x13f6], 1
mov byte [ebp - 0x13f5], 1
mov dword [ebp - 0x1408], 0x32
mov dword [ebp - 0x1410], 0x32
mov dword [ebp - 0x1258], 0
mov dword [ebp - 0x1254], 0
call fcn.004025a0
mov byte [ebp - 4], 1
mov edx, dword [0x58d464]
push 0x5755e8
lea edx, [edx + 0x128]
lea ecx, [ebp - 0x1140]
call fcn.00443900
add esp, 4
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x526484
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1190]
push eax
call fcn.00443fc0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 3
cmp dword [edx + 0x14], 0x10
jb 0x5264a2
mov edx, dword [edx]
mov eax, dword [0x58d454]
push edx
push 0x1d
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [ebp - 0x117c], 0x10
mov ebx, dword [sym.imp.msvcr120.dll_void___cdecl_operator_delete_void__]
jb 0x5264ca
push dword [ebp - 0x1190]
call ebx
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x112c], 8
mov dword [ebp - 0x117c], 0xf
mov dword [ebp - 0x1180], 0
mov byte [ebp - 0x1190], 0
jb 0x5264fd
push dword [ebp - 0x1140]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x112c], 7
mov word [ebp - 0x1140], ax
mov eax, dword [0x58d454]
push 0x527700
mov dword [ebp - 0x1130], 0
push 8
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [0x58d454]
push fcn.005278e0
push 9
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [0x58d454]
push 0x527fd0
push 0xe
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [0x58d454]
push fcn.005280b0
push 0xc
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [0x58d454]
push 0
push 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [0x58d454]
push 0
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [0x58d454]
push 0
push 6
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [0x58d454]
push 0
push 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [0x58d454]
push 0
push 0x18
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [0x58d454]
push 0
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [0x58d454]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
call dword [sym.imp.kernel32.dll_GetTickCount]
push eax
call dword [sym.imp.msvcr120.dll_srand]
mov esi, dword [0x58d454]
lea ecx, [ebp - 0x1128]
add esp, 4
cmp dword [ebp - 0x1114], 0x10
cmovae ecx, dword [ebp - 0x1128]
mov eax, dword [esi]
push ecx
push str.data.zip
push esi
call dword [eax + 0x7c]
test al, al
mov eax, dword [0x58d454]
push str.data.zip
mov ecx, dword [eax]
je 0x526630
push str.Package__s_attached
push eax
call dword [ecx + 0x20]
mov eax, dword [esi]
add esp, 0xc
push str.data.zip
push esi
call dword [eax + 0x68]
mov dword [0x58d438], eax
jmp 0x52663c
push str.Package__s_not_found_or_corrupted
push eax
call dword [ecx + 0x20]
add esp, 0xc
push pe_nt_image_headers32
call dword [sym.imp.msvcr120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x13f0], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x526663
mov ecx, eax
call fcn.00524590
mov ecx, eax
jmp 0x526665
xor ecx, ecx
mov eax, dword [0x58d464]
mov dword [eax + 0x148], ecx
lea ecx, [ebp - 0x13e8]
mov dword [ebp - 0x13e8], 0
mov dword [ebp - 0x13e4], 0
call fcn.004025a0
push str.config_language.xml
lea eax, [ebp - 0x13e8]
mov byte [ebp - 4], 5
push eax
call fcn.0053ad20
lea eax, [ebp - 0x13e8]
push eax
lea eax, [ebp - 0x1400]
push str.root
push eax
call fcn.004c9050
add esp, 0xc
cmp dword [ebp - 0x1400], 0
je 0x526759
lea eax, [ebp - 0x1400]
mov edx, str.language
push eax
lea ecx, [ebp - 0x13ec]
call fcn.004c8fb0
lea edx, [ebp - 0x13ec]
call fcn.004c8ef0
add esp, 4
mov eax, 0x5883f4
cmp dword [0x588408], 0x10
cmovae eax, dword [0x5883f4]
push eax
push str.resources__s_language.xml
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.msvcr120.dll_sprintf_s]
mov eax, dword [0x58d464]
add esp, 0x10
cmp byte [ebp - 0x110], 0
mov edx, dword [eax + 0x148]
jne 0x526737
xor ecx, ecx
jmp 0x526749
lea ecx, [ebp - 0x110]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x526740
sub ecx, edi
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [edx + 0x58]
call fcn.00401ea0
mov eax, dword [0x58d464]
lea ecx, [eax + 8]
cmp ecx, 0x5883f4
je 0x52677c
push 0xffffffffffffffff
push 0
push 0x5883f4
call fcn.00402280
mov eax, dword [0x58d464]
mov ecx, dword [eax + 0x148]
cmp dword [ecx + 0x6c], 0x10
lea eax, [ecx + 0x58]
jb 0x52678d
mov eax, dword [eax]
push eax
call fcn.005247b0
mov ecx, dword [0x58d464]
push str.TXT_GAME_TITLE
mov ecx, dword [ecx + 0x148]
call fcn.00525a00
mov ecx, eax
sub esi, ecx
lea ecx, [ecx]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + esi + 0x847], al
test al, al
jne 0x5267b0
mov edx, dword [0x58d464]
lea ecx, [ebp - 0x1158]
push 0x56f060
lea edx, [edx + 0x128]
call fcn.00443900
add esp, 4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1158]
cmp dword [ebp - 0x1144], 8
cmovae eax, dword [ebp - 0x1158]
push eax
lea eax, [ebp - 0x1140]
push eax
call fcn.00443fc0
add esp, 8
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x526813
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1258]
push eax
call fcn.0053ad20
mov byte [ebp - 4], 6
cmp dword [ebp - 0x112c], 0x10
jb 0x526838
push dword [ebp - 0x1140]
call ebx
add esp, 4
push str.root
lea eax, [ebp - 0x13ec]
push eax
lea ecx, [ebp - 0x1258]
call fcn.00402490
cmp dword [ebp - 0x13ec], 0
jne 0x526902
push str.config.xml
lea eax, [ebp - 0x1258]
push eax
call fcn.0053ad20
cmp dword [ebp - 0x1144], 8
lea eax, [ebp - 0x1158]
lea ecx, [ebp - 0x1258]
cmovae eax, dword [ebp - 0x1158]
sub esp, 0xc
push eax
call fcn.0045f970
push str.root
lea eax, [ebp - 0x13f0]
push eax
lea ecx, [ebp - 0x1258]
call fcn.00402490
cmp dword [eax], 0
jne 0x526902
push str.Cannot_create_config:_n
lea ecx, [ebp - 0x1140]
call fcn.00450670
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1158]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x1140]
call fcn.00443b00
cmp dword [ebp - 0x112c], 8
lea eax, [ebp - 0x1140]
push 0x10
cmovae eax, dword [ebp - 0x1140]
push str.Error
push eax
push 0
call dword [sym.imp.user32.dll_MessageBoxW]
push 0
call dword [sym.imp.msvcr120.dll_exit]
push ecx
push str.__root_video
lea eax, [ebp - 0x13f4]
push eax
lea ecx, [ebp - 0x1258]
call fcn.00532b80
push ecx
push str.__root_audio
lea eax, [ebp - 0x1418]
push eax
lea ecx, [ebp - 0x1258]
call fcn.00532b80
mov esi, dword [ebp - 0x13f4]
mov ecx, fcn.00402670
mov edi, dword [ebp - 0x13f0]
test esi, esi
jne 0x52694f
test edi, edi
je 0x526c47
test ecx, ecx
je 0x526c47
mov dword [ebp - 0x13ec], 0
lea eax, [ebp - 0x13ec]
test edi, edi
jne 0x526971
mov dword [ebp - 0x13ec], esi
mov eax, dword [eax]
lea ecx, [ebp - 0x13ec]
mov dword [ebp - 0x13ec], eax
lea eax, [ebp - 0x140c]
push 0x5672f4
push eax
call fcn.004023d0
mov dword [ebp - 0x13ec], 0
lea eax, [ebp - 0x13ec]
test edi, edi
jne 0x5269aa
mov dword [ebp - 0x13ec], esi
mov eax, dword [eax]
lea ecx, [ebp - 0x13ec]
mov dword [ebp - 0x13ec], eax
lea eax, [ebp - 0x1404]
push 0x5672fc
push eax
call fcn.004023d0
mov dword [ebp - 0x13ec], 0
lea eax, [ebp - 0x13ec]
test edi, edi
jne 0x5269e3
mov dword [ebp - 0x13ec], esi
mov eax, dword [eax]
lea ecx, [ebp - 0x13ec]
mov dword [ebp - 0x13ec], eax
lea eax, [ebp - 0x13f0]
push 0x5756d8
push eax
call fcn.004023d0
mov dword [ebp - 0x13ec], 0
lea eax, [ebp - 0x13ec]
test edi, edi
jne 0x526a1c
mov dword [ebp - 0x13ec], esi
mov eax, dword [eax]
lea ecx, [ebp - 0x13ec]
mov dword [ebp - 0x13ec], eax
lea eax, [ebp - 0x1400]
push str.windowed
push eax
call fcn.004023d0
mov dword [ebp - 0x13ec], 0
lea eax, [ebp - 0x13ec]
test edi, edi
jne 0x526a55
mov dword [ebp - 0x13ec], esi
mov eax, dword [eax]
lea ecx, [ebp - 0x13fc]
mov dword [ebp - 0x13fc], eax
lea eax, [ebp - 0x13ec]
push str.custom_cursor
push eax
call fcn.004023d0
mov dword [ebp - 0x13fc], 0
lea eax, [ebp - 0x13fc]
test edi, edi
jne 0x526a8e
mov dword [ebp - 0x13fc], esi
mov eax, dword [eax]
lea ecx, [ebp - 0x141c]
mov dword [ebp - 0x141c], eax
lea eax, [ebp - 0x13fc]
push str.vsync
push eax
call fcn.004023d0
mov eax, dword [ebp - 0x140c]
mov edi, dword [sym.imp.msvcr120.dll_strtol]
test eax, eax
je 0x526ae2
mov eax, dword [eax + 8]
test eax, eax
jne 0x526ac8
xor edx, edx
jmp 0x526ad4
push 0xa
push 0
push eax
call edi
add esp, 0xc
mov edx, eax
mov eax, dword [0x58d454]
push edx
push 0x11
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x1404]
test eax, eax
je 0x526b11
mov eax, dword [eax + 8]
test eax, eax
jne 0x526af7
xor edx, edx
jmp 0x526b03
push 0xa
push 0
push eax
call edi
add esp, 0xc
mov edx, eax
mov eax, dword [0x58d454]
push edx
push 0x12
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x13f0]
test eax, eax
je 0x526b40
mov eax, dword [eax + 8]
test eax, eax
jne 0x526b26
xor edx, edx
jmp 0x526b32
push 0xa
push 0
push eax
call edi
add esp, 0xc
mov edx, eax
mov eax, dword [0x58d454]
push edx
push 0x13
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
cmp dword [ebp - 0x1400], 0
je 0x526b82
push 0
lea ecx, [ebp - 0x1400]
call fcn.00459220
mov byte [ebp - 0x13f0], al
mov eax, dword [0x58d454]
push dword [ebp - 0x13f0]
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
push 0
lea ecx, [ebp - 0x1400]
call fcn.00459220
mov byte [ebp - 0x13f6], al
cmp dword [ebp - 0x13fc], 0
je 0x526bc5
push 1
lea ecx, [ebp - 0x13fc]
call fcn.00459220
mov ecx, dword [0x58d464]
mov byte [ecx + 0x14f30], al
mov eax, dword [0x58d464]
cmp byte [eax + 0x14f30], 0
mov eax, dword [0x58d454]
mov ecx, dword [eax]
je 0x526bbd
push 0xffffffffffffffff
jmp 0x526bbf
push 0
push 0x18
push eax
call dword [ecx + 0x4c]
cmp dword [ebp - 0x13ec], 0
je 0x526be1
push 0
lea ecx, [ebp - 0x13ec]
call fcn.00459220
mov byte [ebp - 0x13f5], al
mov esi, dword [sym.imp.user32.dll_GetSystemMetrics]
push 0
call esi
push 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x13f0], xmm0
call esi
mov ecx, dword [0x58d454]
movd xmm0, eax
cvttss2si eax, dword [ebp - 0x13f0]
mov edx, dword [ecx]
cvtdq2ps xmm0, xmm0
push eax
push 0x1a
push ecx
movss dword [ebp - 0x1404], xmm0
call dword [edx + 0x4c]
cvttss2si eax, dword [ebp - 0x1404]
mov ecx, dword [0x58d454]
mov edx, dword [ecx]
push eax
push 0x1b
push ecx
call dword [edx + 0x4c]
call fcn.005280b0
mov ecx, fcn.00402670
jmp 0x526c4d
mov edi, dword [sym.imp.msvcr120.dll_strtol]
mov esi, dword [ebp - 0x1418]
mov eax, dword [ebp - 0x1414]
test esi, esi
jne 0x526c65
test eax, eax
je 0x526d36
test ecx, ecx
je 0x526d36
test eax, eax
mov dword [ebp - 0x13f0], 0
lea eax, [ebp - 0x13f0]
jne 0x526c87
mov dword [ebp - 0x13f0], esi
mov eax, dword [eax]
lea ecx, [ebp - 0x13f0]
mov dword [ebp - 0x13f0], eax
lea eax, [ebp - 0x1404]
push str.music_volume
push eax
call fcn.004023d0
cmp dword [ebp - 0x1414], 0
lea eax, [ebp - 0x13f0]
mov dword [ebp - 0x13f0], 0
jne 0x526cc5
mov dword [ebp - 0x13f0], esi
mov eax, dword [eax]
lea ecx, [ebp - 0x13f0]
mov dword [ebp - 0x13f0], eax
lea eax, [ebp - 0x140c]
push str.sfx_volume
push eax
call fcn.004023d0
mov eax, dword [ebp - 0x1404]
test eax, eax
je 0x526d0d
mov eax, dword [eax + 8]
test eax, eax
jne 0x526cfd
mov dword [ebp - 0x1408], eax
jmp 0x526d0d
push 0xa
push 0
push eax
call edi
add esp, 0xc
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x140c]
test ecx, ecx
je 0x526d36
mov eax, dword [ecx + 8]
test eax, eax
jne 0x526d26
mov dword [ebp - 0x1410], eax
jmp 0x526d36
push 0xa
push 0
push eax
call edi
add esp, 0xc
mov dword [ebp - 0x1410], eax
mov ecx, dword [0x58d464]
mov byte [ecx + 0x14f31], 0
lea ecx, [ebp - 0x1320]
mov dword [ebp - 0x1320], 0
mov dword [ebp - 0x131c], 0
call fcn.004025a0
push str.config.xml
lea eax, [ebp - 0x1320]
mov byte [ebp - 4], 9
push eax
call fcn.0053ad20
push str.root
lea eax, [ebp - 0x13f0]
push eax
lea ecx, [ebp - 0x1320]
call fcn.00402490
cmp dword [eax], 0
je 0x526ee9
push ecx
push str.__root_dev
lea eax, [ebp - 0x1418]
push eax
lea ecx, [ebp - 0x1320]
call fcn.00532b80
mov esi, dword [ebp - 0x1418]
mov edi, dword [ebp - 0x1414]
test esi, esi
jne 0x526dc7
test edi, edi
je 0x526ee9
mov eax, fcn.00402670
test eax, eax
je 0x526ee9
mov dword [ebp - 0x13f0], 0
lea eax, [ebp - 0x13f0]
test edi, edi
jne 0x526dee
mov dword [ebp - 0x13f0], esi
mov eax, dword [eax]
lea ecx, [ebp - 0x13f0]
mov dword [ebp - 0x13f0], eax
lea eax, [ebp - 0x13ec]
push str.auto_save_lvl
push eax
call fcn.004023d0
cmp dword [ebp - 0x13ec], 0
je 0x526e2f
push 0
lea ecx, [ebp - 0x13ec]
call fcn.00459220
mov ecx, dword [0x58d464]
mov byte [ecx + 0x14f31], al
mov dword [ebp - 0x13f0], 0
lea eax, [ebp - 0x13f0]
test edi, edi
jne 0x526e49
mov dword [ebp - 0x13f0], esi
mov eax, dword [eax]
lea ecx, [ebp - 0x13f0]
mov dword [ebp - 0x13f0], eax
lea eax, [ebp - 0x13ec]
push 0x5672f4
push eax
call fcn.004023d0
mov dword [ebp - 0x13f0], 0
lea eax, [ebp - 0x13f0]
test edi, edi
jne 0x526e82
mov dword [ebp - 0x13f0], esi
mov eax, dword [eax]
lea ecx, [ebp - 0x13f0]
mov dword [ebp - 0x13f0], eax
lea eax, [ebp - 0x13fc]
push 0x5672fc
push eax
call fcn.004023d0
cmp dword [ebp - 0x13ec], 0
je 0x526ec5
push ecx
lea ecx, [ebp - 0x13ec]
call fcn.004023a0
mov ecx, dword [0x58d454]
push eax
push 0x11
push ecx
mov edx, dword [ecx]
call dword [edx + 0x4c]
cmp dword [ebp - 0x13fc], 0
je 0x526ee9
push ecx
lea ecx, [ebp - 0x13fc]
call fcn.004023a0
mov ecx, dword [0x58d454]
push eax
push 0x12
push ecx
mov edx, dword [ecx]
call dword [edx + 0x4c]
push 0
lea eax, [ebp - 0x1178]
push eax
push 0
push 0x30
call dword [sym.imp.user32.dll_SystemParametersInfoA]
movdqa xmm0, xmmword [0x577dc0]
lea eax, [ebp - 0x1168]
push 0
push 0
push 0x90ca0000
push eax
movdqu xmmword [ebp - 0x1168], xmm0
call dword [sym.imp.user32.dll_AdjustWindowRectEx]
mov eax, dword [ebp - 0x1170]
sub eax, dword [ebp - 0x1178]
mov edx, dword [ebp - 0x1160]
sub edx, dword [ebp - 0x1168]
mov ecx, dword [ebp - 0x115c]
sub edx, 0x640
sub ecx, dword [ebp - 0x1164]
movss xmm3, dword [0x577570]
sub ecx, 0x384
movd xmm5, eax
movaps xmm1, xmm3
mov eax, dword [ebp - 0x116c]
movaps xmm2, xmm3
sub eax, dword [ebp - 0x1174]
cvtdq2ps xmm5, xmm5
movd xmm4, eax
lea eax, [edx + 0x640]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm4, xmm4
comiss xmm0, xmm5
jbe 0x526fa2
movd xmm0, edx
movaps xmm1, xmm5
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
mulss xmm1, dword [0x57745c]
lea eax, [ecx + 0x384]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm4
jbe 0x526fca
movd xmm0, ecx
movaps xmm2, xmm4
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
mulss xmm2, dword [0x577468]
comiss xmm2, xmm1
ja 0x526fd2
movaps xmm1, xmm2
comiss xmm3, xmm1
jbe 0x527026
movaps xmm0, xmm1
mov ecx, dword [0x58d454]
mulss xmm0, dword [0x577bcc]
mulss xmm1, dword [0x577b7c]
mov edx, dword [ecx]
cvttss2si eax, xmm0
cvttss2si esi, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm0
push eax
push 0x11
push ecx
call dword [edx + 0x4c]
mov ecx, dword [0x58d454]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov edx, dword [ecx]
cvttss2si eax, xmm0
push eax
push 0x12
push ecx
call dword [edx + 0x4c]
mov eax, dword [0x58d454]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test al, al
jne 0x5270ae
lea ecx, [ebp - 0x1320]
mov byte [ebp - 4], 6
call fcn.00402520
cmp dword [ebp - 0x1144], 8
jb 0x527058
push dword [ebp - 0x1158]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x1144], 7
lea ecx, [ebp - 0x13e8]
mov dword [ebp - 0x1148], 0
mov word [ebp - 0x1158], ax
mov byte [ebp - 4], 1
call fcn.00402520
lea ecx, [ebp - 0x1258]
mov byte [ebp - 4], 0
call fcn.00402520
cmp dword [ebp - 0x1114], 0x10
jb 0x5270a7
push dword [ebp - 0x1128]
call ebx
add esp, 4
xor eax, eax
jmp 0x5275c5
lea eax, [ebp - 0x1110]
push eax
push 0x800
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x1110]
push eax
lea eax, [ebp - 0x1140]
push eax
call fcn.00443fc0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xa
cmp dword [edx + 0x14], 0x10
jb 0x5270e4
mov edx, dword [edx]
mov eax, dword [0x58d454]
push edx
push str.Install_dir:__s
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
add esp, 0xc
mov byte [ebp - 4], 9
cmp dword [ebp - 0x112c], 0x10
jb 0x527110
push dword [ebp - 0x1140]
call ebx
add esp, 4
mov eax, dword [0x58d464]
add eax, 0x128
cmp dword [eax + 0x14], 8
jb 0x527122
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1140]
push eax
call fcn.00443fc0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xb
cmp dword [edx + 0x14], 0x10
jb 0x527140
mov edx, dword [edx]
mov eax, dword [0x58d454]
push edx
push str.User_dir:__s
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
add esp, 0xc
mov byte [ebp - 4], 9
cmp dword [ebp - 0x112c], 0x10
jb 0x52716c
push dword [ebp - 0x1140]
call ebx
add esp, 4
mov edi, dword [sym.imp.msvcr120.dll_void____cdecl_operator_new_unsigned_int_]
push 0x61c4
call edi
add esp, 4
mov dword [ebp - 0x13f0], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x527195
mov ecx, eax
call fcn.0048f7e0
mov ecx, eax
jmp 0x527197
xor ecx, ecx
mov byte [ebp - 4], 9
mov eax, dword [0x58d464]
mov dword [eax + 0x1e4], ecx
mov ecx, dword [0x58d464]
mov ecx, dword [ecx + 0x1e4]
call fcn.0048f900
mov eax, dword [0x58d464]
mov cl, byte [ebp - 0x13f6]
push str.cursor1.cur
mov byte [eax + 0x14504], cl
mov eax, dword [0x58d464]
mov cl, byte [ebp - 0x13f5]
mov byte [eax + 0x14505], cl
mov eax, dword [0x58d464]
mov byte [eax + 0x14506], 1
mov eax, dword [0x58d464]
mov byte [eax + 0x14506], 1
call dword [sym.imp.user32.dll_LoadCursorFromFileW]
cmp byte [ebp - 0x13f5], 0
mov ecx, dword [0x58d464]
mov dword [ecx + 0x144], eax
je 0x52722d
mov ecx, dword [0x58d454]
mov eax, dword [0x58d464]
mov edx, dword [ecx]
push dword [eax + 0x144]
push ecx
call dword [edx + 0x244]
jmp 0x52723d
mov eax, dword [0x58d454]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x244]
mov eax, dword [0x58d464]
mov ecx, dword [ebp - 0x1408]
push 0x528070
push 0xa
mov dword [eax + 0x14508], ecx
mov eax, dword [0x58d464]
mov ecx, dword [ebp - 0x1410]
mov dword [eax + 0x1450c], ecx
mov eax, dword [0x58d454]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [0x58d454]
push 0x528090
push 0xb
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [0x58d454]
push 0x11
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [0x58d454]
push 0x12
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [0x58d454]
push 0x1a
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [0x58d454]
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [0x58d454]
push 0
push 0x640
push 0x640
mov ecx, dword [eax]
push eax
call dword [ecx + 0x210]
mov ecx, dword [0x58d454]
push eax
push ecx
mov dword [0x58d440], eax
mov edx, dword [ecx]
call dword [edx + 0x218]
push 0xf4
mov esi, eax
call edi
mov edi, eax
add esp, 4
mov dword [ebp - 0x13f0], edi
mov byte [ebp - 4], 0xd
test edi, edi
je 0x52735b
mov ecx, dword [0x58d454]
push 0
push esi
push ecx
mov edx, dword [ecx]
call dword [edx + 0x230]
push ecx
movd xmm0, eax
mov eax, dword [0x58d454]
cvtdq2ps xmm0, xmm0
mov ecx, dword [eax]
movss dword [esp], xmm0
push 0
push esi
push eax
call dword [ecx + 0x22c]
sub esp, 0xc
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
push esi
call fcn.00541d40
jmp 0x52735d
xor eax, eax
mov byte [ebp - 4], 9
mov dword [eax + 0x64], 0
mov dword [0x58d43c], eax
mov eax, dword [0x58d454]
push 0
push 0x640
push 0x640
mov ecx, dword [eax]
push eax
call dword [ecx + 0x210]
mov ecx, dword [0x58d454]
push eax
push ecx
mov dword [0x58d448], eax
mov edx, dword [ecx]
call dword [edx + 0x218]
push 0xf4
mov edi, eax
call dword [sym.imp.msvcr120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x13f0], esi
mov byte [ebp - 4], 0xe
test esi, esi
je 0x527415
mov ecx, dword [0x58d454]
push 0
push edi
push ecx
mov edx, dword [ecx]
call dword [edx + 0x230]
push ecx
movd xmm0, eax
mov eax, dword [0x58d454]
cvtdq2ps xmm0, xmm0
mov ecx, dword [eax]
movss dword [esp], xmm0
push 0
push edi
push eax
call dword [ecx + 0x22c]
sub esp, 0xc
mov ecx, esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
push edi
call fcn.00541d40
jmp 0x527417
xor eax, eax
mov byte [ebp - 4], 9
mov edi, dword [sym.imp.msvcr120.dll_void____cdecl_operator_new_unsigned_int_]
push 0x74
mov dword [0x58d444], eax
mov dword [eax + 0x64], 2
call edi
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x52746c
mov dword [ecx], 0x576fdc
mov dword [ecx + 4], 0x5752f0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov eax, dword [0x58d464]
mov eax, dword [eax + 0x154]
mov dword [ecx + 0x20], eax
jmp 0x52746e
xor ecx, ecx
mov eax, dword [0x58d464]
mov dword [eax + 0x60], ecx
mov ecx, dword [0x58d464]
mov ecx, dword [ecx + 0x60]
call fcn.0053f280
mov eax, dword [0x58d454]
push 0
push 0x640
push 0x640
mov ecx, dword [eax]
push eax
call dword [ecx + 0x210]
mov ecx, dword [0x58d464]
mov dword [ecx + 0x4c], eax
mov ecx, dword [0x58d454]
mov eax, dword [0x58d464]
mov edx, dword [ecx]
push dword [eax + 0x4c]
push ecx
call dword [edx + 0x218]
push 0xf4
mov esi, eax
call edi
mov edi, eax
add esp, 4
mov dword [ebp - 0x13f0], edi
mov byte [ebp - 4], 0xf
test edi, edi
je 0x527535
mov ecx, dword [0x58d454]
push 0
push esi
push ecx
mov edx, dword [ecx]
call dword [edx + 0x230]
push ecx
movd xmm0, eax
mov eax, dword [0x58d454]
cvtdq2ps xmm0, xmm0
mov ecx, dword [eax]
movss dword [esp], xmm0
push 0
push esi
push eax
call dword [ecx + 0x22c]
sub esp, 0xc
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
push esi
call fcn.00541d40
mov ecx, eax
jmp 0x527537
xor ecx, ecx
mov eax, dword [0x58d464]
mov dword [eax + 0x48], ecx
lea ecx, [ebp - 0x1320]
mov eax, dword [0x58d464]
mov eax, dword [eax + 0x48]
mov byte [ebp - 4], 6
mov dword [eax + 0x64], 2
call fcn.00402520
cmp dword [ebp - 0x1144], 8
jb 0x527571
push dword [ebp - 0x1158]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x1144], 7
lea ecx, [ebp - 0x13e8]
mov dword [ebp - 0x1148], 0
mov word [ebp - 0x1158], ax
mov byte [ebp - 4], 1
call fcn.00402520
lea ecx, [ebp - 0x1258]
mov byte [ebp - 4], 0
call fcn.00402520
cmp dword [ebp - 0x1114], 0x10
jb 0x5275c0
push dword [ebp - 0x1128]
call ebx
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00551c1f
mov esp, ebp
pop ebp
ret