Function at 0x412300
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56188c
mov eax, dword fs:[0]
push eax
sub esp, 0xa68
mov eax, dword [0x5bbd60]
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 edi, edx
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0xa68], edi
mov dword [ebp - 0xa64], ebx
lea eax, [ebp - 0x96c]
push eax
mov dword [ebp - 4], ebx
call fcn.0040fcb0
mov byte [ebp - 4], 1
mov ecx, dword [0x5ca470]
cmp byte [ecx + 0x15], bl
jne 0x4123a2
push edi
lea edi, [ebp - 0x96c]
call fcn.00411120
mov esi, edi
call fcn.00411000
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412397
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xa68]
jmp 0x4129bb
push 0x5902a9
lea ecx, [ebp - 0xa5c]
call fcn.00404c00
push 6
push 0x591860
lea ecx, [ebp - 0xa5c]
mov byte [ebp - 4], 2
call fcn.00408ad0
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xa5c]
call fcn.00408ad0
push 0xa
push str.linetype
lea ecx, [ebp - 0xa5c]
call fcn.00408ad0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xa5c]
call fcn.00408ad0
push 5
push 0x591874
lea ecx, [ebp - 0xa5c]
call fcn.00408ad0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xa5c]
call fcn.00408ad0
push 0xb
push str.typegetip
lea ecx, [ebp - 0xa5c]
call fcn.00408ad0
push 0x7ff
lea ecx, [ebp - 0x813]
push ebx
push ecx
mov byte [ebp - 0x814], bl
call fcn.0052cb80
mov ecx, dword [ebp - 0xa5c]
add esp, 0xc
cmp dword [ecx - 4], 1
jle 0x412472
mov edx, dword [ecx - 0xc]
push edx
lea ecx, [ebp - 0xa5c]
call fcn.00404db0
mov ecx, dword [ebp - 0xa5c]
lea eax, [esi + 0x10]
push eax
lea edx, [ebp - 0x814]
mov dword [ebp - 0xa64], eax
call fcn.0040f640
mov edi, 0xf
lea eax, [ebp - 0x814]
add esp, 4
mov dword [ebp - 0x854], edi
mov dword [ebp - 0x858], ebx
mov byte [ebp - 0x868], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4124b0
sub eax, edx
push eax
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x868]
call fcn.00403690
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x110]
cmp dword [eax - 4], 1
jle 0x4124eb
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esi + 0x110]
call fcn.00404db0
mov esi, dword [esi + 0x110]
mov eax, esi
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x83c], ebx
mov byte [ebp - 0x84c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412508
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x84c]
call fcn.00403690
mov byte [ebp - 4], 4
push edi
push 0x591888
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x820], ebx
mov byte [ebp - 0x830], bl
call fcn.00403690
lea edx, [ebp - 0x868]
push edx
lea eax, [ebp - 0x84c]
push eax
lea edx, [ebp - 0x830]
lea ecx, [ebp - 0xa58]
mov byte [ebp - 4], 5
call fcn.00410090
mov esi, 0x10
cmp dword [ebp - 0x81c], esi
jb 0x412584
mov ecx, dword [ebp - 0x830]
push ecx
call fcn.00427ab5
add esp, 4
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x820], ebx
mov byte [ebp - 0x830], bl
cmp dword [ebp - 0x838], esi
jb 0x4125ad
mov edx, dword [ebp - 0x84c]
push edx
call fcn.00427ab5
add esp, 4
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x83c], ebx
mov byte [ebp - 0x84c], bl
mov byte [ebp - 4], 9
cmp dword [ebp - 0x854], esi
jb 0x4125da
mov eax, dword [ebp - 0x868]
push eax
call fcn.00427ab5
add esp, 4
mov ecx, dword [ebp - 0xa58]
cmp dword [ecx - 4], 1
mov dword [ebp - 0x854], edi
mov dword [ebp - 0x858], ebx
mov byte [ebp - 0x868], bl
jle 0x41260d
mov ecx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0xa58]
call fcn.00404db0
mov ecx, dword [ebp - 0xa58]
mov edx, dword [ebp - 0xa64]
push edx
lea edi, [ebp - 0x884]
call fcn.0040f910
add esp, 4
mov edi, 0x10
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], edi
jb 0x412634
mov edx, dword [eax]
jmp 0x412636
mov edx, eax
cmp edx, ebx
jne 0x41263e
xor eax, eax
jmp 0x41264c
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412643
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0xa58]
call fcn.00404f50
mov byte [ebp - 4], 9
cmp dword [ebp - 0x870], edi
jb 0x412674
mov eax, dword [ebp - 0x884]
push eax
call fcn.00427ab5
add esp, 4
mov esi, dword [ebp - 0xa58]
cmp dword [esi - 4], 1
jle 0x412695
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0xa58]
call fcn.00404db0
mov esi, dword [ebp - 0xa58]
sub esp, 0x1c
mov ecx, esp
mov eax, esi
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
mov dword [ebp - 0xa64], esp
mov byte [ecx], bl
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4126b1
sub eax, edi
push eax
push esi
call fcn.00403690
lea ecx, [ebp - 0xa54]
call fcn.00410bc0
mov edi, eax
lea esi, [ebp - 0x96c]
mov byte [ebp - 4], 0xb
call fcn.004129e0
lea esi, [ebp - 0xa54]
mov byte [ebp - 4], 9
call fcn.00411000
mov eax, 1
cmp dword [ebp - 0x95c], eax
jbe 0x41272a
mov ebx, dword [ebp - 0xa68]
push ebx
lea edi, [ebp - 0x96c]
call fcn.00411120
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x412956
mov esi, dword [ebp - 0xa58]
cmp dword [esi - 4], eax
jle 0x41274a
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0xa58]
call fcn.00404db0
mov esi, dword [ebp - 0xa58]
sub esp, 0x1c
mov ecx, esp
mov eax, esi
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
mov dword [ebp - 0xa64], esp
mov byte [ecx], bl
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x412766
sub eax, edi
push eax
push esi
call fcn.00403690
lea ecx, [ebp - 0xa70]
call fcn.00411570
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xa6c]
cmp dword [edx - 0xc], ebx
je 0x41286d
mov eax, dword [ebp - 0xa70]
cmp eax, 0xa02a
je 0x412862
cmp eax, 0x1388a
je 0x412862
lea ecx, [ebp - 0xa64]
call fcn.00405100
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xa70]
push eax
lea ecx, [ebp - 0xa64]
push 0x591898
push ecx
call fcn.004079e0
add esp, 0xc
lea ecx, [ebp - 0xa60]
call fcn.00405100
push str.Search__
lea ecx, [ebp - 0xa60]
mov byte [ebp - 4], 0xe
call fcn.00408bd0
mov eax, dword [ebp - 0xa64]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xa60]
call fcn.00408ad0
push 0x5918a8
lea ecx, [ebp - 0xa60]
call fcn.00408bd0
mov eax, dword [ebp - 0xa6c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xa60]
call fcn.00408ad0
mov edx, dword [ebp - 0xa60]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0xa60]
call fcn.00405070
lea ecx, [ebp - 0xa64]
mov byte [ebp - 4], 0xc
call fcn.00405070
mov eax, dword [ebp - 0xa70]
mov dword [ebp - 0x88c], eax
jmp 0x412904
call fcn.00427b27
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x412887
push 0x80004005
call fcn.00405090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xa60], eax
push 0x1c
push str.Search
lea ecx, [ebp - 0xa60]
mov byte [ebp - 4], 0xf
call fcn.00408ad0
mov eax, dword [ebp - 0xa58]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xa60]
call fcn.00408ad0
push 5
push 0x5918cc
lea ecx, [ebp - 0xa60]
call fcn.00408ad0
mov esi, dword [ebp - 0xa60]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412904
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0xa68]
push ebx
lea edi, [ebp - 0x96c]
call fcn.00411120
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xa6c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41293c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa58]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412962
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412988
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x96c]
call fcn.00411000
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4129b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
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.00527d0f
mov esp, ebp
pop ebp
ret 4