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

Disassembly:
push 0xffffffffffffffff
push 0x44d088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x668
mov eax, dword [0x46420c]
push ebx
push ebp
push esi
mov dword [esp + 0x670], eax
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
push edi
mov edi, dword [ecx + 0x29c]
mov edx, ecx
lea esi, [edi + 0x18]
push esi
add edx, 0x224
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00408560
push str.Skin_
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x68c], 0
call fcn.00403e70
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 0x415d6c
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 0x415d90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x415e13
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x224
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00408560
push str.Skin_
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x68c], 1
call fcn.00403e70
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 0x415df1
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 0x415e13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.1_skin
lea eax, [esp + 0x38]
push 0x44fd08
push eax
call fcn.0042b87a
push str.5_skin
lea ecx, [esp + 0x10c]
push 0x44fd08
push ecx
call fcn.0042b87a
push str.6_skin
lea edx, [esp + 0x1e0]
push 0x44fd08
push edx
call fcn.0042b87a
push str.7_skin
lea eax, [esp + 0x2b4]
push 0x44fd08
push eax
call fcn.0042b87a
push str.8_skin
lea ecx, [esp + 0x388]
push 0x44fd08
push ecx
call fcn.0042b87a
push str.9_skin
lea edx, [esp + 0x45c]
push 0x44fd08
push edx
call fcn.0042b87a
add esp, 0x48
push str.10_skin
lea eax, [esp + 0x4e8]
push 0x44fd08
push eax
call fcn.0042b87a
push str.11_skin
lea ecx, [esp + 0x5bc]
push 0x44fd08
push ecx
call fcn.0042b87a
add esp, 0x18
add edi, 0x48
mov dword [esp + 0x30], edi
lea ebx, [esp + 0x34]
mov dword [esp + 0x14], 8
call fcn.0043f04a
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 0x44fd08
push eax
mov dword [esp + 0x68c], 2
call fcn.00402810
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push esi
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00408560
push 0x44fef0
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x68c], 3
call fcn.00403e70
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x68c], 4
call fcn.00408560
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 0x415f78
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 0x415f9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x224
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00408560
push str.Skin_
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x68c], 8
call fcn.00403e70
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x68c], 9
call fcn.00408560
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 0x41600e
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 0x416034
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 0x416060
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 0x416082
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 0x4160ab
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 0x415ee1
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.0042b3a1
add esp, 0x674
ret