Function at 0x40b4d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2298
call fcn.00456fe0
mov eax, dword [0x4a4300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x63
lea eax, [ebp - 0x7f]
mov dword [ebp - 0x2288], 0
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.00452270
add esp, 0xc
mov byte [ebp - 0x2280], 0
lea eax, [ebp - 0x227f]
push 0x1fff
push 0
push eax
call fcn.00452270
add esp, 0xc
lea ecx, [ebp - 0x14]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x14], xmm0
call fcn.0040b360
test eax, eax
je 0x40b84f
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x64
mov esi, eax
mov dword [ebp - 0x2284], 6
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00452270
add esp, 0xc
lea eax, [ebp - 0x2284]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push esi
call dword [sym.imp.IPHLPAPI.DLL_SendARP]
neg eax
sbb eax, eax
inc eax
je 0x40b84f
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x80]
mov dword [0x6b0448], eax
lea ecx, [edx + 1]
mov ax, word [ebp - 0x7c]
mov word [0x6b044c], ax
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x40b5a0
sub edx, ecx
lea ecx, [ebp - 0x80]
call fcn.0040b450
mov ecx, 0x6b04c8
mov dword [0x6b0450], eax
mov dword [0x6b0454], edx
call fcn.0040a960
test eax, eax
je 0x40b84f
call fcn.0040afb0
test eax, eax
je 0x40b84f
mov edx, 0x6b0634
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40b5e3
sub edx, ecx
je 0x40b84f
lea eax, [ebp - 0x2280]
mov ecx, 0x6b0634
push eax
call fcn.0040aaf0
add esp, 4
lea ecx, [ebp - 0x2280]
push dword [ebp - 0x18b4]
push dword [ebp - 0x18b8]
call fcn.0040ace0
mov ecx, dword [ebp - 0x2280]
add esp, 8
mov eax, dword [ebp - 0x227c]
mov dword [0x6b0440], ecx
or ecx, eax
mov dword [0x6b0444], eax
je 0x40b84f
mov esi, dword [0x6b0450]
push 0
push 0xffffffffffffffff
push dword [0x6b0454]
push esi
call fcn.0046d090
add eax, esi
push eax
call fcn.00458095
xor eax, eax
mov ecx, 0x3c
mov edi, 0x6b188c
add esp, 4
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2270]
mov ecx, 0x1e
cmp eax, ecx
cmovg eax, ecx
xor ecx, ecx
mov dword [ebp - 0x2298], eax
mov dword [ebp - 0x2290], ecx
test eax, eax
jle 0x40b7cf
lea eax, [ebp - 0x2268]
xor esi, esi
mov dword [ebp - 0x2284], eax
cmp esi, 0xf0
jae 0x40b7cf
mov edi, dword [eax]
mov dword [ebp - 0x228c], edi
cmp edi, 1
jne 0x40b6d8
mov edx, dword [ebp - 0x2288]
mov eax, dword [ebp + edx*4 - 0x2088]
mov dword [esi + 0x6b188c], eax
add esi, 4
add edx, edi
jmp 0x40b7a7
cmp edi, 2
jne 0x40b716
mov edx, dword [ebp - 0x2288]
mov eax, dword [ebp + edx*4 - 0x2088]
mov dword [esi + 0x6b188c], eax
add esi, 4
cmp esi, 0xf0
jae 0x40b7cf
mov eax, dword [ebp + edx*4 - 0x2084]
mov dword [esi + 0x6b188c], eax
add esi, 4
add edx, edi
jmp 0x40b7a7
call fcn.00458074
xor edx, edx
div edi
add edx, dword [ebp - 0x2288]
mov eax, dword [ebp + edx*4 - 0x2088]
mov dword [esi + 0x6b188c], eax
add esi, 4
cmp esi, 0xf0
jae 0x40b7cf
xor edi, edi
call fcn.00458074
xor edx, edx
div dword [ebp - 0x228c]
mov eax, edx
mov edx, dword [ebp - 0x2288]
mov dword [ebp - 0x2294], eax
lea ecx, [eax + edx]
mov eax, dword [esi + 0x6b1888]
cmp eax, dword [ebp + ecx*4 - 0x2088]
jne 0x40b77b
inc edi
cmp edi, 0x3e8
jl 0x40b743
jmp 0x40b793
mov eax, dword [ebp - 0x2294]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x2088]
mov dword [esi + 0x6b188c], eax
add esi, 4
cmp esi, 0xf0
jae 0x40b7cf
add edx, dword [ebp - 0x228c]
mov ecx, dword [ebp - 0x2290]
mov eax, dword [ebp - 0x2284]
inc ecx
add eax, 0x10
mov dword [ebp - 0x2288], edx
mov dword [ebp - 0x2290], ecx
mov dword [ebp - 0x2284], eax
cmp ecx, dword [ebp - 0x2298]
jl 0x40b6a2
mov esi, 0x6b188c
mov edi, dword [esi]
test edi, edi
je 0x40b82f
push 0x1ff
lea eax, [ebp - 0x27f]
mov byte [ebp - 0x280], 0
push 0
push eax
call fcn.00452270
add esp, 0xc
push edi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x280]
push 0x483368
push eax
call fcn.004573bf
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x280]
push eax
call fcn.004580ba
add esp, 4
add esi, 4
cmp esi, 0x6b197c
jl 0x40b7d4
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00451570
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00451570
mov esp, ebp
pop ebp
ret