Function at 0x5a60d8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov ecx, 0xa
lea eax, [ebp - 0x210]
mov edx, dword [0x401120]
call fcn.00405910
xor eax, eax
push ebp
push 0x5a63f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x210]
mov edx, 0x5a640c
call fcn.00404f48
lea eax, [ebp - 0x20c]
mov edx, 0x5a641c
call fcn.00404f48
mov dword [ebp - 4], 7
mov ebx, dword [0x5cf22c]
mov eax, ebx
mov edx, 0x5a6430
call fcn.00404f04
add ebx, 4
dec dword [ebp - 4]
jne 0x5a6166
mov dword [ebp - 4], 1
mov eax, dword [0x5cf22c]
add eax, 0x24
mov dword [ebp - 0x18], eax
mov eax, dword [0x5cf22c]
add eax, 0x1c
mov dword [ebp - 0x1c], eax
push 0x5a6440
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00409e18
push dword [ebp - 0x214]
push 0x5a6450
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405228
mov eax, dword [ebp - 0x14]
call fcn.0040a0f0
test al, al
je 0x5a638d
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
mov ecx, 0x5a6464
mov edx, dword [ebp - 0x14]
call fcn.004051b4
mov eax, dword [ebp - 0x218]
call fcn.00405360
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405360
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x21c]
mov ecx, 0x5a6464
mov edx, dword [ebp - 0x14]
call fcn.004051b4
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x1e8]
call fcn.00402fa8
xor eax, eax
push ebp
push 0x5a6386
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e8]
call fcn.00402d2c
call fcn.00402990
jmp 0x5a6310
lea edx, [ebp - 8]
lea eax, [ebp - 0x1e8]
call fcn.00403498
lea eax, [ebp - 0x1e8]
call fcn.00403504
call fcn.00402990
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.005a5fc0
mov eax, dword [ebp - 0xc]
call fcn.00405168
mov esi, eax
test esi, esi
jle 0x5a62a4
mov ebx, 1
mov eax, dword [ebp - 0xc]
mov al, byte [eax + ebx - 1]
call fcn.00402c38
push eax
lea eax, [ebp - 0xc]
call fcn.004053b8
pop edx
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x5a6286
xor ebx, ebx
lea esi, [ebp - 0x210]
mov eax, dword [ebp - 0xc]
mov edx, dword [esi]
call fcn.004052ac
je 0x5a62c1
inc ebx
add esi, 4
cmp ebx, 2
jne 0x5a62ac
sub ebx, 1
jb 0x5a62ca
je 0x5a62e7
jmp 0x5a6310
lea ecx, [ebp - 0x10]
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.005a5fc0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00404f04
jmp 0x5a6310
lea ecx, [ebp - 0x220]
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.005a5fc0
mov ecx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x18]
add eax, 0xffffffdc
mov edx, 0x5a6470
call fcn.004051b4
lea eax, [ebp - 0x1e8]
call fcn.00403230
call fcn.00402990
test al, al
je 0x5a6248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a63a0
lea eax, [ebp - 0x1e8]
call fcn.00403070
call fcn.00402990
lea eax, [ebp - 0x224]
mov ecx, 0x5a6464
mov edx, dword [ebp - 0x14]
call fcn.004051b4
mov eax, dword [ebp - 0x224]
call fcn.0040a0f0
test al, al
je 0x5a6385
lea eax, [ebp - 0x228]
mov ecx, 0x5a6464
mov edx, dword [ebp - 0x14]
call fcn.004051b4
mov eax, dword [ebp - 0x228]
call fcn.0040a218
ret
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0
mov eax, dword [ebp - 0x18]
mov edx, 0x5a647c
call fcn.00404f04
inc dword [ebp - 4]
inc dword [ebp - 0x1c]
add dword [ebp - 0x18], 4
cmp dword [ebp - 4], 8
jne 0x5a6197
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a63fc
lea eax, [ebp - 0x228]
mov edx, 6
call fcn.00404ed4
lea eax, [ebp - 0x210]
mov ecx, 0xa
mov edx, dword [0x401120]
call fcn.004059e4
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404ed4
ret