Function at 0x408db9
Capabilities:
Create directory
Query environment variable

Disassembly:
jmp 0x4256d0
push 0xffffffffffffffff
push 0x77826d
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1a0]
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0x14], ebx
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
push 0x12
push 0x7adcd0
lea ecx, [esp + 0x74]
mov dword [esp + 0x1a0], ebx
call fcn.00405920
push 0x23
push str._ALLUSERSPROFILE_Application_Data_
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00405920
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1a4], 1
call fcn.00401e38
mov eax, dword [esp + 0x54]
mov ebp, 0x10
cmp dword [esp + 0x68], ebp
jae 0x42578e
lea eax, [esp + 0x54]
push 0x104
lea ecx, [esp + 0x8c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x42584c
push ebx
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0x88]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4257d0
sub eax, edx
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00405920
push 0x5c
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], 2
call fcn.0040323d
push 0x15
push str.KeepMyFamilySecure.db
lea ecx, [esp + 0x3c]
call fcn.004021c6
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00403fb2
cmp dword [esp + 0x4c], ebp
jb 0x42583b
mov edx, dword [esp + 0x38]
push edx
call fcn.00564155
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jmp 0x4258de
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.004083af
push eax
lea eax, [esp + 0x40]
push str.CDataManager::GetDBPath___Failed_to_expand_with_error:
push eax
mov byte [esp + 0x1ac], 3
call fcn.00404cfa
add esp, 0x14
push ebx
push eax
mov byte [esp + 0x1a0], 4
call fcn.004024eb
mov ecx, eax
call fcn.004020ae
cmp dword [esp + 0x4c], ebp
jb 0x4258a1
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00564155
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x198], 1
cmp dword [esp + 0x30], ebp
jb 0x4258c8
mov edx, dword [esp + 0x1c]
push edx
call fcn.00564155
add esp, 4
push ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0x7ab86f
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00405920
cmp dword [esp + 0x68], ebp
jb 0x4258f1
mov eax, dword [esp + 0x54]
push eax
call fcn.00564155
add esp, 4
mov byte [esp + 0x54], bl
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
cmp dword [esp + 0x84], ebp
jb 0x425913
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00564155
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.00564b24
add esp, 0x188
ret