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

Disassembly:
push 0xffffffffffffffff
push 0x446928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x668
mov eax, dword [0x45b1e4]
push ebx
push ebp
push esi
mov dword [esp + 0x670], eax
mov eax, dword [0x45c16c]
mov ecx, dword [eax + 0x14]
push edi
mov edi, dword [ecx + 0x94]
mov edx, ecx
lea esi, [edi + 0x18]
push esi
add edx, 0x1c
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00407c30
push str.Skin_
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x68c], 0
call fcn.004037a0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov eax, dword [esp + 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
or ebp, 0xffffffff
inc bl
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4132f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x680], ebp
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41331d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x41339d
mov eax, dword [0x45c16c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x1c
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00407c30
push str.Skin_
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x68c], 1
call fcn.004037a0
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41337b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x680], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x41339d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.1_skin
lea eax, [esp + 0x38]
push 0x448cf8
push eax
call fcn.00428c0a
push str.5_skin
lea ecx, [esp + 0x10c]
push 0x448cf8
push ecx
call fcn.00428c0a
push str.6_skin
lea edx, [esp + 0x1e0]
push 0x448cf8
push edx
call fcn.00428c0a
push str.7_skin
lea eax, [esp + 0x2b4]
push 0x448cf8
push eax
call fcn.00428c0a
push str.8_skin
lea ecx, [esp + 0x388]
push 0x448cf8
push ecx
call fcn.00428c0a
push str.9_skin
lea edx, [esp + 0x45c]
push 0x448cf8
push edx
call fcn.00428c0a
add esp, 0x48
push str.10_skin
lea eax, [esp + 0x4e8]
push 0x448cf8
push eax
call fcn.00428c0a
push str.11_skin
lea ecx, [esp + 0x5bc]
push 0x448cf8
push ecx
call fcn.00428c0a
add esp, 0x18
add edi, 0x48
mov dword [esp + 0x30], edi
lea ebx, [esp + 0x34]
mov dword [esp + 0x14], 8
jmp 0x413470
call fcn.00438ca4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push ebx
lea eax, [esp + 0x14]
push 0x448cf8
push eax
mov dword [esp + 0x68c], 2
call fcn.00403780
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push esi
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00407c30
push 0x448e8c
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x68c], 3
call fcn.004037a0
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x68c], 4
call fcn.00407c30
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x680], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413507
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41352d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45c16c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x1c
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00407c30
push str.Skin_
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x68c], 8
call fcn.004037a0
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x68c], 9
call fcn.00407c30
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x680], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41359a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x680], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4135c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
push 0
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4135ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x680], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41360e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x680], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413637
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add ebx, 0xc8
dec eax
mov dword [esp + 0x14], eax
jne 0x413470
mov ecx, dword [esp + 0x678]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x668]
pop ebx
call fcn.00428731
add esp, 0x674
ret