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

Disassembly:
push 0xffffffffffffffff
push 0x441078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x668
mov eax, dword [0x4551e4]
push ebx
push ebp
push esi
mov dword [esp + 0x670], eax
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
push edi
mov edi, dword [ecx + 0x68]
mov edx, ecx
lea esi, [edi + 0x18]
push esi
add edx, 0x1c
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00407fd0
push str.Skin_
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x68c], 0
call fcn.00403020
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 0x410126
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 0x41014a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x4101ca
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x1c
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00407fd0
push str.Skin_
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x68c], 1
call fcn.00403020
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 0x4101a8
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 0x4101ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.1_skin
lea eax, [esp + 0x38]
push 0x443ce8
push eax
call fcn.0042396a
push str.5_skin
lea ecx, [esp + 0x10c]
push 0x443ce8
push ecx
call fcn.0042396a
push str.6_skin
lea edx, [esp + 0x1e0]
push 0x443ce8
push edx
call fcn.0042396a
push str.7_skin
lea eax, [esp + 0x2b4]
push 0x443ce8
push eax
call fcn.0042396a
push str.8_skin
lea ecx, [esp + 0x388]
push 0x443ce8
push ecx
call fcn.0042396a
push str.9_skin
lea edx, [esp + 0x45c]
push 0x443ce8
push edx
call fcn.0042396a
add esp, 0x48
push str.10_skin
lea eax, [esp + 0x4e8]
push 0x443ce8
push eax
call fcn.0042396a
push str.11_skin
lea ecx, [esp + 0x5bc]
push 0x443ce8
push ecx
call fcn.0042396a
add esp, 0x18
add edi, 0x48
mov dword [esp + 0x30], edi
lea ebx, [esp + 0x34]
mov dword [esp + 0x14], 8
call fcn.004335c2
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 0x443ce8
push eax
mov dword [esp + 0x68c], 2
call fcn.00403000
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push esi
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00407fd0
push 0x443cf8
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x68c], 3
call fcn.00403020
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x68c], 4
call fcn.00407fd0
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 0x41032f
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 0x410355
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x1c
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00407fd0
push str.Skin_
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x68c], 8
call fcn.00403020
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x68c], 9
call fcn.00407fd0
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 0x4103c2
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 0x4103e8
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 0x410414
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 0x410436
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 0x41045f
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 0x410298
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.00423492
add esp, 0x674
ret