Function at 0x5d4de0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2d8a
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x676580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.0057a250
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push ecx
call fcn.0057a000
add esp, 4
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x10]
call fcn.00402050
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push str.phoenix_s_s_sencecfg.dat
lea ecx, [ebp - 0x10]
push ecx
call fcn.0042ac70
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.00493020
push eax
call fcn.00454e80
add esp, 4
test eax, eax
jne 0x5d4e91
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00403270
jmp 0x5d5316
lea ecx, [ebp - 0x54]
call fcn.0045b960
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.005b1780
mov byte [ebp - 4], 3
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x44]
call fcn.005b1a40
test eax, eax
jne 0x5d4f67
cmp dword [0x67e1c8], 0
je 0x5d4f2f
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0x355
lea ecx, [ebp - 0x80]
push ecx
push str._ClearInvalidateRes_failed:_sencecfg.dat_not_exist
push 0x63522c
push 0x6351e8
push 0x6351e0
lea edx, [ebp - 0x7c]
push edx
push 0x6351dc
call fcn.00447600
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.004476c0
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447700
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.005b1760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0045b140
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00403270
jmp 0x5d5316
lea ecx, [ebp - 0x64]
call fcn.0045b9b0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
call fcn.00402050
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push str.phoenix_s_s_
lea edx, [ebp - 0x48]
push edx
call fcn.0042ac70
add esp, 0x10
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0xbc]
call fcn.005d4b60
test eax, eax
jne 0x5d5085
cmp dword [0x67e1c8], 0
je 0x5d5035
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0x35e
lea edx, [ebp - 0x88]
push edx
push str._GetDirsFiles_failed
push 0x635314
push str.KCommonPopMgr::ClearInvalidateRes
push 0x6352c4
lea eax, [ebp - 0x84]
push eax
push 0x6352c0
call fcn.00447600
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.004476c0
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447700
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.00403270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.0045b160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.005b1760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0045b140
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00403270
jmp 0x5d5316
lea ecx, [ebp - 0x68]
call fcn.00403290
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x64]
call fcn.004d5bb0
jmp 0x5d50a7
lea ecx, [ebp - 0x18]
call fcn.004d8cc0
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x64]
call fcn.00403210
push eax
lea ecx, [ebp - 0x18]
call fcn.00519c20
movzx eax, al
test eax, eax
je 0x5d52bf
lea ecx, [ebp - 0x18]
call fcn.0045bb10
push eax
lea ecx, [ebp - 0x48]
call fcn.0040ca60
lea ecx, [ebp - 0x48]
push ecx
call fcn.00579f50
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.00493020
push eax
lea edx, [ebp - 0x94]
push edx
call fcn.00579d00
add esp, 8
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x54]
call fcn.004d2640
lea ecx, [ebp - 0x94]
call fcn.00403270
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x54]
call fcn.00403210
push eax
lea ecx, [ebp - 0x70]
call fcn.00519be0
movzx eax, al
test eax, eax
je 0x5d5163
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.0045bb10
mov ecx, eax
call fcn.00493020
push eax
call fcn.0057a2e0
add esp, 0xc
jmp 0x5d52ba
mov dword [ebp - 0x74], 0
jmp 0x5d5175
mov ecx, dword [ebp - 0x74]
add ecx, 1
mov dword [ebp - 0x74], ecx
lea ecx, [ebp - 0x18]
call fcn.0045bb10
add eax, 4
mov ecx, eax
call fcn.004e99c0
cmp dword [ebp - 0x74], eax
jae 0x5d52ba
mov edx, dword [ebp - 0x74]
push edx
lea ecx, [ebp - 0x18]
call fcn.0045bb10
add eax, 4
mov ecx, eax
call fcn.004b8bb0
mov ecx, eax
call fcn.00493020
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00579d00
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.00493020
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00579b50
add esp, 8
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040ca60
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa0]
call fcn.00403270
lea ecx, [ebp - 0x78]
call fcn.00493020
push eax
lea ecx, [ebp - 0xa8]
push ecx
call fcn.00579d00
add esp, 8
mov dword [ebp - 0xcc], eax
lea edx, [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x70]
call fcn.0045bb10
add eax, 4
mov ecx, eax
call fcn.00403210
push eax
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0045bb10
add eax, 4
mov ecx, eax
call fcn.0045b2b0
mov ecx, eax
call fcn.00519be0
mov byte [ebp - 0xa1], al
lea ecx, [ebp - 0xa8]
call fcn.00403270
movzx edx, byte [ebp - 0xa1]
test edx, edx
je 0x5d52a9
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x18]
call fcn.0045bb10
add eax, 4
mov ecx, eax
call fcn.004b8bb0
mov ecx, eax
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x78]
call fcn.00403270
jmp 0x5d516c
jmp 0x5d509f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.00403270
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.00403270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.0045b160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.005b1760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0045b140
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00403270
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8