Function at 0x49a8c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63cd56
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x721970]
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.0044a170
mov ecx, dword [ebp - 0x30]
add ecx, 4
call fcn.00497200
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jle 0x49aadd
push 0x12
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.0060f700
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 fcn.004e69f9
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x49aad8
push 0x12
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00611720
add esp, 0xc
lea ecx, [ebp - 0xb0]
call fcn.00496850
mov dword [ebp - 4], 0
lea edx, [ebp - 0xb0]
push edx
mov ecx, dword [ebp - 0x30]
add ecx, 4
call fcn.00497220
lea ecx, [ebp - 0xb0]
call fcn.00496570
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 0x49aab4
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 fcn.00611720
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.00418c90
mov byte [ebp - 4], 1
push 0x104
lea ecx, [ebp - 0x70]
call fcn.00419200
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.00449130
push 0xffffffffffffffff
lea ecx, [ebp - 0x70]
call fcn.004192a0
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00418d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00419320
push 0x68bffc
lea ecx, [ebp - 0xa0]
call fcn.00418d40
mov byte [ebp - 4], 3
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x88]
call fcn.00419090
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.00418cc0
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00419160
push eax
lea ecx, [ebp - 0x70]
call fcn.00419160
push eax
call fcn.00448e60
movzx edx, al
test edx, edx
je 0x49aa99
mov byte [ebp - 0x25], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00418cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00418cc0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004e69f4
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.004968d0
jmp 0x49abfb
lea ecx, [ebp - 0x7c]
call fcn.00418c90
mov dword [ebp - 4], 4
push 0x104
lea ecx, [ebp - 0x7c]
call fcn.00419200
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.00449130
push 0xffffffffffffffff
lea ecx, [ebp - 0x7c]
call fcn.004192a0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00418d40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.00419320
push str..bin
lea ecx, [ebp - 0xbc]
call fcn.00418d40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00419090
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbc]
call fcn.00418cc0
lea ecx, [ebp - 0x5c]
call fcn.00419670
test eax, eax
jne 0x49abe0
lea ecx, [ebp - 0x94]
call fcn.00418c90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.00419160
push eax
lea ecx, [ebp - 0x7c]
call fcn.00419160
push eax
push 0x104
lea ecx, [ebp - 0x94]
call fcn.00419200
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x94]
call fcn.004192a0
lea ecx, [ebp - 0x94]
call fcn.00419160
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.00418cc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00418cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00418cc0
mov ecx, dword [ebp - 0x30]
add ecx, 0x24
call fcn.0044a1a0
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.0060f7c8
mov esp, ebp
pop ebp
ret 0xc