Function at 0x40b691
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48df10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jg 0x40b518
jmp 0x40b8e3
push 0x2800
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x44
push ecx
call fcn.00472500
add esp, 0xc
push 0x2800
push 0
mov edx, dword [ebp + 8]
add edx, 0x2844
push edx
call fcn.00472500
add esp, 0xc
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x27ff
mov eax, dword [ebp + 8]
add eax, 0x44
push eax
call fcn.00473386
add esp, 0x10
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0x4951f4
mov ecx, dword [ebp + 8]
add ecx, 0x44
push ecx
call fcn.00473300
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40b5a6
push 0x25
push 0x2a
mov edx, dword [ebp - 0x10]
push edx
call fcn.00472500
add esp, 0xc
jmp 0x40b5a8
jmp 0x40b5aa
jmp 0x40b577
mov byte [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov byte [ebp - 0x17], al
push 0x19
push str._cIC
lea ecx, [ebp - 0x20]
push ecx
call fcn.0047329d
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
add eax, 0x44
push eax
call fcn.00473300
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40b79c
push 0x2800
push 0
push 0x4c56c8
call fcn.00472500
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x44
push ecx
push 0x4c56c8
call fcn.00471b70
add esp, 8
mov byte [ebp - 0x2c], 0
xor edx, edx
mov dword [ebp - 0x2b], edx
push 4
mov eax, dword [ebp - 0x10]
sub eax, 4
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004721c0
add esp, 0xc
lea edx, [ebp - 0x2c]
push edx
call fcn.00472560
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x40b650
cmp dword [ebp - 0x24], 0x10e
jl 0x40b657
mov dword [ebp - 0x24], 0x10e
mov eax, dword [ebp - 0x24]
add eax, 1
push eax
push 0x2a
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00472500
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
push 0x4c56c8
call fcn.00473300
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40b788
mov eax, dword [ebp - 0x10]
mov byte [eax - 1], 0
push 0x7c
push 0x4c56c8
call fcn.00473270
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40b788
mov ecx, dword [ebp - 0x30]
mov byte [ecx], 0x2a
mov dword [ebp - 0x34], 0
push 0x7c
push 0x4c56c8
call fcn.00473270
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x40b728
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
jle 0x40b728
mov dword [ebp - 0x3c], 0
jmp 0x40b6f3
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x34]
jge 0x40b706
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x3c]
mov byte [edx], 0x2a
jmp 0x40b6ea
push 0x4c56c8
call fcn.00472b80
add esp, 4
push eax
push 0x4c56c8
mov eax, dword [ebp + 8]
add eax, 0x44
push eax
call fcn.004721c0
add esp, 0xc
cmp dword [ebp - 0x34], 0x41
jge 0x40b788
mov ecx, dword [ebp - 0x30]
sub ecx, 0x4c56c8
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0x41
jle 0x40b755
push 0x41
push 0x2a
mov edx, dword [ebp - 0x30]
sub edx, 0x41
push edx
call fcn.00472500
add esp, 0xc
jmp 0x40b766
push 0x41
push 0x2a
push 0x4c56c8
call fcn.00472500
add esp, 0xc
push 0x4c56c8
call fcn.00472b80
add esp, 4
push eax
push 0x4c56c8
mov eax, dword [ebp + 8]
add eax, 0x44
push eax
call fcn.004721c0
add esp, 0xc
push 0x2800
push 0
push 0x4c56c8
call fcn.00472500
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp dword [ecx], 1
jne 0x40b8ad
mov edx, dword [ebp + 8]
add edx, 0x5048
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp + 8]
add eax, 0x5044
push eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x504e]
push edx
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x504a]
push ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x5048]
push eax
push str.C:SK_ODTlog_04d_02d_02d__s.txt
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
call fcn.0047329d
add esp, 0x18
push 0x495224
mov edx, dword [ebp + 8]
add edx, 4
push edx
lea ecx, [ebp - 0x44]
call fcn.0040ab20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0045e910
test eax, eax
je 0x40b89c
mov eax, dword [ebp + 8]
add eax, 0x44
push eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x5056]
push edx
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x5054]
push ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x5052]
push eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x5050]
push edx
push str.___02d:_02d:_02d:_03d____s_r_n
mov eax, dword [ebp + 8]
add eax, 0x2844
push eax
call fcn.0047329d
add esp, 0x1c
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x5043], 0
lea ecx, [ebp - 0x44]
call fcn.0045e910
push eax
mov edx, dword [ebp + 8]
add edx, 0x2844
push edx
call fcn.004731fc
add esp, 8
lea ecx, [ebp - 0x44]
call fcn.0045e910
push eax
call fcn.004731a3
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040ab50
jmp 0x40b8c2
mov eax, dword [ebp + 8]
cmp dword [eax], 2
jne 0x40b8c2
mov ecx, dword [ebp + 8]
add ecx, 0x44
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp + 8]
add edx, 0x2844
push edx
call fcn.00408ff0
add esp, 4
mov eax, dword [ebp + 8]
add eax, 0x44
push eax
call fcn.00408ff0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret