Function at 0x42b5d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b675
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4b42b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
call fcn.00412ed0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x42b61b
push 0x80004005
call fcn.00412c60
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push str.CQodHQQFLxsMBhgnBzorLicNOCASLAMANQYkJBofMDcfMhcsJA0yNi4cIjU_AhsuDAIBFysbFzw2IzQ2FwkWKj8cLTkVFgAAAEU
push eax
mov dword [ebp - 0x18], 0
call fcn.00429e10
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov byte [ebp - 4], 1
sar eax, 1
jne 0x42b660
push str.invalid_vector_T__subscript
call fcn.00441bba
push ecx
lea ecx, [ebp - 0x18]
call fcn.00411470
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 3
test eax, eax
je 0x42b692
push eax
call fcn.0044317c
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.00412ed0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x42b6ae
push 0x80004005
call fcn.00412c60
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push str.CSYNKhUEOS0DHDssJBYVChQ1JyQ8MDI4LDMUBAwUMy0hEzUWDBsIGDoZDhEMTYCPxQQDBIhFgYJDwwfLQUsAiIhDjAgEBMKNS8_Hz4ePAgSMCg6MTwFGxYwARg0KD8lKAE2MSM7FyEYGwI5KxMRIystHQADCh8vIxstHDgWOBMVHR4mAyICKzM4MwElJBUgIioNHykyMhgcADw2IS0cESQAAACg
push eax
call fcn.00429e10
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov byte [ebp - 4], 5
sar eax, 1
jne 0x42b6e9
push str.invalid_vector_T__subscript
call fcn.00441bba
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.004273e0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.004248e0
mov edx, dword [ebp - 0x20]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x42b728
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 4
test eax, eax
je 0x42b73c
push eax
call fcn.0044317c
add esp, 4
mov edi, dword [ebp - 0x14]
mov ecx, dword [edi - 0xc]
test ecx, ecx
je 0x42b8bb
lea ebx, [ebx]
cmp dword [esi - 0xc], 0
jne 0x42b7b0
lea edx, [edi - 0x10]
lea ebx, [esi - 0x10]
cmp edx, ebx
je 0x42b823
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x42b7a1
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x42b7a1
push edx
call fcn.004251b0
add esp, 4
mov dword [ebp - 0x20], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x42b796
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x42b823
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.00413590
mov esi, dword [ebp - 0x10]
jmp 0x42b823
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42b7d4
push 0x104
lea ecx, [ebp - 0x10]
call fcn.004132e0
mov esi, dword [ebp - 0x10]
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [esi - 8]
push esi
call fcn.00445bfa
add esp, 8
test eax, eax
js 0x42b944
cmp eax, dword [esi - 8]
jg 0x42b944
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b812
test al, 0x10
jne 0x42b823
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42b92f
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
call fcn.004273e0
mov ecx, dword [eax]
lea ebx, [edi - 0x10]
mov byte [ebp - 4], 7
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x42b88f
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x42b880
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x42b880
push edx
call fcn.004251b0
add esp, 4
mov dword [ebp - 0x20], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x42b878
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
jmp 0x42b88f
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00413590
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b8b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi - 0xc]
test ecx, ecx
jne 0x42b750
xor ebx, ebx
lea edx, [esi - 0x10]
mov byte [ebp - 4], 3
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b8dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b8fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x42b91b
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0xb7
cmovne ebx, eax
jmp 0x42b8bd
push 0x80070057
call fcn.00412c60
int3