Function at 0x10003bd0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1002d3ae
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x10037c38]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10037c38]
xor eax, esp
push eax
lea eax, [esp + 0x378]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
mov esi, ecx
mov ebx, edx
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
call fcn.1000a0a0
xor ebp, ebp
mov dword [esp + 0x380], ebp
call fcn.1000e08c
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x10003c44
push 0x80004005
call fcn.100035a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x380], 1
call fcn.1000e08c
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x10003c76
push 0x80004005
call fcn.100035a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x380], 2
call fcn.1000e08c
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x10003ca8
push 0x80004005
call fcn.100035a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
push ebx
lea ecx, [esp + 0x20]
push 0x1003185c
push ecx
mov byte [esp + 0x38c], 3
call fcn.1000a080
mov edx, dword [esi + 0x98]
mov eax, dword [edx + 4]
sub esi, 0xffffff80
add esp, 0xc
push eax
mov ecx, esi
call fcn.10007f70
mov eax, dword [esi + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], ebp
lea ecx, [esp + 0x124]
mov dword [eax], eax
mov eax, dword [esi + 0x18]
push ecx
push ebx
mov dword [eax + 8], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x10003da4
lea eax, [edi - 0x10]
mov byte [esp + 0x380], 2
lea edx, [eax + 0xc]
or ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10003d3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x380], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003d64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x380], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003d88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x384], 0xffffffff
call fcn.1000a1e0
xor eax, eax
jmp 0x10003f2b
lea edx, [esp + 0x124]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x10003e93
jmp 0x10003dc0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x150]
push eax
push ecx
lea edx, [esp + 0x24]
push str._s_s
push edx
call fcn.1000a080
mov ebx, dword [esp + 0x2c]
add esp, 0x10
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10003e7c
push str.skin.ini
push str.common_
push ebx
lea eax, [esp + 0x24]
push 0x10031894
push eax
call fcn.1000a080
mov ecx, dword [esp + 0x2c]
add esp, 0x14
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10003e7c
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
call fcn.1000aca0
test eax, eax
jne 0x10003e34
xor ecx, ecx
jmp 0x10003e4f
mov ecx, eax
lea edi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10003e40
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.100034b0
mov edi, dword [esp + 0x20]
cmp dword [edi - 0xc], 0
je 0x10003e7c
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.10007450
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.10009f80
lea edx, [esp + 0x124]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10003dc0
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x9c]
lea eax, [edi - 0x10]
mov byte [esp + 0x380], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003ec8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x380], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003ef0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x380], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003f14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x384], 0xffffffff
call fcn.1000a1e0
mov eax, esi
mov ecx, dword [esp + 0x378]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.100188db
add esp, 0x370
ret