Function at 0x4193c0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e591b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x670f1c]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
movzx eax, word [esp + 0x23c]
mov esi, dword [esp + 0x238]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fadd qword [0x4f5e48]
call fcn.004c48a0
fmul qword [0x4f8a10]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
push 1
fldcw word [esp + 0x1c]
push 0x23
lea edx, [esp + 0x24]
push edx
push edi
fistp dword [esp + 0x28]
mov cx, word [esp + 0x28]
movzx ebp, cx
fldcw word [esp + 0x24]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x419483
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0x4f87f4
mov ecx, esi
mov word [esi + 4], di
call fcn.00401930
jmp 0x4195e5
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00406e40
lea ecx, [esp + 0x14]
mov dword [esp + 0x230], edi
call fcn.00423aa0
mov ecx, eax
call fcn.00422e60
push eax
lea ecx, [esp + 0x18]
call fcn.00407450
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], edi
jne 0x4194eb
push 0x4f87f8
mov ecx, esi
call fcn.00401430
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x230], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4195d9
push 1
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004109d0
push 0x4f87fc
push eax
call fcn.00410850
mov bl, al
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41952b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41953d
push 0x4f8800
lea ecx, [esp + 0x18]
call fcn.00410eb0
push 0x4f8804
lea ecx, [esp + 0x18]
call fcn.00410eb0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x419581
mov edx, dword [esp + 0x14]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x419581
push 0x4f8810
mov ecx, esi
call fcn.00401430
lea ecx, [esp + 0x14]
call fcn.00406960
jmp 0x4195e5
movzx eax, bp
push eax
lea ecx, [esp + 0x18]
push 0x4f8814
push ecx
call fcn.00423e70
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x4195b2
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00406b50
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00401430
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x230], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4195e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004bfdfd
add esp, 0x220
ret