Function at 0x40a610
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ae3a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [0x627e4c], 0
movdqa xmmword [0x627e50], xmm0
movdqa xmmword [0x627e60], xmm0
mov dword [0x627e70], 0
mov dword [0x627e74], 0xa
cmp byte [ebx + 8], 6
je 0x40a67f
xor eax, eax
jmp 0x40a993
mov ecx, ebx
call fcn.00434e10
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push str.CDebugLog_ParseFilterLevelArray
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
call fcn.004021f0
xor esi, esi
mov byte [ebp - 4], 1
cmp dword [ebp - 0xf4], esi
jle 0x40a909
push esi
mov ecx, ebx
call fcn.004351d0
cmp byte [eax + 8], 7
jne 0x40a8fc
push esi
mov ecx, ebx
call fcn.004351d0
push 0x5e99ee
push str.enable
mov ecx, eax
call fcn.004356b0
test eax, eax
je 0x40a8fc
push esi
mov ecx, ebx
call fcn.004351d0
push 0x5e99ee
push str.enable
mov ecx, eax
call fcn.00435430
cmp byte [eax + 8], 5
jne 0x40a8fc
push esi
mov ecx, ebx
call fcn.004351d0
push 0x5e99fc
push str.name
mov ecx, eax
call fcn.00435430
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, eax
call fcn.004344e0
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x40a779
cmp dword [ebp - 0x18], 0x10
jb 0x40a75e
push dword [ebp - 0x2c]
call fcn.0043b833
add esp, 4
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0041ec40
cmp dword [ebp - 0xf8], 0x10
jb 0x40a790
push dword [ebp - 0x10c]
call fcn.0043b833
add esp, 4
push esi
mov ecx, ebx
call fcn.004351d0
push 0x5e99ee
push str.enable
mov ecx, eax
call fcn.00435430
mov ecx, eax
call fcn.00434d20
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xed], al
cmovae ecx, dword [ebp - 0x2c]
push ecx
call fcn.00405750
mov edi, eax
cmp edi, 0xffffffff
je 0x40a8fc
mov edx, dword [0x627df8]
mov ecx, edi
shr ecx, 5
mov eax, 1
lea edx, [edx + ecx*4]
mov ecx, edi
and ecx, 0x1f
shl eax, cl
cmp byte [ebp - 0xed], 0
je 0x40a7f9
or dword [edx], eax
jmp 0x40a7fd
not eax
and dword [edx], eax
lea ecx, [ebp - 0xec]
call fcn.004020c0
cmp byte [ebp - 0xed], 0
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 2
push edi
je 0x40a835
push str.debug_level:_d_1
push eax
push 0x6279dc
call fcn.004134e0
add esp, 0x10
mov byte [ebp - 4], 3
jmp 0x40a84c
push str.debug_level:_d_0
push eax
push 0x6279dc
call fcn.004134e0
add esp, 0x10
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xec]
call fcn.00402400
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 2
call fcn.00402150
cmp dword [ebp - 0xd8], 8
lea eax, [ebp - 0xec]
cmovae eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
call fcn.0040a590
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.00412ed0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x40a8ad
mov eax, dword [eax]
push eax
push 0x5e9ecc
lea eax, [ebp - 0x16c]
push eax
push 0x6279dc
call fcn.004134e0
add esp, 0x10
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 6
call fcn.00402450
lea ecx, [ebp - 0x16c]
call fcn.00402150
lea ecx, [ebp - 0x1cc]
call fcn.00402150
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 1
call fcn.00402150
inc esi
cmp esi, dword [ebp - 0xf4]
jl 0x40a6c7
xor eax, eax
cmp eax, 0x5e9ed4
je 0x40a948
push 1
push ecx
push 0x5e9ed4
lea ecx, [ebp - 0x8c]
call fcn.00416500
cmp eax, 0xffffffff
je 0x40a948
mov ecx, dword [ebp - 0x7c]
sub ecx, eax
cmp ecx, 1
jne 0x40a948
push 0
push 0x5ed1d8
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.00416260
push 1
push 0x5ed070
lea ecx, [ebp - 0x8c]
call fcn.004145d0
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x8c]
call fcn.00402150
cmp dword [ebp - 0x18], 0x10
jb 0x40a98e
push dword [ebp - 0x2c]
call fcn.0043b833
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00550cb3
mov esp, ebp
pop ebp
ret 4