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

Disassembly:
push 0xffffffffffffffff
push 0x48c6b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
call fcn.00405d00
add esp, 4
mov edi, 0x4bd950
mov dword [esp + 0x20], 0
call fcn.0040b8a0
or esi, 0xffffffff
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430e0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x4bd950]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x430e41
lea ecx, [eax - 1]
test ecx, ecx
jl 0x430ff5
cmp ecx, eax
jg 0x430ff5
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x430e41
push 0x5c
mov edi, 0x4bd950
call fcn.00416550
lea ecx, [esp + 0x10]
push 0x4bd950
push ecx
mov ebx, 0x499fd0
call fcn.00409750
add esp, 8
mov edi, 0x4bd95c
mov dword [esp + 0x20], 1
call fcn.0040b8a0
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430e8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x4bd95c]
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea edx, [esp + 0x10]
push 0x4bd950
push edx
mov ebx, str.cdictlist.ini
call fcn.00409750
add esp, 8
mov edi, 0x4bd960
mov dword [esp + 0x20], 2
call fcn.0040b8a0
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430eea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x10]
call fcn.00405a10
mov edi, 0x4bd954
mov dword [esp + 0x20], 3
call fcn.0040b8a0
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430f28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x4bd954]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x430f5e
lea eax, [ecx - 1]
test eax, eax
jl 0x430ff5
cmp eax, ecx
jg 0x430ff5
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x430f5e
push 0x5c
mov edi, 0x4bd954
call fcn.00416550
lea ecx, [esp + 0x14]
push 0x4bd954
push ecx
mov ebx, 0x499fd0
call fcn.00409750
add esp, 8
mov edi, 0x4bd958
mov dword [esp + 0x20], 4
call fcn.0040b8a0
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x430fa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x28], 0
je 0x430fff
mov ecx, dword [0x4bd960]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
mov esi, 1
call edi
test eax, eax
jne 0x430fce
xor esi, esi
call fcn.0042fdf0
mov edx, dword [0x4bd960]
push edx
call edi
test eax, eax
jne 0x430fe0
call fcn.004310e0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push 0x80070057
call fcn.00416be0
mov eax, dword [0x4bd960]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret