Function at 0x5c6810
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5fb401
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
xor ebx, ebx
or ebp, 0xffffffff
cmp ecx, ebx
mov edi, edx
je 0x5c6a5c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5c6a5c
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x5c6a5c
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x206
lea eax, [esp + 0x4a]
push ebx
push eax
mov word [esp + 0x50], bx
call fcn.005da970
push 0x206
lea ecx, [esp + 0x25e]
push ebx
push ecx
mov word [esp + 0x264], bx
call fcn.005da970
lea edx, [esp + 0x38]
push esi
push edx
mov ebx, 0x625868
call fcn.0040aab0
add esp, 0x20
xor ebx, ebx
mov dword [esp + 0x460], ebx
mov eax, dword [edi]
sub eax, 0x10
call fcn.0040a210
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
push eax
lea eax, [ebp + 2]
lea ecx, [esp + 0x20]
mov byte [esp + 0x464], 1
call fcn.004a4b30
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
cmp eax, 1
jne 0x5c6920
cmp eax, ebx
jge 0x5c6912
push 0x80070057
call fcn.00403650
movzx eax, word [ecx]
cmp ax, 0x5c
mov byte [esp + 0x17], 1
je 0x5c6924
mov byte [esp + 0x17], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c6944
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x5c697b
mov esi, dword [esi - 0xc]
lea eax, [esi - 1]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
call fcn.0041a270
lea edi, [esp + 0x18]
mov byte [esp + 0x460], 2
call fcn.0040ab90
lea ecx, [esp + 0x1c]
call fcn.00403870
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x48]
push 0x103
push edx
call fcn.005d34f8
push esi
lea eax, [esp + 0x25c]
push 0x103
push eax
call fcn.005d34f8
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx - 0xc]
mov word [esp + eax*2 + 0x5e], bx
mov eax, dword [esi - 0xc]
mov word [esp + eax*2 + 0x266], bx
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
add esp, 0x18
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov word [esp + 0x40], ax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x44]
lea eax, [esp + 0x24c]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov word [esp + 0x38], 0x214
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebp, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x460], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5c6a31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x460], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c6a5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
test ebp, ebp
sete al
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.005d28b3
add esp, 0x450
ret