Function at 0x4f4514
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x26
push 0
push 0
dec ecx
jne 0x4f451c
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4f4e4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x29], 1
mov edx, 0x4f4e70
mov eax, 3
call fcn.004bbb30
mov eax, dword [0x50ddec]
test eax, eax
je 0x4f4557
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4f4cae
lea eax, [ebp - 0x30]
mov ecx, 0x4f4e98
mov edx, ebx
call fcn.0040ae34
mov eax, dword [ebp - 0x30]
mov ecx, 0x4f4ec8
mov edx, dword [0x505f2c]
call fcn.004f06a0
xor edx, edx
push ebp
push 0x4f4ca7
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x1c]
call fcn.004ecdf0
lea edx, [ebp - 0x24]
mov eax, dword [0x4ef8c0]
call fcn.004ef9f0
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [ebp - 0x34]
call fcn.004f3c04
mov ebx, eax
test ebx, ebx
jl 0x4f4c92
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov ecx, 0x4f4f10
call fcn.0040ea9c
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.004368e8
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0xe8]
call fcn.0040fc80
cmp word [ebp - 0x38], 0
je 0x4f4c92
lea eax, [ebp - 0x54]
call fcn.0040ea58
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
call fcn.0040fc80
cmp dword [ebp - 0x54], 0
je 0x4f4c92
lea eax, [ebp - 0x5c]
call fcn.0040a0d0
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x88]
call fcn.0040fc80
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
call fcn.0040acc0
mov ecx, dword [ebp - 0x58]
mov edx, 0x4f4e70
mov eax, 7
call fcn.004bbb28
mov eax, ebx
add eax, eax
mov edx, dword [0x50ddec]
lea eax, [edx + eax*8]
mov ebx, eax
lea eax, [ebp - 4]
mov edx, dword [ebx]
call fcn.0040a4c0
lea eax, [ebp - 8]
mov edx, dword [ebx + 4]
call fcn.0040a4c0
lea eax, [ebp - 0xc]
mov edx, dword [ebx + 8]
call fcn.0040a4c0
lea eax, [ebp - 0x28]
call fcn.0040ea58
push eax
push 0x4f4f24
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x90]
call fcn.0040fc80
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.0040fc80
mov esi, dword [ebp - 0x60]
dec esi
test esi, esi
jl 0x4f486d
inc esi
xor ebx, ebx
lea eax, [ebp - 0x6c]
call fcn.0040a0d0
push eax
lea eax, [ebp - 0x70]
call fcn.0040ea58
push eax
push ebx
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.0040fc80
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.0040fc80
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
call fcn.0040acc0
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.004f0ce8
mov eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
call fcn.0040ea58
push eax
push ebx
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.0040fc80
mov edx, dword [ebp - 0x74]
pop eax
call fcn.004f2c90
test al, al
jne 0x4f4865
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x84]
call fcn.0040a0d0
push eax
lea eax, [ebp - 0x88]
call fcn.0040ea58
push eax
push ebx
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.0040fc80
mov eax, dword [ebp - 0x88]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.0040fc80
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0xf
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0x8c]
mov eax, 0x4f0b48
call fcn.0041007c
mov eax, dword [ebp - 0x8c]
xor ecx, ecx
pop edx
call fcn.0042279c
mov ecx, dword [ebp - 0x78]
mov edx, 0x4f4e70
mov eax, 2
call fcn.004bbb28
push 0x2010
push 0x4f4f54
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
call fcn.0040a0d0
push eax
lea eax, [ebp - 0x98]
call fcn.0040ea58
push eax
push ebx
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.0040fc80
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.0040fc80
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0xf
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0x9c]
mov eax, 0x4f0b48
call fcn.0041007c
mov eax, dword [ebp - 0x9c]
xor ecx, ecx
pop edx
call fcn.0042279c
mov eax, dword [ebp - 0x90]
call fcn.0040abe8
push eax
push 0
call sub.user32.dll_MessageBoxW
mov byte [ebp - 0x29], 0
call fcn.00409874
jmp 0x4f4cbd
inc ebx
dec esi
jne 0x4f46dd
lea eax, [ebp - 0xa0]
call fcn.0040ea58
push eax
push 0x4f4f68
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x94]
call fcn.0040fc80
mov eax, dword [ebp - 0xa0]
push eax
lea edx, [ebp - 0xa4]
mov eax, dword [0x50a63c]
call fcn.0042ac30
mov eax, dword [ebp - 0xa4]
pop edx
call fcn.004f2c90
test al, al
jne 0x4f4c92
mov byte [ebp - 0x29], 0
push 0x2024
push 0x4f4f54
lea edx, [ebp - 0xa8]
mov eax, 0x4f0b50
call fcn.0041007c
mov eax, dword [ebp - 0xa8]
call fcn.0040abe8
push eax
push 0
call sub.user32.dll_MessageBoxW
cmp eax, 6
jne 0x4f4c92
lea eax, [ebp - 0x20]
call fcn.004ecdf0
lea eax, [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040ae34
mov ecx, dword [ebp - 0xac]
mov edx, 0x4f4e70
mov eax, 3
call fcn.004bbb28
mov eax, dword [0x5063ac]
mov eax, dword [eax]
push eax
push 0
push 0x505f34
lea eax, [ebp - 0x10]
call fcn.0040a088
push eax
push 0
mov eax, dword [0x5063ac]
mov eax, dword [eax]
push eax
push 0x78
push 0
push 1
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [0x5063ac]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004e089c
mov eax, dword [ebp - 0xb0]
push eax
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
call fcn.00436914
lea eax, [ebp - 0xc0]
pop edx
call fcn.004eccd8
lea eax, [ebp - 0xc8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040ae34
mov ecx, dword [ebp - 0xc8]
mov edx, 0x4f4e70
mov eax, 5
call fcn.004bbb28
mov byte [ebp - 0x2a], 0
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00407af8
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 0x14]
call fcn.00422240
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xcc]
mov edx, 0x4f4f94
call fcn.0040ae34
mov edx, dword [ebp - 0xcc]
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00421fa0
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.00421af4
test al, al
je 0x4f4a15
mov eax, dword [ebp - 0x18]
call fcn.00421e60
mov eax, dword [ebp - 0x18]
call fcn.0040abe8
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040abe8
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4f4ab0
xor eax, eax
push ebp
push 0x4f4a92
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xe0]
mov edx, dword [ebp - 0x14]
call fcn.00436994
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov byte [ebp - 0x2a], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0x11
lea eax, [ebp - 0x80]
push eax
push 0
mov ecx, 0x4f4fac
mov edx, 0x4f4e70
mov eax, 7
call fcn.004bbb40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4ab0
cmp byte [ebp - 0x2a], 0
je 0x4f4b18
lea eax, [ebp - 0xe8]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov dword [ebp - 0xf8], eax
mov byte [ebp - 0xf4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 0xec], 0x11
lea edx, [ebp - 0xf8]
mov ecx, 1
mov eax, 0x4f503c
call fcn.0042279c
mov ecx, dword [ebp - 0xe8]
lea eax, [ebp - 0xe4]
mov edx, dword [ebp - 0x14]
call fcn.0040ae34
mov eax, dword [ebp - 0xe4]
call fcn.004f5d44
jmp 0x4f4c92
movzx eax, byte [0x4f5064]
push eax
lea eax, [ebp - 0x100]
push eax
mov ecx, 0x4f5074
mov edx, 0x4f5084
mov eax, dword [ebp - 0xc]
call fcn.00429ec8
mov eax, dword [ebp - 0x100]
lea edx, [ebp - 0xfc]
call fcn.004221e4
mov eax, dword [ebp - 0xfc]
push eax
lea edx, [ebp - 0x108]
xor eax, eax
call fcn.004b63e4
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.00429a7c
mov edx, dword [ebp - 0x104]
lea eax, [ebp - 0x14]
pop ecx
call fcn.0040ae34
lea eax, [ebp - 0x118]
mov edx, dword [ebp - 0x14]
call fcn.00436994
lea edx, [ebp - 0x118]
dec dword [ebx + 0x88be045]
mov edx, 0x4f4e70
mov eax, 5
call fcn.004bbb30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4e56
lea eax, [ebp - 0x130]
mov edx, 6
call fcn.0040a0e8
lea eax, [ebp - 0x118]
call fcn.0043055c
lea eax, [ebp - 0x108]
mov edx, 4
call fcn.0040a0e8
lea eax, [ebp - 0xe8]
mov edx, 2
call fcn.0040a0e8
lea eax, [ebp - 0xe0]
call fcn.0043055c
lea eax, [ebp - 0xd0]
mov edx, 3
call fcn.0040a0e8
lea eax, [ebp - 0xc4]
call fcn.0040ea58
lea eax, [ebp - 0xc0]
call fcn.0043055c
lea eax, [ebp - 0xb0]
mov edx, dword [0x404cdc]
call fcn.0040d130
lea eax, [ebp - 0xac]
mov edx, 3
call fcn.0040a0e8
lea eax, [ebp - 0xa0]
call fcn.0040ea58
lea eax, [ebp - 0x9c]
call fcn.0040a088
lea eax, [ebp - 0x98]
call fcn.0040ea58
lea eax, [ebp - 0x94]
call fcn.0040a0d0
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.0040a0e8
lea eax, [ebp - 0x88]
call fcn.0040ea58
lea eax, [ebp - 0x84]
call fcn.0040a0d0
lea eax, [ebp - 0x78]
call fcn.0040a088
lea eax, [ebp - 0x74]
mov edx, dword [0x4b02e8]
mov ecx, 2
call fcn.0040bc08
lea eax, [ebp - 0x6c]
call fcn.0040a0d0
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0040a0e8
lea eax, [ebp - 0x5c]
call fcn.0040a0d0
lea eax, [ebp - 0x58]
call fcn.0040a088
lea eax, [ebp - 0x54]
call fcn.0040ea58
lea eax, [ebp - 0x50]
call fcn.0040ea58
lea eax, [ebp - 0x4c]
call fcn.0040ea58
lea eax, [ebp - 0x48]
call fcn.0043055c
lea eax, [ebp - 0x34]
call fcn.0040ea58
lea eax, [ebp - 0x30]
call fcn.0040a088
lea eax, [ebp - 0x28]
call fcn.0040ea58
lea eax, [ebp - 0x24]
call fcn.0040ea58
lea eax, [ebp - 0x20]
mov edx, dword [0x4e8f7c]
mov ecx, 2
call fcn.0040bc08
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.0040a0e8
pop eax
jmp eax