Function at 0xc83750
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0xd264e4
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0xd916ec]
xor eax, esp
mov dword [esp + 0x4c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xd916ec]
xor eax, esp
push eax
lea eax, [esp + 0x4d8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4ec]
mov ebp, dword [esp + 0x4e8]
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp dword [eax + 0x14], 8
mov dword [esp + 0x18], ebp
jb 0xc837ab
mov eax, dword [eax]
push str..gskin
push eax
lea eax, [esp + 0x5c]
push str._s_s
push eax
call fcn.00b75070
add esp, 0x10
mov dword [esp + 0x4e0], 1
xor ecx, ecx
push 5
mov word [esp + 0x74], cx
mov esi, 7
push str.Skins
lea ecx, [esp + 0x78]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
call fcn.00b71d20
lea edx, [esp + 0x70]
push edx
lea edi, [esp + 0x3c]
mov byte [esp + 0x4e4], 2
call fcn.00b7eae0
add esp, 4
mov edi, 8
mov byte [esp + 0x4e0], 4
cmp dword [esp + 0x84], edi
jb 0xc83834
mov eax, dword [esp + 0x70]
push eax
call fcn.00cb8a36
add esp, 4
xor ecx, ecx
mov word [esp + 0x70], cx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
call fcn.00c83690
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x4e4], 5
call fcn.00b7f3b0
add esp, 4
push 0x206
lea ecx, [esp + 0x2d2]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x2d8], ax
call fcn.00cbe420
add esp, 0xc
push 0x206
lea eax, [esp + 0xca]
xor edx, edx
push ebx
push eax
mov word [esp + 0xd0], dx
call fcn.00cbe420
mov ecx, dword [esp + 0x60]
add esp, 0xc
cmp dword [esp + 0x68], edi
jae 0xc838b9
lea ecx, [esp + 0x54]
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], edi
jae 0xc838c7
lea eax, [esp + 0x38]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ecx
push eax
lea ecx, [esp + 0x2d4]
push ecx
call esi
mov ecx, dword [esp + 0x54]
mov edi, 8
cmp dword [esp + 0x68], edi
jae 0xc838ec
lea ecx, [esp + 0x54]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], edi
jae 0xc838fa
lea eax, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0xcc]
push edx
call esi
xor eax, eax
mov word [esp + 0xa8], ax
mov esi, 7
lea eax, [esp + 0xc4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xc83930
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0xb0]
call fcn.00b71d20
mov byte [esp + 0x4e0], 6
xor edx, edx
lea eax, [esp + 0x2cc]
mov word [esp + 0x8c], dx
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xc83980
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2d0]
push eax
lea ecx, [esp + 0x94]
call fcn.00b71d20
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0xac]
mov byte [esp + 0x4e4], 7
call fcn.00b7f3b0
add esp, 4
mov byte [esp + 0x4e0], 6
cmp dword [esp + 0xa0], edi
jb 0xc839e4
mov edx, dword [esp + 0x8c]
push edx
call fcn.00cb8a36
add esp, 4
xor eax, eax
mov byte [esp + 0x4e0], 5
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], ax
cmp dword [esp + 0xbc], edi
jb 0xc83a1d
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00cb8a36
add esp, 4
lea edx, [esp + 0xc4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x10], ebx
test eax, eax
jne 0xc83ac1
push ebx
push 0xd48868
mov ecx, ebp
mov word [ebp], ax
call fcn.00b71d20
mov byte [esp + 0x4e0], 4
mov dword [esp + 0x14], 1
cmp dword [esp + 0x30], edi
jb 0xc83a6d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00cb8a36
add esp, 4
xor edx, edx
mov byte [esp + 0x4e0], 1
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], dx
cmp dword [esp + 0x4c], edi
jb 0xc83a97
mov eax, dword [esp + 0x38]
push eax
call fcn.00cb8a36
add esp, 4
xor ecx, ecx
mov byte [esp + 0x4e0], bl
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
cmp dword [esp + 0x68], edi
jb 0xc83b66
mov edx, dword [esp + 0x54]
push edx
jmp 0xc83b5e
xor eax, eax
mov word [ebp], ax
lea eax, [esp + 0xc4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xc83ad1
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xc8]
push ecx
mov ecx, ebp
call fcn.00b71d20
mov byte [esp + 0x4e0], 4
mov dword [esp + 0x14], 1
cmp dword [esp + 0x30], edi
jb 0xc83b13
mov edx, dword [esp + 0x1c]
push edx
call fcn.00cb8a36
add esp, 4
xor eax, eax
mov byte [esp + 0x4e0], 1
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], ax
cmp dword [esp + 0x4c], edi
jb 0xc83b3d
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00cb8a36
add esp, 4
xor edx, edx
mov byte [esp + 0x4e0], bl
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], dx
cmp dword [esp + 0x68], edi
jb 0xc83b66
mov eax, dword [esp + 0x54]
push eax
call fcn.00cb8a36
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x4d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c0]
xor ecx, esp
call fcn.00cb8a41
add esp, 0x4d0
ret