Function at 0x4b5a2c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x4b5a35
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp + 8]
call fcn.00404c30
xor eax, eax
push ebp
push 0x4b6145
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b6158
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
push ebp
push 0x4b605a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx], 3
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0x35c]
call fcn.00445ab8
mov eax, dword [ebp - 0x24]
mov edx, 0x4b617c
call fcn.00404b8c
je 0x4b5aed
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf0], 0x36
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf1], 4
lea edx, [ebp - 0x28]
mov eax, dword [esi + 0x35c]
call fcn.00445ab8
mov eax, dword [ebp - 0x28]
call fcn.0046a154
mov dword [ebp - 8], eax
xor eax, eax
mov al, byte [ebx]
lea eax, [edi + eax + 0xf2]
lea edx, [ebp - 8]
mov ecx, 4
call fcn.0040792c
add byte [ebx], 6
mov eax, dword [0x4c9e68]
mov edx, 0x4b618c
call fcn.00404b8c
jne 0x4b5bcb
lea edx, [ebp - 0x2c]
mov eax, dword [esi + 0x388]
call fcn.00445ab8
cmp dword [ebp - 0x2c], 0
je 0x4b5bcb
lea edx, [ebp - 0x30]
mov eax, dword [esi + 0x378]
call fcn.00445ab8
cmp dword [ebp - 0x30], 0
je 0x4b5bcb
lea edx, [ebp - 0x38]
lea eax, [edi + 0x6c]
call fcn.0040a134
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00408c70
mov eax, dword [ebp - 0x34]
push eax
lea edx, [ebp - 0x40]
mov eax, dword [esi + 0x378]
call fcn.00445ab8
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00408c70
mov edx, dword [ebp - 0x3c]
pop eax
call fcn.00404b8c
jne 0x4b5bcb
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf0], 0xd
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf1], 2
lea edx, [ebp - 0x44]
mov eax, dword [esi + 0x388]
call fcn.00445ab8
mov eax, dword [ebp - 0x44]
call fcn.004093cc
mov word [ebp - 0xa], ax
mov ax, word [ebp - 0xa]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0xa], ax
xor eax, eax
mov al, byte [ebx]
lea eax, [edi + eax + 0xf2]
lea edx, [ebp - 0xa]
mov ecx, 2
call fcn.0040792c
add byte [ebx], 4
lea edx, [ebp - 0x48]
mov eax, dword [esi + 0x398]
call fcn.00445ab8
cmp dword [ebp - 0x48], 0
je 0x4b5c6f
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf0], 0x11
lea edx, [ebp - 0x4c]
mov eax, dword [esi + 0x398]
call fcn.00445ab8
mov eax, dword [ebp - 0x4c]
call fcn.00404a40
xor edx, edx
mov dl, byte [ebx]
mov byte [edi + edx + 0xf1], al
lea edx, [ebp - 0x50]
mov eax, dword [esi + 0x398]
call fcn.00445ab8
mov eax, dword [ebp - 0x50]
call fcn.00404a40
push eax
lea edx, [ebp - 0x54]
mov eax, dword [esi + 0x398]
call fcn.00445ab8
mov eax, dword [ebp - 0x54]
call fcn.00404c40
mov edx, eax
xor eax, eax
mov al, byte [ebx]
lea eax, [edi + eax + 0xf2]
pop ecx
call fcn.0040792c
lea edx, [ebp - 0x58]
mov eax, dword [esi + 0x398]
call fcn.00445ab8
mov eax, dword [ebp - 0x58]
call fcn.00404a40
mov dl, byte [ebx]
add dl, 2
add al, dl
mov byte [ebx], al
mov eax, dword [esi + 0x404]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4b5cda
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf0], 0x2b
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf1], 7
mov eax, 0x4b617c
call fcn.0046a154
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov eax, 0x4c69d6
mov ecx, 4
call fcn.0040792c
xor eax, eax
mov al, byte [ebx]
lea eax, [edi + eax + 0xf2]
mov edx, 0x4c69d4
mov ecx, 7
call fcn.0040792c
mov al, byte [ebx]
inc eax
inc eax
add al, 7
mov byte [ebx], al
lea edx, [ebp - 0x5c]
mov eax, dword [esi + 0x340]
call fcn.00445ab8
cmp dword [ebp - 0x5c], 0
je 0x4b5d7b
lea edx, [ebp - 4]
mov eax, dword [esi + 0x340]
call fcn.00445ab8
mov al, byte [0x4b6190]
push eax
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x4b619c
mov edx, 0x4b61a8
mov eax, dword [ebp - 4]
call fcn.0040e684
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 4]
call fcn.00404818
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf0], 0x3c
mov eax, dword [ebp - 4]
call fcn.00404a40
xor edx, edx
mov dl, byte [ebx]
mov byte [edi + edx + 0xf1], al
mov eax, dword [ebp - 4]
call fcn.00404a40
push eax
lea eax, [ebp - 4]
call fcn.00404c98
mov edx, eax
xor eax, eax
mov al, byte [ebx]
lea eax, [edi + eax + 0xf2]
pop ecx
call fcn.0040792c
mov eax, dword [ebp - 4]
call fcn.00404a40
mov dl, byte [ebx]
add dl, 2
add al, dl
mov byte [ebx], al
lea edx, [ebp - 0x64]
mov eax, dword [esi + 0x33c]
call fcn.00445ab8
cmp dword [ebp - 0x64], 0
je 0x4b5e1c
lea edx, [ebp - 4]
mov eax, dword [esi + 0x33c]
call fcn.00445ab8
mov al, byte [0x4b6190]
push eax
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x4b619c
mov edx, 0x4b61a8
mov eax, dword [ebp - 4]
call fcn.0040e684
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 4]
call fcn.00404818
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf0], 0x42
mov eax, dword [ebp - 4]
call fcn.00404a40
xor edx, edx
mov dl, byte [ebx]
mov byte [edi + edx + 0xf1], al
mov eax, dword [ebp - 4]
call fcn.00404a40
push eax
lea eax, [ebp - 4]
call fcn.00404c98
mov edx, eax
xor eax, eax
mov al, byte [ebx]
lea eax, [edi + eax + 0xf2]
pop ecx
call fcn.0040792c
mov eax, dword [ebp - 4]
call fcn.00404a40
mov dl, byte [ebx]
add dl, 2
add al, dl
mov byte [ebx], al
lea edx, [ebp - 0x6c]
mov eax, dword [esi + 0x338]
call fcn.00445ab8
cmp dword [ebp - 0x6c], 0
je 0x4b5eec
lea edx, [ebp - 4]
mov eax, dword [esi + 0x338]
call fcn.00445ab8
cmp dword [0x4c9ea0], 0
je 0x4b5e71
lea ecx, [ebp - 0x70]
mov edx, dword [ebp + 8]
mov eax, dword [0x4c9ea0]
call fcn.004ae9fc
cmp dword [ebp - 0x70], 0
je 0x4b5e71
lea ecx, [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [0x4c9ea0]
call fcn.004ae9fc
mov al, byte [0x4b6190]
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, 0x4b619c
mov edx, 0x4b61a8
mov eax, dword [ebp - 4]
call fcn.0040e684
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 4]
call fcn.00404818
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf0], 0x43
mov eax, dword [ebp - 4]
call fcn.00404a40
xor edx, edx
mov dl, byte [ebx]
mov byte [edi + edx + 0xf1], al
mov eax, dword [ebp - 4]
call fcn.00404a40
push eax
lea eax, [ebp - 4]
call fcn.00404c98
mov edx, eax
xor eax, eax
mov al, byte [ebx]
lea eax, [edi + eax + 0xf2]
pop ecx
call fcn.0040792c
mov eax, dword [ebp - 4]
call fcn.00404a40
mov dl, byte [ebx]
add dl, 2
add al, dl
mov byte [ebx], al
mov edx, 0x4c69c4
lea eax, [ebp - 0x20]
mov ecx, 0x10
call fcn.00408d18
test al, al
jne 0x4b5f46
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf0], 0x61
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf1], 0x11
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf2], 0
xor eax, eax
mov al, byte [ebx]
lea eax, [edi + eax + 0xf3]
lea edx, [ebp - 0x20]
mov ecx, 0x10
call fcn.0040792c
mov al, byte [ebx]
add al, 3
add al, 0x10
mov byte [ebx], al
lea edx, [ebp - 0x78]
mov eax, dword [esi + 0x3b0]
call fcn.00445ab8
cmp dword [ebp - 0x78], 0
je 0x4b5fe5
lea edx, [ebp - 4]
mov eax, dword [esi + 0x3b0]
call fcn.00445ab8
mov al, byte [0x4b6190]
push eax
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
mov edx, 0x4b61b4
mov eax, dword [ebp - 4]
call fcn.0040e684
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 4]
call fcn.00404818
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf0], 0xfc
mov eax, dword [ebp - 4]
call fcn.00404a40
xor edx, edx
mov dl, byte [ebx]
mov byte [edi + edx + 0xf1], al
mov eax, dword [ebp - 4]
call fcn.00404a40
push eax
lea eax, [ebp - 4]
call fcn.00404c98
mov edx, eax
xor eax, eax
mov al, byte [ebx]
lea eax, [edi + eax + 0xf2]
pop ecx
call fcn.0040792c
mov eax, dword [ebp - 4]
call fcn.00404a40
mov dl, byte [ebx]
add dl, 2
add al, dl
mov byte [ebx], al
lea edx, [ebp - 0x80]
mov eax, dword [esi + 0x394]
call fcn.00445ab8
cmp dword [ebp - 0x80], 0
je 0x4b6044
lea edx, [ebp - 0x84]
mov eax, dword [esi + 0x394]
call fcn.00445ab8
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x10]
mov edx, 0x4b61c4
call fcn.004b5940
mov eax, dword [ebp - 0x10]
call fcn.00405a30
mov ecx, eax
xor eax, eax
mov al, byte [ebx]
lea eax, [edi + eax + 0xf0]
mov edx, dword [ebp - 0x10]
call fcn.0040792c
mov eax, dword [ebp - 0x10]
call fcn.00405a30
add byte [ebx], al
xor eax, eax
mov al, byte [ebx]
mov byte [edi + eax + 0xf0], 0xff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b6090
push 0x4b61e4
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b614f
lea eax, [ebp - 0x88]
call fcn.00404780
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004047a4
lea eax, [ebp - 0x7c]
call fcn.00404780
lea eax, [ebp - 0x78]
call fcn.00404780
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004047a4
lea eax, [ebp - 0x6c]
call fcn.00404780
lea eax, [ebp - 0x68]
call fcn.00404780
lea eax, [ebp - 0x64]
call fcn.00404780
lea eax, [ebp - 0x60]
call fcn.00404780
lea eax, [ebp - 0x5c]
mov edx, 8
call fcn.004047a4
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004047a4
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.004047a4
lea eax, [ebp - 0x10]
mov edx, dword [0x4b4c70]
call fcn.00405d0c
lea eax, [ebp - 4]
call fcn.00404780
lea eax, [ebp + 8]
call fcn.00404780
ret