Function at 0x1007e830
Capabilities:
Create directory
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010196d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x9f4
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1007eba4
cmp dword [ebp + 0xc], 0
je 0x1007eba4
mov eax, dword [ebp + 0xc]
push eax
call fcn.100cb090
add esp, 4
test eax, eax
jbe 0x1007eba4
mov ecx, dword [ebp + 8]
push ecx
call fcn.100cb090
add esp, 4
test eax, eax
jbe 0x1007eba4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x85c], 0
push 0
push 0
push 0
lea ecx, [ebp - 0x750]
call sub.IntStngs.dll_public:_void___thiscall_CIntelSettings::constructor_enum_IT_SETTING_LOC__unsigned_long_int__int_
mov dword [ebp - 0x9fc], eax
mov byte [ebp - 4], 1
push 0x104
lea edx, [ebp - 0x858]
push edx
push 0
lea ecx, [ebp - 0x750]
call sub.IntStngs.dll_public:_long_int___thiscall_CIntelSettings::GetSetting_enum_INTEL_SETTING__char___unsigned_long_int_
mov dword [ebp - 0xa00], eax
cmp dword [ebp - 0xa00], 0
jl 0x1007ea29
lea eax, [ebp - 0x858]
push eax
call fcn.100cb090
add esp, 4
mov dword [ebp - 0x860], eax
lea ecx, [ebp - 0x858]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0xffffffffffffffff
push 0x10135bf8
push 0x104
lea edx, [ebp - 0x858]
push edx
call fcn.10003fc0
add esp, 0x10
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.100d2739
add esp, 8
cmp eax, 0xffffffff
jne 0x1007e967
push 0
lea ecx, [ebp - 0x858]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x85c], eax
jmp 0x1007e971
mov dword [ebp - 0x85c], 1
cmp dword [ebp - 0x85c], 0
je 0x1007ea29
mov dword [ebp - 0x85c], 0
lea edx, [ebp - 0x858]
push edx
call fcn.100cb090
add esp, 4
mov dword [ebp - 0x860], eax
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0xffffffffffffffff
push 0x10135c00
push 0x104
lea ecx, [ebp - 0x858]
push ecx
call fcn.10003fc0
add esp, 0x10
push 0
lea edx, [ebp - 0x858]
push edx
call fcn.100d2739
add esp, 8
cmp eax, 0xffffffff
jne 0x1007ea1f
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x864], eax
cmp dword [ebp - 0x864], 0xffffffff
je 0x1007ea1d
mov dword [ebp - 0x85c], 1
mov ecx, dword [ebp - 0x864]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1007ea29
mov dword [ebp - 0x85c], 1
cmp dword [ebp - 0x85c], 0
je 0x1007eb95
push 0x10135c10
lea edx, [ebp - 0x858]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.100d2662
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x1007eb95
push 0x104
push 0
lea ecx, [ebp - 0x9e8]
push ecx
call fcn.100cac20
add esp, 0xc
push 0xffffffffffffffff
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x9e8]
push eax
call fcn.10003fa0
add esp, 0x10
mov ecx, dword [0x1013322c]
push ecx
lea edx, [ebp - 0x9e8]
push edx
call fcn.10053530
add esp, 8
mov dword [ebp - 0xa04], eax
cmp dword [ebp - 0xa04], 0
jne 0x1007eac9
push 0xffffffffffffffff
mov eax, dword [0x1013322c]
push eax
push 0x104
lea ecx, [ebp - 0x9e8]
push ecx
call fcn.10003fc0
add esp, 0x10
lea ecx, [ebp - 0x9ec]
call fcn.10008b40
mov byte [ebp - 4], 2
cmp dword [ebp + 0x10], 0
jl 0x1007eafc
lea edx, [ebp - 0x9e8]
push edx
mov eax, dword [ebp + 8]
push eax
push 0xb
lea ecx, [ebp - 0x9ec]
push ecx
call fcn.10080340
add esp, 0x10
jmp 0x1007eb11
mov edx, dword [ebp + 8]
push edx
push 0xc
lea eax, [ebp - 0x9ec]
push eax
call fcn.10080340
add esp, 0xc
mov dword [ebp - 0x8d4], 0x64
lea ecx, [ebp - 0x8d4]
push ecx
lea edx, [ebp - 0x8d0]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x8e0]
push eax
call fcn.100d2573
add esp, 4
lea ecx, [ebp - 0x9f8]
push ecx
call fcn.100d24ba
add esp, 4
mov edx, dword [ebp - 0x9ec]
push edx
lea eax, [ebp - 0x8d0]
push eax
lea ecx, [ebp - 0x8e0]
push ecx
lea edx, [ebp - 0x9f8]
push edx
push 0x10135c14
mov eax, dword [ebp - 0x14]
push eax
call fcn.100d2243
add esp, 0x18
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100d21c7
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9ec]
call fcn.10008b60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x750]
call sub.IntStngs.dll_public:_void___thiscall_CIntelSettings::destructor_void_
jmp 0x1007ebb3
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret