Function at 0x10001af0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e88
call fcn.1000c280
mov eax, dword [0x10017058]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1e74], ecx
mov eax, dword [ebp - 0x1e74]
mov ecx, dword [ebp + 0x10]
and ecx, dword [eax + 0x20c]
jne 0x10001b23
jmp 0x10001f6e
mov byte [ebp - 0xc08], 0
push 0x7ff
push 0
lea edx, [ebp - 0xc07]
push edx
call fcn.100090d0
add esp, 0xc
mov dword [ebp - 0xc0c], 0xffffffff
mov byte [ebp - 0x408], 0
push 0x3ff
push 0
lea eax, [ebp - 0x407]
push eax
call fcn.100090d0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xc40], cx
xor edx, edx
mov dword [ebp - 0xc3e], edx
mov dword [ebp - 0xc3a], edx
mov dword [ebp - 0xc36], edx
mov word [ebp - 0xc32], dx
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0xc32]
push ecx
movzx edx, word [ebp - 0xc34]
push edx
movzx eax, word [ebp - 0xc36]
push eax
movzx ecx, word [ebp - 0xc38]
push ecx
movzx edx, word [ebp - 0xc3a]
push edx
movzx eax, word [ebp - 0xc3e]
push eax
movzx ecx, word [ebp - 0xc40]
push ecx
push str.__04d__02d__02d__02d:_02d:_02d._03d_
lea edx, [ebp - 0xc08]
push edx
call fcn.10002580
add esp, 0x24
mov byte [ebp - 0xc30], 0
xor eax, eax
mov dword [ebp - 0xc2f], eax
mov dword [ebp - 0xc2b], eax
mov dword [ebp - 0xc27], eax
mov dword [ebp - 0xc23], eax
mov dword [ebp - 0xc1f], eax
mov dword [ebp - 0xc1b], eax
mov dword [ebp - 0xc17], eax
mov word [ebp - 0xc13], ax
mov byte [ebp - 0xc11], al
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc10], eax
mov ecx, dword [ebp - 0xc10]
push ecx
push str.__d_
lea edx, [ebp - 0xc30]
push edx
call fcn.100025b0
add esp, 0xc
lea eax, [ebp - 0xc30]
push eax
lea ecx, [ebp - 0xc08]
push ecx
call fcn.100025e0
add esp, 8
mov byte [ebp - 0xc60], 0
xor edx, edx
mov dword [ebp - 0xc5f], edx
mov dword [ebp - 0xc5b], edx
mov dword [ebp - 0xc57], edx
mov dword [ebp - 0xc53], edx
mov dword [ebp - 0xc4f], edx
mov dword [ebp - 0xc4b], edx
mov dword [ebp - 0xc47], edx
mov word [ebp - 0xc43], dx
mov byte [ebp - 0xc41], dl
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1e78], eax
mov ecx, dword [ebp - 0x1e78]
sub ecx, 1
mov dword [ebp - 0x1e78], ecx
cmp dword [ebp - 0x1e78], 0x3f
ja case.0x10001cd3.2
mov edx, dword [ebp - 0x1e78]
movzx eax, byte [edx + 0x10001fa0]
jmp dword [eax*4 + 0x10001f80]
push str._debug_
lea ecx, [ebp - 0xc60]
push ecx
call fcn.10002600
add esp, 8
jmp 0x10001d8e
push str._info_
lea edx, [ebp - 0xc60]
push edx
call fcn.10002600
add esp, 8
jmp 0x10001d8e
push str._warning_
lea eax, [ebp - 0xc60]
push eax
call fcn.10002600
add esp, 8
jmp 0x10001d8e
push str._error_
lea ecx, [ebp - 0xc60]
push ecx
call fcn.10002600
add esp, 8
jmp 0x10001d8e
push str._dump_
lea edx, [ebp - 0xc60]
push edx
call fcn.10002600
add esp, 8
jmp 0x10001d8e
push str._perf_
lea eax, [ebp - 0xc60]
push eax
call fcn.10002600
add esp, 8
jmp 0x10001d8e
push str._sep_
lea ecx, [ebp - 0xc60]
push ecx
call fcn.10002600
add esp, 8
jmp 0x10001d8e
push 0x10014d94
lea edx, [ebp - 0xc60]
push edx
call fcn.10002600
add esp, 8
lea eax, [ebp - 0xc60]
push eax
lea ecx, [ebp - 0xc08]
push ecx
call fcn.100025e0
add esp, 8
cmp dword [ebp + 0x10], 0x10
jne 0x10001dac
jmp 0x10001df7
cmp dword [ebp + 0x14], 0
jne 0x10001dc8
push 0x10014d98
lea edx, [ebp - 0xc08]
push edx
call fcn.100025e0
add esp, 8
jmp 0x10001e13
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x3ff
lea edx, [ebp - 0x408]
push edx
call fcn.10001000
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0xc08]
push ecx
call fcn.100025e0
add esp, 8
push 0x10014d98
lea edx, [ebp - 0xc08]
push edx
call fcn.100025e0
add esp, 8
xor eax, eax
jne 0x10001b67
mov ecx, dword [ebp - 0x1e74]
cmp dword [ecx], 0xffffffff
je 0x10001f6e
lea edx, [ebp - 0xc08]
mov dword [ebp - 0x1e7c], edx
mov eax, dword [ebp - 0x1e7c]
add eax, 1
mov dword [ebp - 0x1e80], eax
mov ecx, dword [ebp - 0x1e7c]
mov dl, byte [ecx]
mov byte [ebp - 0x1e81], dl
add dword [ebp - 0x1e7c], 1
cmp byte [ebp - 0x1e81], 0
jne 0x10001e3d
mov eax, dword [ebp - 0x1e7c]
sub eax, dword [ebp - 0x1e80]
mov dword [ebp - 0x1e88], eax
je 0x10001f6e
xor ecx, ecx
mov word [ebp - 0x1c68], cx
push 0xffe
push 0
lea edx, [ebp - 0x1c66]
push edx
call fcn.100090d0
add esp, 0xc
push 0x7ff
lea eax, [ebp - 0x1c68]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0xc08]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0xc64], eax
cmp dword [ebp - 0xc64], 0
jle 0x10001f6e
push 0
push 0
push 0x7ff
lea edx, [ebp - 0xc08]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x1c68]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0xc64], eax
cmp dword [ebp - 0xc64], 0
jle 0x10001f6e
push 0
lea ecx, [ebp - 0x1c6c]
push ecx
mov edx, dword [ebp - 0xc64]
sub edx, 1
push edx
lea eax, [ebp - 0xc08]
push eax
mov ecx, dword [ebp - 0x1e74]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x1c70], eax
cmp dword [ebp - 0x1c70], 0
jne 0x10001f59
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile_failed__GLE:__d_r_n
lea eax, [ebp - 0x1e70]
push eax
call fcn.10002550
add esp, 0xc
lea ecx, [ebp - 0x1e70]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp + 0x10], 8
jne 0x10001f6e
mov edx, dword [ebp - 0x1e74]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000261e
mov esp, ebp
pop ebp
ret 0x14