Function at 0x10011c20
Capabilities:
Create directory
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100380b6
mov eax, dword fs:[0]
push eax
sub esp, 0xef4
mov eax, dword [0x10063b60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xa3c], 0
push 0xa27
push 0
lea eax, [ebp - 0xa3b]
push eax
call fcn.100237f0
add esp, 0xc
mov ecx, dword [0x100522a4]
mov dword [ebp - 0xa3c], ecx
mov edx, dword [0x100522a8]
mov dword [ebp - 0xa38], edx
mov eax, dword [0x100522ac]
mov dword [ebp - 0xa34], eax
mov cl, byte [0x100522b0]
mov byte [ebp - 0xa30], cl
lea edx, [ebp + 0xc]
mov dword [ebp - 0xa40], edx
mov eax, dword [ebp - 0xa40]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, 1
imul edx, edx, 0xc
lea eax, [ebp + edx - 0xa3c]
push eax
call fcn.10021016
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xa40], 0
lea ecx, [ebp - 0xa3c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x100522b4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, 1
test edx, edx
je 0x1001206d
lea eax, [ebp - 0xa9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0xa8c]
call fcn.100070e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8c]
call fcn.10003240
lea ecx, [ebp - 0xa8c]
call fcn.10006810
movzx ecx, al
test ecx, ecx
je 0x10011eaf
mov byte [ebp - 0xba4], 0
push 0x103
push 0
lea edx, [ebp - 0xba3]
push edx
call fcn.100237f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0xba4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0xba4]
push ecx
lea ecx, [ebp - 0xa8c]
call fcn.10003820
push 0x5c
lea ecx, [ebp - 0xa8c]
call fcn.10005070
mov dword [ebp - 0xbc8], eax
mov edx, dword [ebp - 0xbc8]
add edx, 1
push edx
lea eax, [ebp - 0xed8]
push eax
lea ecx, [ebp - 0xa8c]
call fcn.1000fca0
mov dword [ebp - 0xedc], eax
mov ecx, dword [ebp - 0xedc]
mov dword [ebp - 0xee0], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xee0]
push edx
lea ecx, [ebp - 0xa8c]
call fcn.10006ce0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xed8]
call fcn.10007040
push str.AppLog
lea ecx, [ebp - 0xa8c]
call fcn.10006b60
push 0
lea ecx, [ebp - 0xa8c]
call fcn.10002ef0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movzx eax, word [ebp - 0xa96]
push eax
movzx ecx, word [ebp - 0xa9a]
push ecx
movzx edx, word [ebp - 0xa9c]
push edx
push 0x100522c0
lea eax, [ebp - 0xbc4]
push eax
call fcn.10020a09
add esp, 0x14
lea ecx, [ebp - 0xbc4]
push ecx
lea ecx, [ebp - 0xa8c]
call fcn.10006b60
push 0
lea ecx, [ebp - 0xa8c]
call fcn.10002ef0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp - 0xcd4], 0
push 0x103
push 0
lea edx, [ebp - 0xcd3]
push edx
call fcn.100237f0
add esp, 0xc
movzx eax, word [ebp - 0xa96]
push eax
movzx ecx, word [ebp - 0xa9a]
push ecx
movzx edx, word [ebp - 0xa9c]
push edx
push str.Configv3__04d__02d__02d.log
lea eax, [ebp - 0xcd4]
push eax
call fcn.10020a09
add esp, 0x14
lea ecx, [ebp - 0xcd4]
push ecx
lea ecx, [ebp - 0xa8c]
call fcn.10006b60
mov byte [ebp - 0xa84], 0
push 0x3f
push 0
lea edx, [ebp - 0xa83]
push edx
call fcn.100237f0
add esp, 0xc
movzx eax, word [ebp - 0xa8e]
push eax
movzx ecx, word [ebp - 0xa90]
push ecx
movzx edx, word [ebp - 0xa92]
push edx
movzx eax, word [ebp - 0xa94]
push eax
movzx ecx, word [ebp - 0xa96]
push ecx
movzx edx, word [ebp - 0xa9a]
push edx
movzx eax, word [ebp - 0xa9c]
push eax
push str._04d__02d__02d__02d:_02d:_02d:_03d
lea ecx, [ebp - 0xa84]
push ecx
call fcn.10020a09
add esp, 0x24
push 0x10052318
push 0
lea ecx, [ebp - 0xa8c]
call fcn.100035a0
push eax
call fcn.100213ff
add esp, 8
mov dword [ebp - 0xa88], eax
cmp dword [ebp - 0xa88], 0
je 0x1001205b
mov byte [ebp - 0xed4], 0
push 0x1ff
push 0
lea edx, [ebp - 0xed3]
push edx
call fcn.100237f0
add esp, 0xc
lea eax, [ebp - 0xa84]
mov dword [ebp - 0xee4], eax
mov ecx, dword [ebp - 0xee4]
add ecx, 1
mov dword [ebp - 0xee8], ecx
mov edx, dword [ebp - 0xee4]
mov al, byte [edx]
mov byte [ebp - 0xee9], al
add dword [ebp - 0xee4], 1
cmp byte [ebp - 0xee9], 0
jne 0x10011f7b
mov ecx, dword [ebp - 0xee4]
sub ecx, dword [ebp - 0xee8]
mov dword [ebp - 0xef0], ecx
mov edx, dword [ebp - 0xa88]
push edx
mov eax, dword [ebp - 0xef0]
push eax
push 1
lea ecx, [ebp - 0xa84]
push ecx
call fcn.100221df
add esp, 0x10
lea edx, [ebp - 0xa3c]
mov dword [ebp - 0xef4], edx
mov eax, dword [ebp - 0xef4]
add eax, 1
mov dword [ebp - 0xef8], eax
mov ecx, dword [ebp - 0xef4]
mov dl, byte [ecx]
mov byte [ebp - 0xef9], dl
add dword [ebp - 0xef4], 1
cmp byte [ebp - 0xef9], 0
jne 0x10011fe5
mov eax, dword [ebp - 0xef4]
sub eax, dword [ebp - 0xef8]
mov dword [ebp - 0xf00], eax
mov ecx, dword [ebp - 0xa88]
push ecx
mov edx, dword [ebp - 0xf00]
push edx
push 1
lea eax, [ebp - 0xa3c]
push eax
call fcn.100221df
add esp, 0x10
mov ecx, dword [ebp - 0xa88]
push ecx
push 1
push 1
push 0x1005231c
call fcn.100221df
add esp, 0x10
mov edx, dword [ebp - 0xa88]
push edx
call fcn.100214e0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8c]
call fcn.10007040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10020358
mov esp, ebp
pop ebp
ret