Function at 0x10009e50
Capabilities:
Create directory

Disassembly:
push 0x88
mov eax, 0x10057d89
call fcn.10025ad6
mov esi, ecx
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], esi
mov eax, ebx
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], eax
call fcn.1000a34e
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
push 0x1c
cdq
pop edi
idiv edi
mov dword [ebp - 0x8c], ecx
test eax, eax
je 0x1000a1d5
mov al, byte [ebp + 8]
cmp byte [esi + 1], al
jbe 0x10009eb5
call fcn.1000a251
mov byte [esi + 1], bl
jmp 0x1000a1d5
cmp dword [esi + 0x48], 0xffffffff
mov byte [ebp - 0x79], bl
jne 0x1000a0fc
lea edi, [esi + 4]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10009ff8
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.100091a3
cmp dword [edi + 0x14], 8
mov edx, edi
mov eax, dword [edi + 0x10]
jb 0x10009efb
mov edx, dword [edi]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x34], eax
jne 0x10009f1b
push dword [ebp - 0x34]
call fcn.10033e9c
test eax, eax
je 0x10009fe6
lea ecx, [ebp - 0x44]
call fcn.10033e9c
test al, al
jne 0x10009fe6
lea ecx, [ebp - 0x44]
call fcn.10033e9c
test al, al
jne 0x10009fe6
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ebx
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
jne 0x10009fe6
cmp byte [esi + 0x51], al
jne 0x10009fd4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push edi
push 0x38
mov edx, str.Log_path__s_is_not_valid.__Reverting_to_default_log_path
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.10003278
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10033e9c
push 0xc
pop eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], eax
call fcn.10002797
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10033e9c
lea ecx, [ebp - 0x5c]
call fcn.10002797
push ecx
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
movzx eax, byte [ebp + 8]
push eax
call fcn.10009b59
lea ecx, [ebp - 0x2c]
call fcn.10002797
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10009fde
mov eax, dword [edi]
xor ecx, ecx
mov dword [edi + 0x10], ebx
mov word [eax], cx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.10002797
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x1000a036
mov ecx, edi
call fcn.10033e9c
xor eax, eax
mov dword [ebp - 0x1c], ebx
push 0x10069cb4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.10033e9c
push edi
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.10001d8c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.10002797
mov ecx, esi
call fcn.10009d3c
mov ecx, edi
call fcn.10033e9c
test al, al
je 0x1000a091
sub esp, 0xc
lea ecx, [esi + 0x28]
push ebx
push edi
call fcn.1000930a
xor eax, eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 5
push eax
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x60], 0x32
push dword [eax]
push ecx
mov ecx, eax
call fcn.10033e9c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.10002797
jmp 0x1000a0f9
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
sub esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [esi + 0x28]
push 1
push edi
call fcn.1000930a
mov dword [ebp - 4], 6
jmp 0x1000a0e4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.10002797
cmp byte [ebp - 0x79], 0
jne 0x1000a180
mov al, byte [ebp + 8]
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
mov dword [ebp - 0x80], ecx
jmp 0x1000a163
cmp byte [edi], al
ja 0x1000a160
cmp dword [edi + 0x18], 8
lea edx, [edi + 4]
jb 0x1000a116
mov edx, dword [edx]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10009116
or dword [ebp - 0x84], 0x10
push 2
push 0x10069e84
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.10033e9c
lea ecx, [ebp - 0x2c]
lea eax, [esi + 0x28]
push ecx
mov ecx, eax
call fcn.10033e9c
test al, al
je 0x1000a169
lea ecx, [ebp - 0x2c]
mov byte [esi + 0x50], 1
mov byte [ebp - 4], bl
call fcn.1000838c
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0x80]
add edi, 0x1c
cmp edi, ecx
jne 0x1000a107
jmp 0x1000a180
lea ecx, [esi + 0x28]
call fcn.10009470
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x79], 1
mov byte [ebp - 4], bl
call fcn.1000838c
mov ecx, dword [ebp - 0x8c]
call fcn.1000a251
cmp byte [ebp - 0x79], 0
mov byte [esi + 1], bl
je 0x1000a1d5
xor eax, eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov al, byte [ebp + 8]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
push str.A_logging_failure_has_occured._The_process_has_encountered_an_error_when_writing_to_the_log_file._The_messages_in_the_log_file_may_not_be_complete.
mov byte [ebp - 0x60], al
call fcn.10033e9c
lea eax, [ebp - 0x60]
push eax
lea ecx, [esi + 0x1c]
push dword [ecx]
lea eax, [ebp - 0x80]
push eax
call fcn.10033e9c
lea ecx, [ebp - 0x5c]
call fcn.10002797
lea ecx, [ebp - 0x94]
call fcn.10033e9c
call fcn.10025a27
ret 4