Function at 0x40a450
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c554
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x608190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x160], ecx
lea ecx, [ebp - 0x38]
call fcn.00403f20
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00412ab0
movzx eax, al
test eax, eax
jne 0x40a72e
push 1
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00404010
movzx edx, al
test edx, edx
je 0x40a72c
xorpd xmm0, xmm0
movlpd qword [ebp - 0x168], xmm0
lea eax, [ebp - 0x168]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x190], esp
push str.manual_set_max_file_count
call fcn.0042dc20
mov dword [ebp - 0x19c], eax
lea ecx, [ebp - 0x38]
call fcn.00404410
cmp dword [ebp - 0x164], 0
jl 0x40a550
jg 0x40a506
cmp dword [ebp - 0x168], 0
jbe 0x40a550
mov ecx, dword [ebp - 0x168]
push ecx
push str.CDebugLog_manual_set_max_file_count___d
lea edx, [ebp - 0xf8]
push edx
push 0x614354
call fcn.00411a20
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf8]
call fcn.00402620
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf8]
call fcn.00402230
jmp 0x40a5df
xorpd xmm0, xmm0
movlpd qword [ebp - 0x168], xmm0
lea eax, [ebp - 0x168]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x194], esp
push str.soft_set_max_file_count
call fcn.0042dc20
mov dword [ebp - 0x188], eax
lea ecx, [ebp - 0x38]
call fcn.00404410
cmp dword [ebp - 0x164], 0
jl 0x40a5df
jg 0x40a59a
cmp dword [ebp - 0x168], 0
jbe 0x40a5df
mov ecx, dword [ebp - 0x168]
push ecx
push str.CDebugLog_soft_set_max_file_count___d
lea edx, [ebp - 0x98]
push edx
push 0x614354
call fcn.00411a20
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
call fcn.00402620
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.00402230
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x160]
mov dword [ecx + 0x3e4], eax
lea edx, [ebp - 0x159]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x184], esp
push str.enable_debug_view
call fcn.0042dc20
mov dword [ebp - 0x198], eax
lea ecx, [ebp - 0x38]
call fcn.00404640
mov eax, dword [ebp - 0x160]
mov cl, byte [ebp - 0x159]
mov byte [eax + 0x3e8], cl
push 0
lea ecx, [ebp - 0x180]
call fcn.0043b4b0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x180]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a0], esp
push str.filter_debug_file
call fcn.0042dc20
mov dword [ebp - 0x18c], eax
lea ecx, [ebp - 0x38]
call fcn.00404100
mov eax, dword [ebp - 0x160]
mov byte [eax + 0x3e9], 0
push 0x5d9b84
lea ecx, [ebp - 0x180]
call fcn.0043d100
movzx ecx, al
test ecx, ecx
je 0x40a6cd
push 0x5d9b8c
lea ecx, [ebp - 0x180]
call fcn.0043d0a0
mov ecx, eax
call fcn.0043d400
movzx edx, al
test edx, edx
je 0x40a6cd
push 0x5d9b94
lea ecx, [ebp - 0x180]
call fcn.0043d0a0
mov ecx, eax
call fcn.0043c390
mov ecx, dword [ebp - 0x160]
mov byte [ecx + 0x3e9], al
push str.level
lea ecx, [ebp - 0x180]
call fcn.0043d0a0
push eax
mov ecx, dword [ebp - 0x160]
call fcn.0040a960
test eax, eax
je 0x40a71d
push str.module
lea ecx, [ebp - 0x180]
call fcn.0043d0a0
push eax
mov ecx, dword [ebp - 0x160]
call fcn.0040ad70
test eax, eax
je 0x40a71d
mov edx, dword [ebp - 0x160]
mov dword [edx + 0x434], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x180]
call fcn.0043b840
jmp 0x40a77e
push str.CDebugLog::ReadConf_error
lea eax, [ebp - 0x158]
push eax
push 0x614354
call fcn.00411a20
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x170], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x170]
call fcn.00402620
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x158]
call fcn.00402230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00403f80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00558807
mov esp, ebp
pop ebp
ret 4