Function at 0x4714a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591ec1
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x67706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x5d], dl
mov esi, ecx
mov dword [ebp - 0x74], esi
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], eax
lea ebx, [esi + 0x18]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x70], ebx
push eax
mov ecx, ebx
call fcn.0044ab98
cmp byte [ebp - 0x5d], 0
mov dword [ebp - 4], 0
je 0x471bbf
mov dword [ebp - 0x78], 3
mov byte [ebp - 4], 1
push str._font_colorred_
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x7c], 3
call fcn.004a0190
mov esi, dword [ebp - 0x48]
add esp, 4
mov edx, dword [ebp - 0x18]
add esi, eax
mov dword [ebp - 0x68], esi
mov edi, closesocket
mov dword [ebp - 0x5c], edx
cmp edx, esi
ja 0x47169a
mov ebx, dword [ebp - 0x14]
cmp ebx, esi
je 0x47169a
jae 0x471649
mov ecx, esi
mov eax, edi
sub ecx, edx
sub eax, edx
cmp eax, ecx
jb 0x471d60
or esi, 0xf
cmp esi, edi
jbe 0x471579
mov esi, edi
jmp 0x471591
mov ecx, ebx
mov eax, edi
shr ecx, 1
sub eax, ecx
cmp ebx, eax
jbe 0x471589
mov esi, edi
jmp 0x471591
lea eax, [ecx + ebx]
cmp esi, eax
cmovb esi, eax
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x4715c8
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.00487725
add esp, 4
test eax, eax
je 0x471d74
mov edx, dword [ebp - 0x5c]
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4715de
test ecx, ecx
je 0x4715dc
push ecx
call fcn.00487725
mov edx, dword [ebp - 0x5c]
add esp, 4
mov edi, eax
jmp 0x4715de
xor edi, edi
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
lea eax, [edx + 1]
mov dword [ebp - 0x14], esi
push eax
cmp ebx, 0x10
jb 0x471631
mov esi, dword [ebp - 0x28]
push esi
push edi
call fcn.00497650
inc ebx
add esp, 0xc
cmp ebx, 0x1000
jb 0x47161c
mov ecx, dword [esi - 4]
add ebx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x471d74
mov esi, ecx
push ebx
push esi
call fcn.00487ad0
mov eax, dword [ebp - 0x5c]
add esp, 8
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], eax
jmp 0x47169a
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00497650
mov eax, dword [ebp - 0x5c]
add esp, 0xc
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], eax
jmp 0x47169a
cmp esi, 0x10
jae 0x47169a
cmp ebx, 0x10
jb 0x47169a
mov esi, dword [ebp - 0x28]
lea eax, [edx + 1]
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00497650
mov ecx, dword [ebp - 0x14]
add esp, 0xc
inc ecx
cmp ecx, 0x1000
jb 0x471689
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x471d74
mov esi, edx
push ecx
push esi
call fcn.00487ad0
add esp, 8
mov dword [ebp - 0x14], 0xf
push str._font_colorred_
call fcn.004a0190
mov edi, dword [ebp - 0x14]
mov ebx, eax
mov edx, dword [ebp - 0x18]
mov ecx, edi
sub ecx, edx
mov dword [ebp - 0x64], ebx
add esp, 4
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x6c], edi
cmp ebx, ecx
ja 0x4716ea
cmp edi, 0x10
lea esi, [ebp - 0x28]
push ebx
cmovae esi, dword [ebp - 0x28]
lea eax, [ebx + edx]
add esi, edx
mov dword [ebp - 0x18], eax
push str._font_colorred_
push esi
call fcn.004970d0
mov byte [ebx + esi], 0
mov edi, dword [ebp - 0x28]
jmp 0x471809
mov eax, closesocket
sub eax, edx
cmp eax, ebx
jb 0x471d65
lea esi, [ebx + edx]
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x47170e
mov esi, closesocket
jmp 0x47172c
mov ecx, edi
mov eax, closesocket
shr ecx, 1
sub eax, ecx
cmp edi, eax
jbe 0x471724
mov esi, closesocket
jmp 0x47172c
lea eax, [ecx + edi]
cmp esi, eax
cmovb esi, eax
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x471763
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.00487725
add esp, 4
test eax, eax
je 0x471d74
mov edx, dword [ebp - 0x5c]
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x471779
test ecx, ecx
je 0x471777
push ecx
call fcn.00487725
mov edx, dword [ebp - 0x5c]
add esp, 4
mov edi, eax
jmp 0x471779
xor edi, edi
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebx + edx]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push edx
jb 0x4717e4
mov ebx, dword [ebp - 0x28]
push ebx
push edi
call fcn.00497650
mov esi, dword [ebp - 0x5c]
add esp, 0xc
add esi, edi
push dword [ebp - 0x64]
push str._font_colorred_
push esi
call fcn.00497650
mov eax, dword [ebp - 0x64]
add esp, 0xc
mov ecx, dword [ebp - 0x6c]
inc ecx
mov byte [eax + esi], 0
cmp ecx, 0x1000
jb 0x4717d5
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x471d74
mov ebx, edx
push ecx
push ebx
call fcn.00487ad0
add esp, 8
mov dword [ebp - 0x28], edi
jmp 0x47180c
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00497650
mov esi, dword [ebp - 0x5c]
add esp, 0xc
add esi, edi
push ebx
push str._font_colorred_
push esi
call fcn.00497650
mov byte [ebx + esi], 0
mov dword [ebp - 0x28], edi
add esp, 0xc
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x14]
cmovae eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x64], eax
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x68], edx
cmp ebx, eax
ja 0x471858
cmp edx, 0x10
lea esi, [ebp - 0x28]
push ebx
push dword [ebp - 0x64]
cmovae esi, edi
lea eax, [ebx + ecx]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.004970d0
mov byte [ebx + esi], 0
jmp 0x47197e
mov eax, closesocket
sub eax, ecx
cmp eax, ebx
jb 0x471d6a
lea eax, [ebx + ecx]
mov esi, eax
mov dword [ebp - 0x80], eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x471881
mov esi, closesocket
jmp 0x47189f
mov ebx, edx
mov eax, closesocket
shr ebx, 1
sub eax, ebx
cmp edx, eax
jbe 0x471897
mov esi, closesocket
jmp 0x47189f
lea eax, [edx + ebx]
cmp esi, eax
cmovb esi, eax
lea edx, [esi + 1]
cmp edx, 0x1000
jb 0x4718d9
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.00487725
add esp, 4
test eax, eax
je 0x471d74
mov ecx, dword [ebp - 0x5c]
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
mov edi, dword [ebp - 0x28]
jmp 0x4718f2
test edx, edx
je 0x4718f0
push edx
call fcn.00487725
mov edi, dword [ebp - 0x28]
add esp, 4
mov ecx, dword [ebp - 0x5c]
mov ebx, eax
jmp 0x4718f2
xor ebx, ebx
cmp dword [ebp - 0x68], 0x10
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push ecx
jb 0x471958
push edi
push ebx
call fcn.00497650
mov esi, dword [ebp - 0x5c]
add esp, 0xc
add esi, ebx
push dword [ebp - 0x6c]
push dword [ebp - 0x64]
push esi
call fcn.00497650
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov ecx, dword [ebp - 0x68]
inc ecx
mov byte [eax + esi], 0
cmp ecx, 0x1000
jb 0x471949
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x471d74
mov edi, edx
push ecx
push edi
call fcn.00487ad0
add esp, 8
mov dword [ebp - 0x28], ebx
jmp 0x471981
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.00497650
mov edi, dword [ebp - 0x6c]
add esp, 0xc
mov esi, dword [ebp - 0x5c]
add esi, ebx
push edi
push dword [ebp - 0x64]
push esi
call fcn.00497650
mov byte [edi + esi], 0
mov dword [ebp - 0x28], ebx
add esp, 0xc
push str.__font_
call fcn.004a0190
mov edi, dword [ebp - 0x14]
mov ebx, eax
mov edx, dword [ebp - 0x18]
mov ecx, edi
sub ecx, edx
mov dword [ebp - 0x68], ebx
add esp, 4
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x64], edi
cmp ebx, ecx
ja 0x4719ce
cmp edi, 0x10
lea esi, [ebp - 0x28]
push ebx
cmovae esi, dword [ebp - 0x28]
lea eax, [edx + ebx]
add esi, edx
mov dword [ebp - 0x18], eax
push str.__font_
push esi
call fcn.004970d0
mov byte [esi + ebx], 0
jmp 0x471ae2
mov ecx, closesocket
mov eax, ecx
sub eax, edx
cmp eax, ebx
jb 0x471d6f
lea esi, [edx + ebx]
or esi, 0xf
cmp esi, ecx
jbe 0x4719ed
mov esi, ecx
jmp 0x471a05
mov eax, edi
shr eax, 1
sub ecx, eax
cmp edi, ecx
jbe 0x4719fe
mov esi, closesocket
jmp 0x471a05
add eax, edi
cmp esi, eax
cmovb esi, eax
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x471a3c
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.00487725
add esp, 4
test eax, eax
je 0x471d74
mov edx, dword [ebp - 0x5c]
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x471a52
test ecx, ecx
je 0x471a50
push ecx
call fcn.00487725
mov edx, dword [ebp - 0x5c]
add esp, 4
mov edi, eax
jmp 0x471a52
xor edi, edi
cmp dword [ebp - 0x64], 0x10
lea eax, [edx + ebx]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push edx
jb 0x471abd
mov ebx, dword [ebp - 0x28]
push ebx
push edi
call fcn.00497650
mov esi, dword [ebp - 0x5c]
add esp, 0xc
add esi, edi
push dword [ebp - 0x68]
push str.__font_
push esi
call fcn.00497650
mov eax, dword [ebp - 0x68]
add esp, 0xc
mov ecx, dword [ebp - 0x64]
inc ecx
mov byte [esi + eax], 0
cmp ecx, 0x1000
jb 0x471aae
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x471d74
mov ebx, edx
push ecx
push ebx
call fcn.00487ad0
add esp, 8
mov dword [ebp - 0x28], edi
jmp 0x471ae5
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00497650
mov esi, dword [ebp - 0x5c]
add esp, 0xc
add esi, edi
push ebx
push str.__font_
push esi
call fcn.00497650
mov byte [esi + ebx], 0
mov dword [ebp - 0x28], edi
add esp, 0xc
push 0x18
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
push eax
call fcn.00497650
mov edx, dword [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x471b4b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x471b41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471d74
push edx
push ecx
call fcn.00487ad0
add esp, 8
push 0x18
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], 0
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
push eax
mov byte [ebp - 0x58], 0
call fcn.00497650
mov byte [ebp - 4], 0
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x471bb9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x471baf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471d79
push edx
push ecx
call fcn.00487ad0
add esp, 8
mov esi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.0045ec0c
add esp, 4
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 2
cmp byte [eax*8 + 0x678824], 0
je 0x471c02
cmp byte [0x6789a4], 0
je 0x471c02
mov ecx, dword [0x6811a0]
test ecx, ecx
je 0x471c02
lea edx, [ebp - 0x40]
push edx
sub esp, 8
push 0x1d
push eax
push ecx
call fcn.00459cdb
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x471c40
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471c36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471d7e
push edx
push ecx
call fcn.00487ad0
add esp, 8
lea eax, [esi + 0x10]
push eax
call fcn.00449b57
add esp, 4
cmp byte [ebp - 0x5d], 0
je 0x471c56
push 0xc
jmp 0x471c58
push 0xf
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0044ab98
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
push 0x680cc8
call fcn.0044b527
mov byte [ebp - 4], 0
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x471cc7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x471cbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471d83
push edx
push ecx
call fcn.00487ad0
add esp, 8
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0044ab98
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x471d14
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x471d0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471d88
push edx
push ecx
call fcn.00487ad0
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x471d44
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x471d3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471d8d
push edx
push ecx
call fcn.00487ad0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487463
mov esp, ebp
pop ebp
ret
call fcn.00448a47
call fcn.00448a47
call fcn.00448a47
call fcn.00448a47
call fcn.004a0555
call fcn.004a0555
call fcn.004a0555
call fcn.004a0555
call fcn.004a0555
call fcn.004a0555
int3