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

Disassembly:
push 0xffffffffffffffff
push 0x4eb9d9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x30]
mov ecx, dword [esi - 0xc]
lea eax, [ecx - 1]
test eax, eax
mov dword [esp + 0x28], 0
jl 0x483f2f
cmp eax, ecx
jg 0x483f2f
movzx eax, word [esi + eax*2]
cmp ax, 0x5c
jne 0x483f39
mov eax, dword [esi - 0xc]
add eax, 0xffffffff
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.00406390
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
mov byte [esp + 0x28], 1
je 0x483efc
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x483eea
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x483eea
push eax
call fcn.004069f0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x483ee1
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea esi, [ebp + 0x10]
mov dword [esp + 0x30], esi
jmp 0x483efc
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00406c90
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483f21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx - 1]
test eax, eax
jge 0x483e75
push 0x80070057
call fcn.004069a0
cmp dword [esi - 4], 1
jle 0x483f50
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x34]
call fcn.00406b50
mov esi, dword [esp + 0x30]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call ebx
test eax, eax
je 0x483f99
lea eax, [esi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x483f81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
push 0x5c
push esi
call fcn.004c67c5
add esp, 8
test eax, eax
je 0x484059
sub eax, esi
sar eax, 1
cmp eax, 1
jle 0x484059
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
call fcn.00406390
mov edi, dword [esp + 0x14]
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
push edi
mov byte [esp + 0x30], 2
call fcn.004069f0
mov ecx, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.00483e30
test al, al
mov byte [esp + 0x28], 0
jne 0x484040
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x484015
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484039
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x483f83
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484059
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ebp, 1
cmp dword [esi - 4], ebp
jle 0x484074
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x34]
call fcn.00406b50
mov esi, dword [esp + 0x30]
push esi
call ebx
test eax, eax
je 0x484098
lea eax, [esi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x483f75
cmp dword [esi - 4], ebp
jle 0x4840ae
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x34]
call fcn.00406b50
mov esi, dword [esp + 0x30]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
test edi, edi
jne 0x4840ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4840cc
mov edi, ebp
test edi, edi
lea eax, [esi - 0x10]
setne bl
mov dword [esp + 0x28], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4840f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
jmp 0x483f83