Function at 0x10009750
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029489
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x10035080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 7
jbe 0x1000979b
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x10009b17
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x10009b37
cmp dword [esi + 0x14], 7
jbe 0x100097c9
mov esi, dword [esi]
push 1
push 0x10031a94
push ecx
push esi
push ecx
push dword [ebp - 0x190]
lea ecx, [ebp - 0x2c]
call fcn.10005c30
push 0xb0
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.1000d500
mov edx, dword [ebp - 0x1c]
mov esi, SysReAllocString
mov ecx, dword [ebx + 0x10]
mov eax, esi
sub eax, edx
add esp, 0xc
cmp eax, ecx
jb 0x10009b3c
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
cmp dword [ebx + 0x14], 7
jbe 0x10009825
mov ebx, dword [ebx]
push ecx
push ebx
push edx
push eax
push ecx
push dword [ebp - 0x190]
lea ecx, [ebp - 0x1a8]
call fcn.10005c30
sub esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1a8]
lea ecx, [ebp - 0x18c]
push 8
push eax
call fcn.10002ea0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x194]
cmp ecx, 7
jbe 0x1000989a
mov edx, dword [ebp - 0x1a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009890
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009b41
push ecx
push edx
call fcn.1000bb5e
add esp, 8
xor eax, eax
mov dword [ebp - 0x198], 0
push 0xb0
push eax
mov word [ebp - 0x1a8], ax
lea eax, [ebp - 0xdc]
push eax
mov dword [ebp - 0x194], 7
call fcn.1000d500
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [edi + 0x10]
sub esi, edx
cmp esi, ecx
jb 0x10009b46
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
cmp dword [edi + 0x14], 7
jbe 0x100098ef
mov edi, dword [edi]
push ecx
push edi
push edx
push eax
push ecx
push dword [ebp - 0x190]
lea ecx, [ebp - 0x1c0]
call fcn.10005c30
sub esp, 8
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1c0]
lea ecx, [ebp - 0xdc]
push 8
push eax
call fcn.10002ea0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1ac]
cmp ecx, 7
jbe 0x10009964
mov edx, dword [ebp - 0x1c0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000995a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009b4b
push ecx
push edx
call fcn.1000bb5e
add esp, 8
xor eax, eax
mov dword [ebp - 0x1b0], 0
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x1ac], 7
mov word [ebp - 0x1c0], ax
call fcn.10005120
test eax, eax
jne 0x100099b9
mov eax, dword [ebp - 0x18c]
lea ecx, [ebp - 0x18c]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10007240
lea ecx, [ebp - 0xd8]
call fcn.10005120
test eax, eax
jne 0x100099f1
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xdc]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10007240
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xd8]
call fcn.10004590
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe0], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 8
push eax
mov dword [ebp - 0x74], vtable.std::ios_base.0
call fcn.1000b0cb
mov eax, dword [ebp - 0x18c]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x190], eax
lea ecx, [ebp - 0x188]
call fcn.10004590
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x190], eax
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1000b0cb
mov ecx, dword [ebp - 0x18]
add esp, 4
cmp ecx, 7
jbe 0x10009b0d
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009b03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009b50
push ecx
push edx
call fcn.1000bb5e
add esp, 8
mov al, 1
jmp 0x10009b19
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000bb50
mov esp, ebp
pop ebp
ret 0xc
call fcn.10008160
call fcn.10008160
call fcn.100109ef
call fcn.10008160
call fcn.100109ef
call fcn.100109ef
int3