Function at 0x4905e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef086
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x25], 0
mov ecx, dword [ebp - 0x30]
add ecx, 0x24
call fcn.00440df0
mov ecx, dword [ebp - 0x30]
add ecx, 4
call fcn.0048c890
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jle 0x4907fd
push 0x12
push 0
lea eax, [ebp - 0x24]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, 1
mov word [ebp - 0x20], cx
imul edx, dword [ebp - 0x40], 0x104
add edx, 4
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, 0x12
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call sub.mfc120u.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x4907f8
push 0x12
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.MSVCR120.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0xb0]
call fcn.0048bed0
mov dword [ebp - 4], 0
lea edx, [ebp - 0xb0]
push edx
mov ecx, dword [ebp - 0x30]
add ecx, 4
call fcn.0048c8b0
lea ecx, [ebp - 0xb0]
call fcn.0048bbf0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x34]
sub edx, 0x12
cmp dword [ebp - 0x3c], edx
jne 0x4907d4
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x12
push edx
call sub.MSVCR120.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.004142b0
mov byte [ebp - 4], 1
push 0x104
lea ecx, [ebp - 0x70]
call fcn.00414860
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0x104
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043ffa0
push 0xffffffffffffffff
lea ecx, [ebp - 0x70]
call fcn.00414900
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00414370
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00414980
push 0x52ac6c
lea ecx, [ebp - 0xa0]
call fcn.00414370
mov byte [ebp - 4], 3
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x88]
call fcn.004146e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.004142e0
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x88]
call fcn.004147c0
push eax
lea ecx, [ebp - 0x70]
call fcn.004147c0
push eax
call fcn.0043fcc0
movzx edx, al
test edx, edx
je 0x4907b9
mov byte [ebp - 0x25], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004142e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004142e0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
call sub.mfc120u.dll_Ordinal_266
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.0048bf50
jmp 0x49091b
lea ecx, [ebp - 0x7c]
call fcn.004142b0
mov dword [ebp - 4], 4
push 0x104
lea ecx, [ebp - 0x7c]
call fcn.00414860
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0x104
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043ffa0
push 0xffffffffffffffff
lea ecx, [ebp - 0x7c]
call fcn.00414900
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00414370
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.00414980
push str..bin
lea ecx, [ebp - 0xbc]
call fcn.00414370
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004146e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbc]
call fcn.004142e0
lea ecx, [ebp - 0x5c]
call fcn.00414db0
test eax, eax
jne 0x490900
lea ecx, [ebp - 0x94]
call fcn.004142b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.004147c0
push eax
lea ecx, [ebp - 0x7c]
call fcn.004147c0
push eax
push 0x104
lea ecx, [ebp - 0x94]
call fcn.00414860
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x94]
call fcn.00414900
lea ecx, [ebp - 0x94]
call fcn.004147c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.004142e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.004142e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004142e0
mov ecx, dword [ebp - 0x30]
add ecx, 0x24
call fcn.00440e20
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret 0xc