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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089500
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x100c90c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x28], vtable.CStringBufferW.0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x48], vtable.CStringBufferW.0
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.10029e20
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 3
call fcn.10044480
mov byte [ebp - 4], 4
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10029bba
push dword [eax + 4]
mov dword [ebp - 0x1c], ebx
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
call fcn.1003ea90
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x24]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], vtable.CStringBufferW.0
test eax, eax
je 0x10029bd5
push eax
call fcn.1006eaef
add esp, 4
test edi, edi
je 0x10029cf4
test ebx, ebx
je 0x10029cf4
mov dword [ebp - 0x18], vtable.CFileHandler.0
mov byte [ebp - 4], 5
cmp dword [0x100f2570], 0
jne 0x10029cf4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10029c19
push eax
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x10029cf4
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x10029c4e
test eax, eax
je 0x10029c30
push eax
call fcn.1006eaef
add esp, 4
push ebx
push edi
mov ecx, esi
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
call fcn.1003ea90
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10029c85
mov eax, dword [esi + 4]
test eax, eax
jle 0x10029c7d
lea ecx, [eax - 1]
cmp ecx, eax
jae 0x10029c74
mov eax, dword [esi + 0xc]
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x10029c7d
cmp eax, 0x2f
je 0x10029c7d
push 0x5c
mov ecx, esi
call fcn.1003eea0
push ebx
mov ecx, esi
call fcn.1003ef80
mov eax, dword [esi + 4]
test eax, eax
jle 0x10029cad
lea ecx, [eax - 1]
cmp ecx, eax
jae 0x10029ca4
mov eax, dword [esi + 0xc]
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x10029cad
cmp eax, 0x2f
je 0x10029cad
push 0x5c
mov ecx, esi
call fcn.1003eea0
push str.Logs
mov ecx, esi
call fcn.1003ef80
cmp dword [0x100f2570], 0
mov ebx, dword [esi + 0xc]
jne 0x10029cf4
test ebx, ebx
je 0x10029cf4
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10029ce1
push eax
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x10029cf4
push str.CT_internal
mov ecx, esi
call fcn.1003ef30
mov esi, 1
jmp 0x10029cf6
xor esi, esi
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], vtable.CStringBufferW.0
test eax, eax
je 0x10029d0d
push eax
call fcn.1006eaef
add esp, 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], vtable.CSeed.0
test edi, edi
je 0x10029d36
push edi
call fcn.1006eaef
add esp, 4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10029d44
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4