Function at 0x4f4734
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f4dcb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0040a2a8
test al, al
je 0x4f4783
mov byte [ebp - 5], 1
jmp 0x4f4da3
mov byte [ebp - 5], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x194]
mov edx, dword [ebp - 4]
call fcn.004dbed0
cmp dword [eax + 8], 0
jne 0x4f4894
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x194]
mov edx, dword [ebp - 4]
call fcn.004dbed0
mov eax, dword [eax + 0x14]
mov edx, 0x4f4de4
call fcn.004055f8
jne 0x4f47e3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov edx, 0x4f4df0
call fcn.00511784
jmp 0x4f47f6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov edx, 0x4f4e24
call fcn.00511784
mov byte [ebp - 0x11], 0
mov dword [ebp - 0xc], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov ecx, dword [eax + 0x270]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
call fcn.004c7424
test al, al
je 0x4f484a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov edx, 0x4f4e5c
call fcn.00511784
mov byte [ebp - 0x11], 1
jmp 0x4f4a61
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov edx, 0x4f4ea0
call fcn.00511784
cmp dword [ebp - 0xc], 5
jne 0x4f4878
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov edx, 0x4f4ed0
call fcn.00511784
jmp 0x4f4882
push 0x1388
call sub.kernel32.dll_Sleep_1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 6
jne 0x4f4801
jmp 0x4f4a61
push 0x4f4f00
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x194]
mov edx, dword [ebp - 4]
call fcn.004dbed0
push dword [eax + 8]
push 0x4f4f24
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040556c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
call fcn.00511784
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x194]
mov edx, dword [ebp - 4]
call fcn.004dbed0
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x11], 0
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
call fcn.004c7364
sub al, 1
jb 0x4f492f
je 0x4f49be
dec al
je 0x4f497a
jmp 0x4f4a00
push 0x4f4f30
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x194]
mov edx, dword [ebp - 4]
call fcn.004dbed0
push dword [eax + 8]
push 0x4f4f24
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040556c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
call fcn.00511784
mov byte [ebp - 0x11], 1
jmp 0x4f4a61
push 0x4f4f74
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x194]
mov edx, dword [ebp - 4]
call fcn.004dbed0
push dword [eax + 8]
push 0x4f4f24
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040556c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
call fcn.00511784
jmp 0x4f4a00
push 0x4f4fa4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x194]
mov edx, dword [ebp - 4]
call fcn.004dbed0
push dword [eax + 8]
push 0x4f4f24
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040556c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
call fcn.00511784
cmp dword [ebp - 0xc], 5
jne 0x4f4a4a
push 0x4f4fd4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x194]
mov edx, dword [ebp - 4]
call fcn.004dbed0
push dword [eax + 8]
push 0x4f4fec
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040556c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
call fcn.00511784
jmp 0x4f4a54
push 0x1388
call sub.kernel32.dll_Sleep_1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 6
jne 0x4f48fb
cmp byte [ebp - 0x11], 0
je 0x4f4da3
mov byte [ebp - 5], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
xor edx, edx
mov dword [eax - 0x14], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [eax + 0x184]
lea eax, [ebp - 0x1c]
mov ecx, 0x4f5014
call fcn.004054f8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x194]
mov edx, dword [ebp - 4]
call fcn.004dbed0
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
or ecx, 0xffffffff
call fcn.004dc128
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x4f4da3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x194]
mov edx, dword [ebp - 4]
call fcn.004dbed0
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x10]
call fcn.00422ae8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0x18]
mov ecx, 0x4f502c
call fcn.004054f8
push 0x4f5044
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0xc]
call fcn.00409cec
push dword [ebp - 0x50]
push 0x4f5070
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040556c
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov dx, 0x3e7
call fcn.005117ec
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0047b848
mov edx, dword [ebp - 0x2c]
cmp eax, dword [edx + 0x18]
jne 0x4f4b70
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov edx, 0x4f5080
call fcn.00511784
mov byte [ebp - 5], 1
jmp 0x4f4da3
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x18]
call fcn.0047b7a0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
push eax
push 0x4fe27c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
add eax, 0xfffffff8
push eax
push 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.004c6b90
sub al, 1
jb 0x4f4d81
je 0x4f4bce
dec al
je 0x4f4cda
jmp 0x4f4d96
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov edx, 0x4f50ac
call fcn.00511784
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x31], al
mov dl, 1
mov eax, dword [0x418158]
call fcn.00404298
mov dword [ebp - 0x20], eax
mov dl, 1
mov eax, dword [0x418158]
call fcn.00404298
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4f4c70
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
call fcn.0041d024
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.0041c854
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0048f350
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.0041c854
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.0041cf50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4c7a
mov eax, dword [ebp - 0x20]
call fcn.004042c8
mov eax, dword [ebp - 0x24]
call fcn.004042c8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004056ac
push eax
mov eax, dword [ebp - 0x18]
call fcn.004056ac
push eax
call sub.kernel32.dll_MoveFileA
test eax, eax
jne 0x4f4cbf
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x25], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
xor edx, edx
mov dword [eax - 0x14], edx
mov byte [ebp - 5], 1
jmp 0x4f4da3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
call fcn.004fd7fc
add eax, 0x100000
adc edx, 0
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
cmp edx, dword [ecx - 4]
jne 0x4f4d02
cmp eax, dword [ecx - 8]
ja 0x4f4d45
jmp 0x4f4d04
jg 0x4f4d45
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [eax - 0x14], 5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
add eax, 0x238
mov edx, 0x4f50c8
call fcn.0040523c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov edx, 0x4f510c
call fcn.00511784
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x25], 0
jmp 0x4f4da3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
inc dword [eax - 0x14]
cmp dword [ebp - 0xc], 5
jge 0x4f4d67
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov edx, 0x4f515c
call fcn.00511784
push 0x1388
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x18]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x4f4d96
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc]
mov edx, 0x4f5190
call fcn.00511784
jmp 0x4f4da3
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 6
jne 0x4f4af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4dd2
lea eax, [ebp - 0x50]
mov edx, 7
call fcn.0040520c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040520c
ret