Function at 0x4b1cb0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4b1cb8
push ebx
xor eax, eax
push ebp
push 0x4b204a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
call fcn.004a00f0
test al, al
jne 0x4b201a
mov edx, dword [0x58e3a4]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
mov ecx, 0x4b2068
call fcn.00407408
mov eax, dword [ebp - 0x10]
call fcn.004282d0
test al, al
je 0x4b1d78
mov dword [ebp - 8], 1
mov eax, 0x7fffffff
call fcn.00404b04
lea edx, [ebp - 0x38]
call fcn.0041d69c
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x4b208c
call fcn.00407408
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0042b840
mov eax, dword [ebp - 0x14]
call fcn.004282d0
test al, al
je 0x4b1d4f
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x186a1
jne 0x4b1d07
mov eax, dword [ebp - 0x14]
call fcn.00407218
push eax
mov eax, dword [ebp - 0x10]
call fcn.00407218
push eax
call sub.kernel32.dll_MoveFileW
push 4
push 0
mov eax, dword [ebp - 0x14]
call fcn.00407218
push eax
call sub.kernel32.dll_MoveFileExW
lea eax, [ebp - 0x3c]
call fcn.004b1c20
mov eax, dword [ebp - 0x3c]
call fcn.00492fc0
test al, al
jne 0x4b1da4
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x4b20a4
call fcn.004367f0
jmp 0x4b201a
mov edx, dword [0x58e3a4]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
mov ecx, 0x4b20c4
call fcn.00407408
mov edx, dword [0x58e3a4]
mov edx, dword [edx]
lea eax, [ebp - 0x1c]
mov ecx, 0x4b20e8
call fcn.00407408
mov byte [ebp - 0x29], 0
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0042b940
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4b1e93
xor eax, eax
push ebp
push 0x4b1e8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4b1e0d
cmp eax, 0
jbe 0x4b1e76
jmp 0x4b1e0f
jle 0x4b1e76
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4b1e24
cmp eax, 0x2000000
jae 0x4b1e76
jmp 0x4b1e26
jge 0x4b1e76
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea eax, [ebp - 0x24]
xor ecx, ecx
call fcn.00407038
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx]
push eax
lea eax, [ebp - 0x24]
call fcn.00406b68
mov edx, eax
mov eax, dword [ebp - 0x20]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 0x24]
mov eax, dword [0x58db34]
call fcn.00407790
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jle 0x4b1e6e
mov byte [ebp - 0x29], 1
lea eax, [ebp - 0x24]
call fcn.004065e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1e93
mov eax, dword [ebp - 0x20]
call fcn.00404fec
ret
cmp byte [ebp - 0x29], 0
je 0x4b1f31
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x4b2110
call fcn.004367f0
mov dl, 1
mov eax, dword [0x42767c]
call fcn.0042bf50
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x4b1f2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, byte [0x4b2138]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.0042a4f0
mov eax, dword [ebp - 0x28]
call fcn.0042c390
dec eax
test eax, eax
jl 0x4b1f14
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
call fcn.0042c360
mov eax, dword [ebp - 0x40]
call fcn.00428320
inc dword [ebp - 8]
dec dword [ebp - 0x30]
jne 0x4b1ef6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1f31
mov eax, dword [ebp - 0x28]
call fcn.00404fec
ret
mov eax, dword [ebp - 0x18]
call fcn.00428320
push 0
lea edx, [ebp - 0x44]
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
call fcn.0056f6f0
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
call fcn.0056f730
push eax
push 0
lea eax, [ebp - 0x48]
call fcn.004b1c20
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
call fcn.004a0110
test al, al
jne 0x4b1f92
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x4b2148
call fcn.004367f0
jmp 0x4b201a
call fcn.00492f00
test al, al
jne 0x4b1fb0
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x4b2168
call fcn.004362e0
jmp 0x4b201a
call fcn.004a3930
test al, al
jne 0x4b1fce
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x4b21a8
call fcn.004362e0
jmp 0x4b201a
call fcn.004b2bb0
call fcn.004b2cb0
mov eax, dword [0x58db24]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4b2016
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 8], 0
mov eax, dword [0x58db24]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
call fcn.00429310
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.004a3ab0
inc dword [ebp - 8]
dec dword [ebp - 0x30]
jne 0x4b1ff3
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2051
lea eax, [ebp - 0x48]
mov edx, 6
call fcn.00406624
lea eax, [ebp - 0x24]
call fcn.004065e8
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00406624
ret