Function at 0x486350
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ba6a
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4c1600]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.00483aa0
add esp, 8
lea edx, [ebp - 0xf0]
push edx
mov ecx, 0x4c592c
call fcn.0040b950
push eax
lea ecx, [ebp - 0xd4]
call fcn.0040b7f0
movzx eax, al
test eax, eax
je 0x4863ba
xor eax, eax
jmp 0x48668c
lea ecx, [ebp - 0xdc]
call fcn.00401080
mov dword [ebp - 4], 0
push 0x4af588
lea ecx, [ebp - 0xf8]
call fcn.004010c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
call fcn.0041fcf0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xf4]
push edx
call fcn.00483d90
add esp, 8
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0x108]
push edx
lea ecx, [ebp - 0xd4]
call fcn.0041fcf0
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0xf8]
push ecx
call fcn.00486100
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf4]
call fcn.0040a1f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf8]
call fcn.0040a1f0
lea edx, [ebp - 0xfc]
push edx
call fcn.0048e530
add esp, 4
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x110]
push ecx
lea edx, [ebp - 0xe8]
push edx
call fcn.00483cd0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xfc]
call fcn.0040a1f0
lea ecx, [ebp - 0xcc]
call fcn.00426170
mov byte [ebp - 4], 6
call fcn.0040a980
mov dword [ebp - 0xe0], eax
lea ecx, [ebp - 0xdc]
call fcn.0041b0d0
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jne 0x4864e7
mov dword [ebp - 0x114], 0
jmp 0x486551
mov eax, dword [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x48650f
mov dword [ebp - 0x118], 0
jmp 0x486545
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.00460a70
mov dword [ebp - 0x11c], esp
mov ecx, dword [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0x10]
shl edx, 1
push edx
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.0042a310
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x114]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0042a360
lea ecx, [ebp - 0xe8]
call fcn.0041b0d0
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jne 0x486589
mov dword [ebp - 0x120], 0
jmp 0x4865f3
mov ecx, dword [ebp - 0xd8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x4865b1
mov dword [ebp - 0x124], 0
jmp 0x4865e7
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.00460a70
mov dword [ebp - 0x128], esp
mov edx, dword [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0x128]
push edx
call fcn.0042a310
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.0042a360
lea ecx, [ebp - 0xe8]
call fcn.0041b0d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea edx, [ebp - 0xcc]
push edx
mov eax, dword [0x4c5828]
mov edx, dword [eax]
mov ecx, dword [0x4c5828]
mov eax, dword [edx + 8]
call eax
mov esi, eax
lea ecx, [ebp - 0xd4]
call fcn.0041fcf0
mov dword [eax + 0x20], esi
lea ecx, [ebp - 0xd4]
call fcn.0041fcf0
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x100], ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xcc]
call fcn.0041c740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.0040a1f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.0040a1f0
mov eax, dword [ebp - 0x100]
lea esp, [ebp - 0x130]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00451d4e
mov esp, ebp
pop ebp
ret