Function at 0x4dbee0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ecbd0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6670f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
push dword [ebx]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, dword [ebp + 8]
lea edi, [ebx + 0xc]
test esi, esi
jne 0x4dbf2c
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4dbf3c
push dword [edi]
mov ecx, ebx
push dword [ebx + 8]
call fcn.004db070
test esi, esi
jne 0x4dbf4e
push dword [ebx + 4]
lea esi, [ebx + 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4dbf5c
jmp 0x4dbf51
lea esi, [ebx + 4]
push dword [esi]
mov ecx, ebx
push dword [ebx]
call fcn.004db070
push dword [esi]
mov ecx, ebx
push dword [edi]
call fcn.004da7d0
mov ecx, ebx
call fcn.004d7340
push 0
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.004cde40
mov dword [ebp - 0x14], eax
push str.SkinlistOrder.dat
lea eax, [ebx + 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp + 8]
push eax
call fcn.004c3c70
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
push ecx
push dword [eax]
mov ecx, ebx
call fcn.004da500
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dbfd7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004b4040
mov ecx, eax
test ecx, ecx
je 0x4dc14d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, 0x6055f4
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
test eax, 0xffff0000
jne 0x4dc00f
movzx eax, ax
push eax
call fcn.004bd6a0
jmp 0x4dc01b
push 4
push 0x6055f4
call fcn.004c0470
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0x20]
call fcn.004d66f0
push eax
mov ecx, ebx
call fcn.004dbe00
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dc056
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004b4040
mov ecx, eax
test ecx, ecx
je 0x4dc157
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, 0x60560c
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
test eax, 0xffff0000
jne 0x4dc08e
movzx eax, ax
push eax
call fcn.004bd6a0
jmp 0x4dc09a
push 4
push 0x60560c
call fcn.004c0470
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0x20]
call fcn.004d66f0
push eax
mov ecx, ebx
call fcn.004dbe00
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dc0d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp esi, edi
je 0x4dc122
nop word [eax + eax]
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov dword [ebp - 0x10], eax
sub edx, 0x10
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dc110
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xc
push esi
call fcn.0050ed4e
mov esi, dword [ebp - 0x10]
add esp, 8
cmp esi, edi
jne 0x4dc0f0
push 0xc
push edi
call fcn.0050ed4e
add esp, 8
mov dword [ebx + 0x10], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004b3510
push 0x80004005
call fcn.004b3510
int3