Function at 0x47c4e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54937e
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5973cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb4], ecx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.0047eae0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004635a0
test eax, eax
jne 0x47c54b
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0047eaa0
mov eax, dword [ebp - 0x54]
jmp 0x47c94f
lea ecx, [ebp - 0x18]
call fcn.0043bba0
push eax
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0xb4]
add ecx, 0x48
call fcn.0047e5e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0xb4]
add ecx, 0x48
call fcn.004cf170
push eax
lea ecx, [ebp - 0x14]
call fcn.0048f850
movzx edx, al
test edx, edx
je 0x47c5b1
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0047eaa0
mov eax, dword [ebp - 0x68]
jmp 0x47c94f
lea ecx, [ebp - 0x14]
call fcn.00459700
add eax, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x19], 1
lea ecx, [ebp - 0x18]
call fcn.0043bba0
push eax
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0xb4]
add ecx, 0x6c
call fcn.0047e960
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0xb4]
add ecx, 0x6c
call fcn.004cf170
push eax
lea ecx, [ebp - 0x28]
call fcn.0048f850
movzx ecx, al
test ecx, ecx
je 0x47c60f
mov byte [ebp - 0x19], 0
lea ecx, [ebp - 0x18]
call fcn.0043bba0
add eax, 4
mov ecx, eax
call fcn.00407660
movzx edx, al
test edx, edx
jne 0x47c913
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x47c8fa
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x59ab80
call fcn.00482ae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004667e0
movzx edx, al
test edx, edx
je 0x47c8ee
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.disable_resize
call fcn.00402070
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.0043bba0
add eax, 4
mov ecx, eax
call fcn.0041b240
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push eax
call fcn.00402070
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.0043b590
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.00482980
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
je 0x47c8ee
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.004667e0
movzx eax, al
test eax, eax
je 0x47c77b
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x20]
add eax, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
push eax
call fcn.004635f0
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.0041b240
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.0047bf60
push 0
push 2
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x20]
add eax, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push eax
call fcn.004635f0
mov dword [ebp - 0xd0], eax
call fcn.00478e10
add esp, 0x14
jmp 0x47c8ee
lea ecx, [ebp - 0x3c]
call fcn.00402980
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
push str._p_s_u
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00406110
add esp, 0x14
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0xb4]
add ecx, 0x28
call fcn.0047da60
lea ecx, [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0xb4]
add ecx, 0x28
call fcn.004cf170
push eax
lea ecx, [ebp - 0x38]
call fcn.0048f5c0
movzx edx, al
test edx, edx
je 0x47c8e2
lea ecx, [ebp - 0x38]
call fcn.00472940
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043b590
mov ecx, eax
call fcn.00482a30
lea ecx, [ebp - 0x38]
call fcn.00472940
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
lea edx, [ebp - 0x98]
push edx
lea ecx, [ebp - 0x38]
call fcn.00472940
add eax, 8
mov ecx, eax
call fcn.00489930
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x38]
call fcn.00472940
add eax, 8
mov ecx, eax
call fcn.0044f300
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
jmp 0x47c866
lea ecx, [ebp - 0x4c]
call fcn.0047ea40
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0048f5c0
movzx ecx, al
test ecx, ecx
je 0x47c8e2
lea ecx, [ebp - 0x4c]
call fcn.004dbbf0
push eax
lea ecx, [ebp - 0x50]
call fcn.004635f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.0043b590
mov ecx, eax
call fcn.00482880
cmp eax, 1
jbe 0x47c8d1
push 0
push 1
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea edx, [ebp - 0x50]
push edx
call fcn.004635f0
mov dword [ebp - 0xd4], eax
call fcn.00478e10
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.004679a0
jmp 0x47c85e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00417530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004679a0
lea ecx, [ebp - 0x18]
call fcn.0043bba0
add eax, 4
mov ecx, eax
call fcn.0041b240
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0xac]
push edx
mov ecx, dword [ebp - 0xb4]
add ecx, 0x48
call fcn.0047dd80
mov dword [ebp - 0xb0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0047eaa0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10