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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4568
call fcn.10010670
mov eax, dword [0x1004c024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
mov byte [ebp - 0x4050], 0
push 0x1fff
push 0
lea eax, [ebp - 0x404f]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov byte [ebp - 0x2044], 0
push 0x31
push 0
lea ecx, [ebp - 0x2043]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x2050], 0
mov dword [ebp - 0x204c], 0
lea edx, [ebp + 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4050]
push edx
call dword [sym.imp.ntdll.dll_vsprintf]
add esp, 0xc
mov dword [ebp - 8], 0
mov byte [ebp - 0x2010], 0
push 0x1fff
push 0
lea eax, [ebp - 0x200f]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x4050]
push ecx
lea edx, [ebp - 0x2010]
push edx
call sub.ntdll.dll_strcpy
add esp, 8
push 0
call fcn.100320c0
add esp, 4
mov dword [ebp - 0x2050], eax
mov dword [ebp - 0x204c], edx
lea eax, [ebp - 0x2050]
push eax
call fcn.100320e0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
add ecx, 1
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
add eax, 0x76c
push eax
push str.__04d__02d__02d__02d:_02d:_02d_
lea ecx, [ebp - 0x2044]
push ecx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0x20
push str..cpp_
lea edx, [ebp - 0x2010]
push edx
call fcn.10002700
add esp, 8
test eax, eax
je 0x1003226e
lea eax, [ebp - 0x2010]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x2044]
push ecx
push str._s___8d__s_r_n
lea edx, [ebp - 0x4050]
push edx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0x14
jmp 0x10032291
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x2044]
push ecx
push str._s_s_r_n
lea edx, [ebp - 0x4050]
push edx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x4050]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0xffffffff
jne 0x100324be
mov byte [ebp - 0x4358], 0
push 0x1ff
push 0
lea edx, [ebp - 0x4357]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
push 0x200
lea eax, [ebp - 0x4358]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x4358]
push ecx
call fcn.10001870
add esp, 8
mov dword [ebp - 0x4054], eax
mov edx, dword [ebp - 0x4054]
mov byte [edx], 0
mov byte [ebp - 0x4560], 0
push 0x1ff
push 0
lea eax, [ebp - 0x455f]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x4358]
push ecx
push str._slog
lea edx, [ebp - 0x4560]
push edx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
push 0
lea eax, [ebp - 0x4560]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x4564], 0
jmp 0x1003235f
mov ecx, dword [ebp - 0x4564]
add ecx, 1
mov dword [ebp - 0x4564], ecx
cmp dword [ebp - 0x4564], 0xffffffff
jae 0x1003241e
mov edx, dword [ebp + 8]
add edx, 8
push edx
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
ja 0x100323ae
push 0x1004333c
mov eax, dword [ebp - 0x4564]
push eax
push 0x10043340
lea ecx, [ebp - 0x4358]
push ecx
push 0x10043344
lea edx, [ebp - 0x4560]
push edx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0x18
jmp 0x100323dd
push 0x10043354
mov eax, dword [ebp - 0x4564]
push eax
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
lea edx, [ebp - 0x4358]
push edx
push str._slog_s_d._s
lea eax, [ebp - 0x4560]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0x18
push 0
push 2
push 3
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x4560]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x4568], eax
cmp dword [ebp - 0x4568], 0xffffffff
je 0x10032417
mov edx, dword [ebp - 0x4568]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10032419
jmp 0x1003241e
jmp 0x10032350
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x4560]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x435c], eax
mov dword [ebp - 0x4058], 0
mov ecx, 0xb
mov esi, str.AOMEI_Backupper_6.7.0_log_is_as_follows:_r_n_r_n
lea edi, [ebp - 0x4158]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0xd3
push 0
lea edx, [ebp - 0x412b]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
push 0
lea eax, [ebp - 0x4058]
push eax
lea ecx, [ebp - 0x4158]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
push eax
lea edx, [ebp - 0x4158]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.10031720
add esp, 4
mov dword [ebp - 0xc], 0
push 2
push 0
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x4050]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
push eax
lea edx, [ebp - 0x4050]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f6c2
mov esp, ebp
pop ebp
ret