Function at 0x10006a90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.1000f410
mov eax, dword [0x1002e678]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1002fd50
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x400
push 0
push 0x1002fd70
call fcn.1000fc30
push 0x3ff
lea eax, [ebp - 0x803]
push 0
push eax
mov byte [ebp - 0x804], 0
call fcn.1000fc30
add esp, 0x18
lea eax, [ebp - 0x804]
push 0x2800
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ecx, ecx
jmp 0x10006b00
mov al, byte [ebp + ecx - 0x804]
mov byte [ecx + 0x1002fd70], al
lea ecx, [ecx + 1]
test al, al
jne 0x10006b00
push ebx
push esi
push edi
push 0x5c
push 0x1002fd70
call fcn.10010170
mov edx, eax
add esp, 8
mov ebx, 0x1002fd70
test edx, edx
je 0x10006b73
mov ecx, dword [str.LogABC]
mov dword [edx + 1], ecx
mov cx, word [0x10023974]
mov word [edx + 5], cx
mov al, byte [0x10023976]
push 0
push ebx
mov byte [edx + 7], al
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x10006b60
mov ax, word [0x10023978]
mov word [edi], ax
push 0x3ff
lea eax, [ebp - 0xc03]
push 0
push eax
mov byte [ebp - 0xc04], 0
call fcn.1000fc30
lea eax, [ebp - 0x100c]
push eax
call fcn.10010d9b
lea eax, [ebp - 0x100c]
push eax
call fcn.10010afe
push dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc ecx
push ecx
add eax, 0x76c
push eax
lea eax, [ebp - 0xc04]
push str._d__02d__02d
push eax
call fcn.1001086c
lea edx, [ebp - 0xc04]
add esp, 0x28
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10006bd2
sub edx, esi
lea edi, [ebx - 1]
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10006be0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
dec ebx
mov al, byte [ebx + 1]
lea ebx, [ebx + 1]
test al, al
jne 0x10006bf7
mov eax, dword [str..log]
mov dword [ebx], eax
mov al, byte [0x10023990]
push 0x10023994
push 0x1002fd70
mov byte [ebx + 4], al
call fcn.100105e5
add esp, 8
mov dword [0x1002fd68], eax
test eax, eax
je 0x10006d13
lea eax, [ebp - 0x100c]
push eax
call fcn.10010d9b
lea eax, [ebp - 0x100c]
push eax
call fcn.10010afe
push 0x400
mov esi, eax
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.1000fc30
push dword [esi]
lea eax, [ebp - 0x404]
push dword [esi + 4]
push dword [esi + 8]
push str.__02d:_02d:_02d_
push eax
call fcn.1001086c
push 0x3ff
lea eax, [ebp - 0x1003]
push 0
push eax
mov byte [ebp - 0x1004], 0
call fcn.1000fc30
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1004]
push eax
call fcn.10010970
lea edx, [ebp - 0x1004]
add esp, 0x40
mov esi, edx
lea ecx, [ecx]
mov al, byte [edx]
inc edx
test al, al
jne 0x10006cb0
lea edi, [ebp - 0x404]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10006cc0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x404]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x10006ce0
mov ax, word [0x100239ac]
push dword [0x1002fd68]
mov word [edi], ax
lea eax, [ebp - 0x404]
push eax
call fcn.100105fa
push dword [0x1002fd68]
call fcn.10010313
add esp, 0xc
push 0x1002fd50
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ef85
mov esp, ebp
pop ebp
ret