Function at 0x5c1a4c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x5c1a54
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x5c1ecf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [0x5d5508]
mov eax, dword [eax]
call fcn.00409cac
test al, al
jne 0x5c1a94
mov eax, dword [0x5d5508]
mov eax, dword [eax]
call fcn.004fca34
jmp 0x5c1eb4
mov eax, edi
call fcn.005c19e0
test al, al
je 0x5c1c51
mov eax, dword [0x5d4efc]
mov eax, dword [eax]
cmp byte [eax + 0x335], 0
je 0x5c1afa
mov eax, dword [0x5d4efc]
mov eax, dword [eax]
cmp dword [eax + 0x33c], 0
je 0x5c1afa
mov eax, dword [0x5d4efc]
mov eax, dword [eax]
mov eax, dword [eax + 0x33c]
cmp dword [eax + 0xc], 0
je 0x5c1afa
mov eax, dword [0x5d4efc]
mov eax, dword [eax]
mov eax, dword [eax + 0x33c]
mov edx, dword [eax + 0xc]
mov eax, dword [0x5d4efc]
mov eax, dword [eax]
call fcn.005309d4
test al, al
je 0x5c1eb4
lea eax, [ebp - 0x10]
call fcn.004fc488
lea ecx, [ebp - 0xc]
mov edx, 0x5c1ee8
mov eax, dword [ebp - 0x10]
call fcn.00409fec
mov eax, dword [ebp - 0x10]
call fcn.00409c9c
test al, al
jne 0x5c1b26
lea eax, [ebp - 0x10]
call fcn.00404a30
mov eax, dword [0x5d560c]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004a00bc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.005302d8
test al, al
jne 0x5c1b58
mov eax, dword [0x5d560c]
mov eax, dword [eax]
xor edx, edx
call fcn.004a00bc
jmp 0x5c1eb4
mov eax, dword [0x5d560c]
mov eax, dword [eax]
xor edx, edx
call fcn.004a00bc
cmp dword [ebp - 0x10], 0
je 0x5c1ba1
mov eax, dword [ebp - 0x10]
call fcn.00409c9c
test al, al
je 0x5c1ba1
mov eax, dword [ebp - 0x10]
call fcn.00409f30
test al, al
jne 0x5c1ba1
push 0x10
mov ecx, 0x5c1eec
mov edx, 0x5c1ef4
mov eax, dword [0x5d51bc]
mov eax, dword [eax]
call fcn.004a2384
jmp 0x5c1eb4
lea eax, [ebp - 0x14]
call fcn.004fc488
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00409f48
test al, al
jne 0x5c1bf4
push 0x10
push 0x5c1f24
push dword [ebp - 0xc]
push 0x5c1f44
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404db0
mov eax, dword [ebp - 0x18]
call fcn.00404ef0
mov edx, eax
mov ecx, 0x5c1eec
mov eax, dword [0x5d51bc]
mov eax, dword [eax]
call fcn.004a2384
jmp 0x5c1eb4
mov eax, dword [0x5d537c]
mov eax, dword [eax + 0x50]
call fcn.00405d58
mov esi, eax
dec esi
test esi, esi
jl 0x5c1c3c
inc esi
xor ebx, ebx
mov eax, dword [0x5d537c]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5c1c28
mov edx, dword [0x5d537c]
call fcn.00403bfc
mov eax, dword [0x5d537c]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + ebx*4]
xor edx, edx
mov dword [eax + 0x10], edx
inc ebx
dec esi
jne 0x5c1c0b
mov eax, dword [0x5d4efc]
mov eax, dword [eax]
mov byte [eax + 0x335], 0
mov eax, edi
call fcn.005c236c
mov edx, dword [0x5d5508]
mov edx, dword [edx]
lea eax, [ebp - 0x20]
mov ecx, 0x5c1f50
call fcn.00404d3c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004fae50
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x5d5174]
mov edx, dword [edx]
call fcn.00404e3c
je 0x5c1cf5
push 0
mov edx, dword [0x5d5508]
mov edx, dword [edx]
lea eax, [ebp - 0x24]
mov ecx, 0x5c1f50
call fcn.00404d3c
mov eax, dword [ebp - 0x24]
call fcn.00404ef0
push eax
lea edx, [ebp - 0x28]
mov eax, dword [0x5d51bc]
mov eax, dword [eax]
call fcn.004a2804
mov eax, dword [ebp - 0x28]
call fcn.00404ef0
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x5c1cd3
mov eax, 0x13ed
call fcn.004fc4cc
jmp 0x5c1eb4
mov edx, dword [0x5d5508]
mov edx, dword [edx]
lea eax, [ebp - 0x2c]
mov ecx, 0x5c1f50
call fcn.00404d3c
mov eax, dword [ebp - 0x2c]
mov edx, 0x5c1f68
call fcn.004fe090
mov edx, dword [0x5d5508]
mov edx, dword [edx]
lea eax, [ebp - 0x30]
mov ecx, 0x5c1f80
call fcn.00404d3c
mov eax, dword [ebp - 0x30]
call fcn.00409c9c
test al, al
jne 0x5c1d8d
mov edx, dword [0x5d4abc]
mov edx, dword [edx]
lea eax, [ebp - 0x34]
mov ecx, 0x5c1f98
call fcn.00404d3c
mov eax, dword [ebp - 0x34]
call fcn.00409c9c
test al, al
je 0x5c1d8d
push 0
mov edx, dword [0x5d5508]
mov edx, dword [edx]
lea eax, [ebp - 0x38]
mov ecx, 0x5c1f80
call fcn.00404d3c
mov eax, dword [ebp - 0x38]
call fcn.00404ef0
push eax
mov edx, dword [0x5d4abc]
mov edx, dword [edx]
lea eax, [ebp - 0x3c]
mov ecx, 0x5c1f98
call fcn.00404d3c
mov eax, dword [ebp - 0x3c]
call fcn.00404ef0
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x5c1d8d
mov eax, 0x13ee
call fcn.004fc4cc
jmp 0x5c1eb4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5c1e1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x5d5508]
mov edx, dword [edx]
lea eax, [ebp - 0x40]
mov ecx, 0x5c1fb0
call fcn.00404d3c
mov ecx, dword [ebp - 0x40]
mov dl, 1
mov eax, dword [0x443a48]
call fcn.00443af8
mov dword [ebp - 8], eax
push 0x5c1fc8
mov ecx, 0x5c1fdc
mov edx, 0x5c1fec
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
push 0x5c1ffc
mov ecx, 0x5c2010
mov edx, 0x5c1fec
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [0x5d537c]
mov eax, dword [eax + 0x24]
push eax
mov ecx, 0x5c2020
mov edx, 0x5c1fec
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c1e4b
mov eax, dword [ebp - 8]
call fcn.00403bfc
mov edx, dword [0x5d4abc]
mov edx, dword [edx]
lea eax, [ebp - 0x44]
mov ecx, 0x5c2050
call fcn.00404d3c
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x443a48]
call fcn.00443af8
mov dword [ebp - 8], eax
mov eax, dword [0x5d5508]
mov eax, dword [eax]
push eax
mov ecx, 0x5c2068
mov edx, 0x5c207c
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 8]
call fcn.00403bfc
mov edx, dword [0x5d5508]
mov edx, dword [edx]
mov eax, dword [0x5d537c]
mov eax, dword [eax]
call fcn.0058f0cc
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c1ed6
lea eax, [ebp - 0x44]
mov edx, 0xf
call fcn.00404a54
ret