Function at 0x1001aa60
Capabilities:
Create directory
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x10133154
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x103b2018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
lea eax, [esi + 4]
push eax
mov dword [esi], vtable.CSQLDB.0
call fcn.1001a890
xor edi, edi
lea ecx, [esi + 0x24]
mov dword [esp + 0x30], edi
call dword [0x1013762c]
mov dword [esi + 0x28], vtable.CppSQLite3DB.0
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], 0xea60
lea ebp, [esi + 0x34]
mov ecx, ebp
call dword [0x1013762c]
lea ebx, [esi + 0x38]
mov ecx, ebx
call dword [0x1013762c]
lea ecx, [esi + 0x3c]
call dword [0x1013762c]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea eax, [esi + 0x48]
push 0xfa0
push eax
call edi
lea eax, [esi + 0x60]
push 0xfa0
push eax
call edi
lea ecx, [esi + 0x78]
mov byte [esp + 0x30], 7
call sub.mfc90u.dll_CStringArray::CStringArray
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 8
push ecx
mov dword [esi + 0x44], 0
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_AppGetRunningPath_void_
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x38], 9
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_AppGetAppDataPath_void_
push eax
lea eax, [esp + 0x28]
push eax
mov edi, 0x1036fc38
mov byte [esp + 0x40], 0xa
call fcn.100095f0
add esp, 0x10
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0xc
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
mov edi, str._UACDB
call fcn.100095f0
mov eax, dword [eax]
add esp, 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
sete byte [esp + 0x17]
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [esp + 0x17], 0
je 0x1001ab9c
lea ecx, [esp + 0x1c]
push ecx
jmp 0x1001aba1
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
call dword [0x101375f4]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
mov edi, str._UACDB
call fcn.100095f0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea edx, [esp + 0x24]
push ebp
push edx
mov edi, 0x1036fc58
call fcn.100095f0
add esp, 8
push eax
mov ecx, ebp
mov byte [esp + 0x34], 0xd
call dword [0x101375f4]
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 0xc
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x24]
push ebp
push eax
mov edi, str._system.db
call fcn.100095f0
add esp, 8
push eax
mov ecx, ebx
mov byte [esp + 0x34], 0xe
call dword [0x101375f4]
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 0xc
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, esi
call fcn.1001e950
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4