Function at 0x4800a8
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4800b1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48037c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0xc]
call fcn.0047fe70
test al, al
je 0x480354
xor eax, eax
push ebp
push 0x48034a
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x480188
mov eax, dword [0x532174]
cmp dword [eax], 2
jne 0x48012c
push 0xb
mov eax, dword [ebp - 0x10]
call fcn.004088b0
push eax
mov eax, dword [ebp - 0xc]
call fcn.004088b0
push eax
call sub.kernel32.dll_MoveFileExW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
jmp 0x480188
mov eax, dword [ebp - 0x10]
call fcn.0041fd14
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.0041f798
test al, al
jne 0x480188
push 0
mov eax, dword [ebp - 0x10]
call fcn.004088b0
push eax
mov eax, dword [ebp - 0xc]
call fcn.004088b0
mov ebx, eax
push ebx
call sub.kernel32.dll_CopyFileW
test eax, eax
je 0x480188
mov edx, ebx
lea eax, [ebp - 0x1c]
call fcn.00408908
mov eax, dword [ebp - 0x1c]
call fcn.0041fd14
test al, al
je 0x480188
mov byte [ebp - 0x11], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x480354
mov eax, dword [0x532174]
cmp dword [eax], 2
jne 0x4801b0
push 5
mov eax, dword [ebp - 0x10]
call fcn.004088b0
push eax
mov eax, dword [ebp - 0xc]
call fcn.004088b0
push eax
call sub.kernel32.dll_MoveFileExW
jmp 0x480340
mov dl, 1
mov eax, dword [0x43bd60]
call fcn.004488d0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 4]
call fcn.0047b4d0
xor eax, eax
push ebp
push 0x480226
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00426490
lea eax, [ebp - 0x20]
mov edx, 0x48039c
call fcn.00408ab4
mov eax, dword [ebp - 0x20]
call fcn.0047fe70
test al, al
je 0x48021c
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00426490
lea eax, [ebp - 0x24]
mov edx, 0x48039c
call fcn.00408ab4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x480238
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0041e2b4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x4803c0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x480276
mov edx, 0x4803c0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
call fcn.0047fe70
test al, al
jne 0x4802d6
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0041ff24
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0041f830
test al, al
jne 0x4802a3
mov eax, dword [ebp - 8]
call fcn.0041f900
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0042007c
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.004201cc
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00426490
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 8]
pop ecx
call fcn.00408b0c
jmp 0x4802e1
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004201cc
cmp dword [ebp - 8], 0
je 0x480315
push dword [ebp - 8]
push 0x4803e0
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0xc]
call fcn.004201cc
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00408b94
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00426490
lea eax, [ebp - 0x44]
mov edx, 0x48039c
call fcn.00408ab4
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov eax, dword [ebp - 0x18]
call fcn.00405fbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x480354
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480383
lea eax, [ebp - 0x44]
mov edx, 0xb
call fcn.00407c90
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407c90
ret