Function at 0x40a960
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c5fa
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
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 - 0x290], ecx
mov ecx, dword [ebp - 0x290]
call fcn.0040a820
mov ecx, dword [ebp + 8]
call fcn.0043d580
movzx eax, al
test eax, eax
jne 0x40a9b2
xor eax, eax
jmp 0x40ad49
mov ecx, dword [ebp + 8]
call fcn.0043c4a0
mov dword [ebp - 0x2bc], eax
lea ecx, [ebp - 0x28]
call fcn.0042e590
mov dword [ebp - 4], 0
push str.CDebugLog_ParseFilterLevelArray
lea ecx, [ebp - 0xa0]
call fcn.00402270
mov byte [ebp - 4], 1
mov dword [ebp - 0x288], 0
jmp 0x40a9fe
mov ecx, dword [ebp - 0x288]
add ecx, 1
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp - 0x288]
cmp edx, dword [ebp - 0x2bc]
jge 0x40ace9
mov eax, dword [ebp - 0x288]
push eax
mov ecx, dword [ebp + 8]
call fcn.0043c8f0
mov ecx, eax
call fcn.0043d590
movzx ecx, al
test ecx, ecx
je 0x40ace4
push 0x5d9c3c
mov edx, dword [ebp - 0x288]
push edx
mov ecx, dword [ebp + 8]
call fcn.0043c8f0
mov ecx, eax
call fcn.0043d100
movzx eax, al
test eax, eax
je 0x40ace4
push 0x5d9cb4
mov ecx, dword [ebp - 0x288]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043c8f0
mov ecx, eax
call fcn.0043d0a0
mov ecx, eax
call fcn.0043d400
movzx edx, al
test edx, edx
je 0x40ace4
lea eax, [ebp - 0x40]
push eax
push 0x5d9cbc
mov ecx, dword [ebp - 0x288]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043c8f0
mov ecx, eax
call fcn.0043d0a0
mov ecx, eax
call fcn.0043bac0
mov dword [ebp - 0x2a4], eax
mov edx, dword [ebp - 0x2a4]
push edx
lea ecx, [ebp - 0x28]
call fcn.00412680
lea ecx, [ebp - 0x40]
call fcn.0042e450
push 0x5d9cc4
mov eax, dword [ebp - 0x288]
push eax
mov ecx, dword [ebp + 8]
call fcn.0043c8f0
mov ecx, eax
call fcn.0043d0a0
mov ecx, eax
call fcn.0043c390
mov byte [ebp - 0x281], al
lea ecx, [ebp - 0x28]
call fcn.0042e430
push eax
mov ecx, 0x614408
call fcn.00405f20
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0xffffffff
je 0x40ace4
movzx ecx, byte [ebp - 0x281]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
lea eax, [ebp - 0x2c4]
push eax
mov ecx, dword [ebp - 0x290]
add ecx, 0x398
call fcn.00413c10
mov ecx, eax
call fcn.00415130
lea ecx, [ebp - 0x100]
call fcn.004021a0
mov byte [ebp - 4], 2
movzx ecx, byte [ebp - 0x281]
test ecx, ecx
je 0x40abb6
mov edx, dword [ebp - 0x28c]
push edx
push str.debug_level:_d_1
lea eax, [ebp - 0x220]
push eax
push 0x614354
call fcn.00411a20
add esp, 0x10
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x298], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x298]
push edx
lea ecx, [ebp - 0x100]
call fcn.004024a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.00402230
jmp 0x40ac0d
mov eax, dword [ebp - 0x28c]
push eax
push str.debug_level:_d_0
lea ecx, [ebp - 0x280]
push ecx
push 0x614354
call fcn.00411a20
add esp, 0x10
mov dword [ebp - 0x2a0], eax
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2ac], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x100]
call fcn.004024a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x280]
call fcn.00402230
lea ecx, [ebp - 0x100]
call fcn.00402620
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x28c]
push ecx
mov ecx, dword [ebp - 0x290]
call fcn.0040a870
push 0
lea ecx, [ebp - 0x28]
call fcn.0042e430
push eax
lea edx, [ebp - 0x1c0]
push edx
mov ecx, 0x614354
call fcn.00411450
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x294]
call fcn.00402790
mov ecx, eax
call fcn.0042e3d0
push eax
push 0x5d9cf0
lea ecx, [ebp - 0x160]
push ecx
push 0x614354
call fcn.00411a20
add esp, 0x10
mov dword [ebp - 0x2a8], eax
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x29c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x29c]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004024d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x160]
call fcn.00402230
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c0]
call fcn.00402230
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x100]
call fcn.00402230
jmp 0x40a9ef
push 0x5d9cf8
lea ecx, [ebp - 0xa0]
call fcn.004027a0
push 0x5d9cfc
lea ecx, [ebp - 0xa0]
call fcn.00402330
lea ecx, [ebp - 0xa0]
call fcn.00402620
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x2b0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00402230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0042e450
mov eax, dword [ebp - 0x2b0]
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