Function at 0x492580
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x492588
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x492952
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, 0x492968
call fcn.0043e1bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.0043e6c8
mov dl, 1
mov eax, dword [0x416260]
call fcn.00403200
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x492601
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, 0x492984
call fcn.00474d60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x492639
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, 0x4929c0
call fcn.0043e1bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.0043e6c8
mov dl, 1
mov eax, dword [0x415f4c]
call fcn.00403200
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00419cf0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 1
jle 0x4928dd
xor eax, eax
push ebp
push 0x4928d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4929d8
mov dl, 1
mov eax, dword [0x432220]
call fcn.004322d0
mov dword [ebp - 0x18], eax
push 0x4929f0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x4929fc
mov edx, 0x492a0c
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi]
mov eax, dword [ebp - 0x28]
call fcn.004044c4
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004041fc
lea ecx, [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00404410
je 0x4928b6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, 0x492a1c
call fcn.0043e1bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.0043e6c8
mov edx, ebx
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
call fcn.00433d70
lea eax, [ebp - 0x30]
push eax
mov cl, 0x2f
mov edx, 0x492a38
mov eax, dword [ebp - 4]
call fcn.00492334
test ebx, ebx
jle 0x492891
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 1
xor eax, eax
push ebp
push 0x492861
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x34]
mov cl, 0x2f
mov eax, dword [ebp - 4]
call fcn.00492334
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x38]
call fcn.00408a24
test al, al
je 0x4927d3
push 0
push 0x492a38
push dword [ebp - 0x14]
push 0x492a4c
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404384
mov eax, dword [ebp - 0x3c]
call fcn.004044c4
push eax
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x40]
call fcn.004044c4
push eax
call sub.kernel32.dll_CopyFileA
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 0x492a5c
call fcn.00404310
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov ecx, dword [ebp - 8]
call fcn.00474d08
mov edx, 0x492a38
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
call fcn.00404310
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
call fcn.0041ae38
push 5
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x50]
call fcn.004044c4
push eax
mov edx, 0x492a38
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
call fcn.00404310
mov eax, dword [ebp - 0x54]
call fcn.004044c4
push eax
call sub.kernel32.dll_MoveFileExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49286b
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x300]
mov eax, ebx
call fcn.00433bd0
mov edx, eax
inc edx
mov eax, ebx
call fcn.00433d80
inc dword [ebp - 0x20]
dec dword [ebp - 0x24]
jne 0x49274b
lea ecx, [ebp - 0x58]
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x58]
push eax
mov ecx, 0x4929fc
mov edx, 0x492a0c
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 4]
jmp 0x4928c0
mov eax, dword [ebp - 4]
mov byte [eax + 0x310], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4928dd
mov eax, dword [ebp - 0x18]
call fcn.00403230
ret
lea eax, [ebp - 8]
call fcn.0040d8dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, 0x492a8c
call fcn.0043e1bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.0043e6c8
mov ecx, dword [0x4973b4]
mov eax, dword [0x49751c]
mov eax, dword [eax]
mov edx, dword [0x492b60]
call fcn.0045de78
mov eax, dword [0x4973b4]
mov eax, dword [eax]
call fcn.0045a978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492959
lea eax, [ebp - 0x58]
mov edx, 0xd
call fcn.00404028
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404028
ret