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

Disassembly:
push 0xffffffffffffffff
push 0x4f15d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov ecx, 0x506c24
call fcn.00405cc0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
mov ecx, dword [ecx]
test ecx, ecx
je 0x41ba46
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x14]
push eax
push 1
call edx
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ba6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
lea esi, [esp + 0x18]
call fcn.00417aa0
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [esi]
add esp, 4
push eax
call ebp
mov edi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x41baa4
mov esi, dword [esi]
push 0
push esi
push 0
call edi
test eax, eax
je 0x41baa4
xor al, al
jmp 0x41baa6
mov al, 1
test al, al
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bacb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41bad9
mov eax, 3
jmp 0x41bcf2
push 4
lea esi, [esp + 0x18]
call fcn.00417aa0
mov esi, eax
mov eax, dword [esi]
add esp, 4
push eax
call ebp
test eax, eax
jne 0x41bb01
mov esi, dword [esi]
push eax
push esi
push eax
call edi
test eax, eax
je 0x41bb01
xor al, al
jmp 0x41bb03
mov al, 1
test al, al
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bb28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x41bacf
push 5
lea esi, [esp + 0x18]
call fcn.00417aa0
mov esi, eax
mov eax, dword [esi]
add esp, 4
push eax
call ebp
test eax, eax
jne 0x41bb54
mov esi, dword [esi]
push eax
push esi
push eax
call edi
test eax, eax
je 0x41bb54
xor al, al
jmp 0x41bb56
mov al, 1
test al, al
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bb7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x41bacf
push 6
lea esi, [esp + 0x18]
call fcn.00417aa0
mov esi, eax
mov eax, dword [esi]
add esp, 4
push eax
call ebp
test eax, eax
jne 0x41bbab
mov esi, dword [esi]
push eax
push esi
push eax
call edi
test eax, eax
je 0x41bbab
xor al, al
jmp 0x41bbad
mov al, 1
test al, al
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bbd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x41bacf
push 0
lea esi, [esp + 0x18]
call fcn.00417aa0
add esp, 4
mov esi, eax
call fcn.00413430
test al, al
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bc14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41bc22
mov eax, 4
jmp 0x41bcf2
push 7
lea esi, [esp + 0x18]
call fcn.00417aa0
add esp, 4
mov esi, eax
call fcn.00413430
test al, al
lea eax, [esp + 0x14]
sete bl
call fcn.0041f720
test bl, bl
jne 0x41bacf
push 8
lea esi, [esp + 0x18]
call fcn.00417aa0
add esp, 4
mov esi, eax
call fcn.00413430
test al, al
lea eax, [esp + 0x14]
sete bl
call fcn.0041f720
test bl, bl
jne 0x41bacf
call fcn.00419990
test eax, eax
je 0x41bcbc
push 0xb
lea esi, [esp + 0x18]
call fcn.00417aa0
add esp, 4
push eax
mov dword [esp + 0x28], 1
call fcn.00413460
add esp, 4
test al, al
mov eax, esi
sete bl
mov dword [esp + 0x24], 0xffffffff
call fcn.0041f720
test bl, bl
jne 0x41bacf
push 9
lea esi, [esp + 0x1c]
call fcn.00417aa0
add esp, 4
mov esi, eax
call fcn.00413430
test al, al
lea eax, [esp + 0x18]
sete bl
call fcn.0041f720
test bl, bl
jne 0x41bacf
mov esi, dword [esp + 0x2c]
call fcn.0041bd10
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4