Function at 0x40d4d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov dword [ebp - 0x2c], 0x10
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e8de9
add esp, 4
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
mov byte [ecx], 0x1b
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
mov byte [eax], 0xa4
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x24]
mov byte [edx], 0
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
mov byte [ecx], 0xc
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
mov byte [eax], 0x50
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x24]
mov byte [edx], 0xe0
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
mov byte [ecx], 0x82
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
mov byte [eax], 0xc2
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x24]
mov byte [edx], 0x45
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
mov dl, byte [ebp - 0x1c]
mov byte [ecx], dl
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
mov dl, byte [ebp - 0x1b]
mov byte [ecx], dl
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1a]
and eax, 0xffff
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
mov byte [ecx], al
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x1a]
and eax, 0xffff
and eax, 0x800000ff
jns 0x40d628
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
mov byte [ecx], al
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
mov cl, byte [ebp - 0x18]
mov byte [eax], cl
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
mov cl, byte [ebp - 0x17]
mov byte [eax], cl
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
mov byte [eax], 0
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
call fcn.0040883f
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40d6a0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
push eax
call fcn.004e8e12
add esp, 4
xor eax, eax
jmp 0x40d7bf
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.004089d2
mov dword [ebp - 0x28], eax
xor eax, eax
mov ax, word [0x539af6]
test eax, eax
je 0x40d6ed
push str._RCP____Set_Locale___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x28]
push ecx
push 0x51a2ac
lea edx, [ebp - 0xac]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
push edx
call fcn.004e8e12
add esp, 4
push 0x5dc
call fcn.0044cfec
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jne 0x40d7aa
mov dword [ebp - 0x2c], 0xa
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e8de9
add esp, 4
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
je 0x40d761
mov eax, dword [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004cf390
add esp, 0xc
jmp 0x40d782
xor edx, edx
mov dx, word [0x539af6]
test edx, edx
je 0x40d779
push str._RCP__Mfp_SetLocale_____Memory_Allocation_error___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00408962
xor eax, eax
jmp 0x40d7bf
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00408a86
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
push eax
call fcn.004e8e12
add esp, 4
call fcn.00408962
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40d7bc
xor eax, eax
jmp 0x40d7bf
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret