Function at 0x4f11d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e7b1
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x6f7654]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x288], ecx
push 0xc2
push 0x67b5c0
push 0x67b5e0
lea ecx, [ebp - 0x144]
call fcn.00455c30
mov dword [ebp - 4], 0
push 0x67b5f8
lea eax, [ebp - 0x17c]
push eax
call fcn.00446600
add esp, 8
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x290], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x290]
push edx
lea eax, [ebp - 0x198]
push eax
call fcn.00446230
add esp, 8
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0x298], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x298]
call fcn.00403ab0
push eax
lea ecx, [ebp - 0x160]
call fcn.00402dc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x198]
call fcn.00402e00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x17c]
call fcn.00403b10
push 0x100
lea edx, [ebp - 0x134]
push edx
push 0x67b610
lea ecx, [ebp - 0x160]
call fcn.00403ab0
push eax
call dword [0x6fc2e8]
add esp, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x30]
call fcn.00408aa0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x10], 0
je 0x4f1423
cmp dword [ebp - 0x10], 0x15f95
jne 0x4f13fa
mov eax, dword [ebp - 0x10]
push eax
push str.version_file_not_found.__d_
push 2
push 0x67b634
push 0xce
push 0x67b63c
push 0x67b65c
call fcn.004563b0
add esp, 0x1c
lea ecx, [ebp - 0x1b4]
push ecx
call fcn.0042df70
mov ecx, eax
call fcn.00494510
mov dword [ebp - 0x29c], eax
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 0x2a0], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.00428ab0
add esp, 8
mov dword [ebp - 0x2a4], eax
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404a10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1d0]
call fcn.00402e00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1b4]
call fcn.00403b10
lea ecx, [ebp - 0x30]
call fcn.00403ab0
push eax
push 0x67b674
lea ecx, [ebp - 0x160]
call fcn.00403ab0
push eax
call dword [0x6fc2c0]
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x15f95
jne 0x4f13f8
mov ecx, dword [ebp - 0x10]
push ecx
push str.failed_to_sqexPatchSetVersionName.__d_
push 2
push 0x67b6a4
push 0xd5
push 0x67b6ac
push 0x67b6cc
call fcn.004563b0
add esp, 0x1c
jmp 0x4f1421
mov edx, dword [ebp - 0x10]
push edx
push str.failed_to_sqexPatchGetVersionName.__d_
push 2
push 0x67b70c
push 0xda
push str.CSqexPatchAdapter::GetVersion
push 0x67b734
call fcn.004563b0
add esp, 0x1c
jmp 0x4f1432
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402e20
push 0x67b74c
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00446600
add esp, 8
mov dword [ebp - 0x2ac], eax
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2b0]
call fcn.00402aa0
push eax
lea ecx, [ebp - 0x1f0]
call fcn.00404af0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x1f0]
push eax
call fcn.0061a850
add esp, 4
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1f0]
call fcn.00403b10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20c]
call fcn.00403b10
cmp dword [ebp - 0x1d4], 0
je 0x4f14fe
push str..._.._game_GameVersion.cfg
lea ecx, [ebp - 0x228]
push ecx
call fcn.00446600
add esp, 8
mov dword [ebp - 0x2b4], eax
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], edx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2b8]
call fcn.00402aa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x228]
call fcn.00403b10
push 0x67b7bc
lea eax, [ebp - 0x264]
push eax
call fcn.00446600
add esp, 8
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2c0]
call fcn.00402aa0
push eax
lea ecx, [ebp - 0x248]
call fcn.00404af0
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x248]
push edx
call fcn.0061a850
add esp, 4
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x248]
call fcn.00403b10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x264]
call fcn.00403b10
cmp dword [ebp - 0x22c], 0
je 0x4f15ca
push str..._.._game_GameVersion.xml
lea eax, [ebp - 0x280]
push eax
call fcn.00446600
add esp, 8
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c8], ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2c8]
call fcn.00402aa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00403b10
push 0x104
push 0
mov edx, dword [ebp - 0x288]
add edx, 0x30
push edx
call fcn.005eb2a0
add esp, 0xc
push 0
lea ecx, [ebp - 0x30]
call fcn.0045e920
push eax
mov eax, dword [ebp - 0x288]
add eax, 0x30
push eax
lea ecx, [ebp - 0x30]
call fcn.004772a0
mov ecx, dword [ebp - 0x288]
add ecx, 0x30
mov dword [ebp - 0x284], ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00402e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.00402e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00455c90
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005ea848
mov esp, ebp
pop ebp
ret