Function at 0x40a9c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b21f0
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x639210]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x4c], xmm0
mov byte [ebp - 0x44], 0
and dword [ebp - 0x44], 0xfffffeff
movq qword [ebp - 0x2c], xmm0
movdqu xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
mov dword [ebp - 4], 1
cmp dword [eax + 0x10], 0
je 0x40ac0d
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403e10
test al, al
je 0x40ac40
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movlpd qword [ebp - 0x1c], xmm0
push str.manual_set_max_file_count
call fcn.0041db10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004043e0
cmp dword [ebp - 0x18], 0
jl 0x40aa82
mov esi, dword [ebp - 0x1c]
jg 0x40aa7a
test esi, esi
je 0x40aa82
push esi
push str.CDebugLog_manual_set_max_file_count___d
jmp 0x40aaba
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movlpd qword [ebp - 0x1c], xmm0
push str.soft_set_max_file_count
call fcn.0041db10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004043e0
cmp dword [ebp - 0x18], 0
mov esi, dword [ebp - 0x1c]
jl 0x40aaf4
jg 0x40aab4
test esi, esi
je 0x40aaf4
push esi
push str.CDebugLog_soft_set_max_file_count___d
lea eax, [ebp - 0xac]
push eax
push 0x6495d0
call fcn.00410a60
add esp, 0x10
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 8
cmovae eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xac]
call fcn.00402220
sub esp, 0x18
mov dword [0x649a34], esi
mov ecx, esp
push str.enable_debug_view
call fcn.0041db10
lea eax, [ebp - 0xad]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404690
mov al, byte [ebp - 0xad]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x24], xmm0
mov byte [0x649a38], al
psrldq xmm0, 8
movd eax, xmm0
mov dword [ebp - 0x18], 0
and eax, 0xfffffe00
mov dword [ebp - 0x1c], eax
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push str.filter_debug_file
call fcn.0041db10
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403f60
push 0x60428e
push str.enable
lea ecx, [ebp - 0x24]
mov byte [0x649a39], 0
call fcn.00438bc0
test eax, eax
je 0x40abb5
push 0x60428e
push str.enable
lea ecx, [ebp - 0x24]
call fcn.00438980
cmp byte [eax + 8], 5
jne 0x40abb5
push 0x60428e
push str.enable
lea ecx, [ebp - 0x24]
call fcn.00438980
mov ecx, eax
call fcn.00438280
mov byte [0x649a39], al
push 0x604295
push str.level
lea ecx, [ebp - 0x24]
call fcn.00438980
push eax
call fcn.0040ad10
test eax, eax
je 0x40abff
push 0x6042a6
push str.module
lea ecx, [ebp - 0x24]
call fcn.00438980
push eax
call fcn.0040b0c0
mov ecx, dword [0x649a84]
test eax, eax
mov edx, 1
cmovne ecx, edx
mov dword [0x649a84], ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00437850
jmp 0x40ac40
push str.CDebugLog::ReadConf_error
lea eax, [ebp - 0xac]
push eax
push 0x6495d0
call fcn.00410a60
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40ac2e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xac]
call fcn.00402220
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0x10
jb 0x40ac58
push dword [ebp - 0x3c]
call fcn.0043f3a3
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
call fcn.00437850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00567455
mov esp, ebp
pop ebp
ret 4