Function at 0x4c5ab0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500693
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00460320
add esp, 4
test eax, eax
jne 0x4c5af5
mov eax, 1
jmp 0x4c5e37
lea ecx, [ebp - 0x27c]
call fcn.0046ae20
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x280]
call fcn.0044dc60
mov byte [ebp - 4], 1
lea edx, [ebp - 0x280]
push edx
lea ecx, [ebp - 0x27c]
call fcn.0048ee90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x280]
call fcn.0044dfa0
lea ecx, [ebp - 0x268]
call fcn.004c5790
mov byte [ebp - 4], 2
mov dword [ebp - 0x270], 1
lea ecx, [ebp - 0x27c]
call fcn.0049fb10
test eax, eax
je 0x4c5e04
mov dword [ebp - 0x290], 1
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x27c]
call fcn.004c2bd0
lea ecx, [ebp - 0x284]
call fcn.004bdad0
lea ecx, [ebp - 0x284]
call fcn.00496eb0
push eax
lea ecx, [ebp - 0x26c]
call fcn.0044dc30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x294]
call fcn.0044dc30
mov byte [ebp - 4], 4
push 0
lea edx, [ebp - 0x26c]
push edx
call fcn.00459870
add esp, 8
push 0xffffffffffffffff
push 0x511cc8
lea ecx, [ebp - 0x26c]
call fcn.0044e350
lea ecx, [ebp - 0x26c]
call fcn.004432f0
push eax
lea ecx, [ebp - 0x268]
call fcn.004c5e50
mov dword [ebp - 0x288], eax
lea ecx, [ebp - 0x29c]
call fcn.0046ae20
mov byte [ebp - 4], 5
cmp dword [ebp - 0x288], 0
je 0x4c5cf2
lea ecx, [ebp - 0x268]
call fcn.004c72f0
test eax, eax
je 0x4c5c2f
jmp 0x4c5cdc
lea ecx, [ebp - 0x268]
call fcn.004c72d0
test eax, eax
je 0x4c5c93
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x268]
call fcn.004c7140
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2a4]
push edx
lea ecx, [ebp - 0x27c]
call fcn.0048ee90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2a8]
call fcn.0044dfa0
mov dword [ebp - 0x290], 0
jmp 0x4c5cdc
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x268]
call fcn.004c7140
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2b0]
push edx
lea ecx, [ebp - 0x29c]
call fcn.0048ee90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2b4]
call fcn.0044dfa0
lea ecx, [ebp - 0x268]
call fcn.004c60e0
mov dword [ebp - 0x288], eax
jmp 0x4c5c0e
lea ecx, [ebp - 0x29c]
call fcn.0049fb10
test eax, eax
je 0x4c5d93
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x29c]
call fcn.004655f0
jmp 0x4c5d24
lea ecx, [ebp - 0x274]
call fcn.004bdab0
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x29c]
call fcn.004c2bd0
push eax
lea ecx, [ebp - 0x274]
call fcn.0048ceb0
movzx edx, al
test edx, edx
je 0x4c5d93
lea ecx, [ebp - 0x274]
call fcn.00496eb0
push eax
lea ecx, [ebp - 0x28c]
call fcn.0044dc30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28c]
call fcn.004432f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and eax, dword [ebp - 0x270]
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.0044dfa0
jmp 0x4c5d19
lea ecx, [ebp - 0x268]
call fcn.004c59a0
cmp dword [ebp - 0x290], 0
je 0x4c5dd2
lea ecx, [ebp - 0x294]
call fcn.004432f0
push eax
call fcn.004c5a70
add esp, 4
and eax, dword [ebp - 0x270]
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x27c]
call fcn.004c7710
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x29c]
call fcn.0046b090
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x294]
call fcn.0044dfa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call fcn.0044dfa0
jmp 0x4c5b54
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.004c57f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.0046b090
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d219c
mov esp, ebp
pop ebp
ret