Function at 0x40db30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457001
mov eax, dword fs:[0]
push eax
mov eax, 0x1278
call fcn.00420810
mov eax, dword [0x47706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x1270]
call fcn.0040e480
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jne 0x40dbba
mov ecx, dword [ebp + 8]
add ecx, 0x14
call fcn.004040c0
push eax
mov ecx, dword [ebp + 8]
call fcn.0040d470
movzx edx, al
test edx, edx
jne 0x40dbba
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x40dbba
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0043a885
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp edx, dword [ecx + 0xc]
jge 0x40dbe9
mov byte [ebp - 0x1265], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1270]
call fcn.0040e440
mov al, byte [ebp - 0x1265]
jmp 0x40dfa4
cmp dword [ebp + 0x10], 0
jne 0x40dc32
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x40dc0e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0043a885
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov byte [ebp - 0x1266], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1270]
call fcn.0040e440
mov al, byte [ebp - 0x1266]
jmp 0x40dfa4
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 5]
test edx, edx
jne 0x40dc80
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x40dc5c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0043a885
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov byte [ebp - 0x1267], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1270]
call fcn.0040e440
mov al, byte [ebp - 0x1267]
jmp 0x40dfa4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jne 0x40dcac
mov byte [ebp - 0x1268], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1270]
call fcn.0040e440
mov al, byte [ebp - 0x1268]
jmp 0x40dfa4
lea ecx, [ebp - 0x1264]
call fcn.00403fa0
mov byte [ebp - 4], 1
push 0
call fcn.0040d240
add esp, 4
mov dword [ebp - 0x1284], eax
mov dword [ebp - 0x1280], edx
xor edx, edx
mov dword [ebp - 0x1234], edx
mov dword [ebp - 0x1230], edx
mov dword [ebp - 0x122c], edx
mov dword [ebp - 0x1228], edx
mov dword [ebp - 0x1224], edx
mov dword [ebp - 0x1220], edx
mov dword [ebp - 0x121c], edx
mov dword [ebp - 0x1218], edx
mov dword [ebp - 0x1214], edx
lea eax, [ebp - 0x1284]
push eax
lea ecx, [ebp - 0x1234]
push ecx
call fcn.0040d260
add esp, 8
push 0x200
push 0
lea edx, [ebp - 0x210]
push edx
call fcn.004372f0
add esp, 0xc
lea ecx, [ebp - 0x124c]
call fcn.00403fa0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1274], eax
cmp dword [ebp - 0x1274], 6
ja case.default.0x40dd60
mov ecx, dword [ebp - 0x1274]
jmp dword [ecx*4 + 0x40dfc0]
push 0x46812c
lea ecx, [ebp - 0x124c]
call fcn.0040e540
push str.debug
lea ecx, [ebp - 0x124c]
call fcn.0040e540
jmp case.default.0x40dd60
push str.info
lea ecx, [ebp - 0x124c]
call fcn.0040e540
jmp case.default.0x40dd60
push str.warn
lea ecx, [ebp - 0x124c]
call fcn.0040e540
jmp case.default.0x40dd60
push str.error
lea ecx, [ebp - 0x124c]
call fcn.0040e540
jmp case.default.0x40dd60
push str.fatal
lea ecx, [ebp - 0x124c]
call fcn.0040e540
jmp case.default.0x40dd60
push str.filter
lea ecx, [ebp - 0x124c]
call fcn.0040e540
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
lea ecx, [ebp - 0x124c]
call fcn.00403d00
push eax
mov edx, dword [ebp - 0x1234]
push edx
mov eax, dword [ebp - 0x1230]
push eax
mov ecx, dword [ebp - 0x122c]
push ecx
mov edx, dword [ebp - 0x1228]
push edx
mov eax, dword [ebp - 0x1224]
add eax, 1
push eax
mov ecx, dword [ebp - 0x1220]
add ecx, 0x76c
push ecx
push 0x468188
push 0xff
lea edx, [ebp - 0x210]
push edx
call fcn.0040d140
add esp, 0x30
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x1264]
call fcn.0040e540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124c]
call fcn.00403dd0
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x127c], ecx
push 0x1000
push 0
lea edx, [ebp - 0x1210]
push edx
call fcn.004372f0
add esp, 0xc
mov dword [ebp - 0x1278], 0
mov eax, dword [ebp - 0x127c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x7ff
lea edx, [ebp - 0x1210]
push edx
call fcn.0040d120
add esp, 0x10
mov dword [ebp - 0x1278], eax
cmp dword [ebp - 0x1278], 0xffffffff
jne 0x40def1
mov byte [ebp - 0x1269], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1264]
call fcn.00403dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1270]
call fcn.0040e440
mov al, byte [ebp - 0x1269]
jmp 0x40dfa4
lea eax, [ebp - 0x1210]
push eax
lea ecx, [ebp - 0x1264]
call fcn.0040b900
mov dword [ebp - 0x127c], 0
push 0x468184
lea ecx, [ebp - 0x1264]
call fcn.0040b900
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x1264]
call fcn.00403d00
push eax
call fcn.0043ee9f
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.0043a78e
add esp, 4
lea ecx, [ebp - 0x1264]
call fcn.00403d00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x40df76
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.0043a885
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov byte [ebp - 0x126a], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1264]
call fcn.00403dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1270]
call fcn.0040e440
mov al, byte [ebp - 0x126a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f4e5
mov esp, ebp
pop ebp
ret