Function at 0x5b8aac
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x5b8ab4
push ecx
push ebx
push esi
mov eax, 0x5b5668
call fcn.00407f40
xor eax, eax
push ebp
push 0x5b8d91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5ca7f4]
cmp byte [eax], 0
mov eax, dword [0x5ca660]
setne byte [eax]
mov edx, dword [0x5cabec]
xor eax, eax
call fcn.00403560
lea edx, [ebp - 0x14]
mov eax, dword [0x5cabec]
mov eax, dword [eax]
call fcn.0045710c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5ca5d0]
call fcn.004055fc
lea edx, [ebp - 0x18]
mov eax, dword [0x5cabec]
mov eax, dword [eax]
call fcn.0045710c
mov edx, dword [ebp - 0x18]
mov eax, dword [0x5ca5d0]
call fcn.004055fc
lea edx, [ebp - 0x1c]
mov eax, dword [0x5cabec]
mov eax, dword [eax]
call fcn.00457140
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x5cac6c]
call fcn.004055fc
mov dl, 1
mov eax, dword [0x4d8a80]
call fcn.00404534
mov edx, dword [0x5ca968]
mov dword [edx], eax
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00403560
mov edx, dword [ebp - 0x20]
mov eax, dword [0x5ca968]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004d8c80
mov dl, 1
mov eax, dword [0x46978c]
call fcn.00404534
mov dword [0x5d2ce0], eax
mov eax, dword [0x5ca968]
mov eax, dword [eax]
mov ecx, dword [0x5d2ce0]
mov edx, 0x5b8da8
call fcn.004d9138
test al, al
je 0x5b8c17
mov dl, 1
mov eax, dword [0x5b455c]
call fcn.005b46d0
mov edx, dword [0x5ca760]
mov dword [edx], eax
mov eax, dword [0x5ca760]
mov eax, dword [eax]
mov edx, dword [0x5d2ce0]
call fcn.005b45b4
test al, al
jne 0x5b8c34
push 0
push 0x5b8db0
mov eax, dword [0x5ca760]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
inc eax
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.00456988
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x5b8dc8
call fcn.004058c0
mov eax, dword [ebp - 0x24]
call fcn.00405a38
push eax
push 0
call sub.user32.dll_MessageBoxA_1
call fcn.005b5620
jmp 0x5b8d69
push 0
push 0x5b8db0
push 0x5b8dec
push 0
call sub.user32.dll_MessageBoxA_1
call fcn.005b5620
jmp 0x5b8d69
lea edx, [ebp - 0x2c]
mov eax, 1
call fcn.00403560
mov eax, dword [ebp - 0x2c]
mov edx, 0x5b8e10
call fcn.004059d0
jne 0x5b8d34
lea edx, [ebp - 0x30]
mov eax, 2
call fcn.00403560
cmp dword [ebp - 0x30], 0
je 0x5b8d34
mov bl, 0xb
lea edx, [ebp - 0x38]
mov eax, 2
call fcn.00403560
mov ecx, dword [ebp - 0x38]
mov edx, dword [0x5ca5d0]
mov edx, dword [edx]
lea eax, [ebp - 0x34]
call fcn.004058c0
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x3c]
call fcn.00405a38
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
push 0
lea edx, [ebp - 0x44]
mov eax, 2
call fcn.00403560
mov ecx, dword [ebp - 0x44]
mov edx, dword [0x5ca5d0]
mov edx, dword [edx]
lea eax, [ebp - 0x40]
call fcn.004058c0
mov eax, dword [ebp - 0x40]
call fcn.00405a38
push eax
mov eax, dword [0x5cabec]
mov eax, dword [eax]
call fcn.00405a38
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x5b8cfa
push 0x3e8
call sub.kernel32.dll_Sleep_2
dec bl
jne 0x5b8c6d
push 0x5b8e20
mov eax, dword [0x5ca5d0]
push dword [eax]
lea edx, [ebp - 0x4c]
mov eax, 2
call fcn.00403560
push dword [ebp - 0x4c]
push 0x5b8e2c
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.0040593c
mov eax, dword [ebp - 0x48]
xor edx, edx
call fcn.005b4b34
jmp 0x5b8d64
mov eax, dword [0x5ca98c]
mov eax, dword [eax]
call fcn.004b8264
mov ecx, dword [0x5ca72c]
mov eax, dword [0x5ca98c]
mov eax, dword [eax]
mov edx, dword [0x5a8848]
call fcn.004b827c
mov eax, dword [0x5ca98c]
mov eax, dword [eax]
call fcn.004b82fc
call fcn.005b5620
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b8d98
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.004055cc
lea eax, [ebp - 0x38]
mov edx, 0xa
call fcn.004055cc
ret