Function at 0x40b820
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2298
call fcn.00457150
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.004523e0
add esp, 0xc
mov byte [ebp - 0x2280], 0
lea eax, [ebp - 0x227f]
push 0x1fff
push 0
push eax
call fcn.004523e0
add esp, 0xc
lea ecx, [ebp - 0x14]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x14], xmm0
call fcn.0040b6b0
test eax, eax
je 0x40bb9f
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.004523e0
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 0x40bb9f
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x80]
mov dword [0x6b06a8], eax
lea ecx, [edx + 1]
mov ax, word [ebp - 0x7c]
mov word [0x6b06ac], ax
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x40b8f0
sub edx, ecx
lea ecx, [ebp - 0x80]
call fcn.0040b7a0
mov ecx, 0x6b0728
mov dword [0x6b06b0], eax
mov dword [0x6b06b4], edx
call fcn.0040acb0
test eax, eax
je 0x40bb9f
call fcn.0040b300
test eax, eax
je 0x40bb9f
mov edx, 0x6b0894
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40b933
sub edx, ecx
je 0x40bb9f
lea eax, [ebp - 0x2280]
mov ecx, 0x6b0894
push eax
call fcn.0040ae40
add esp, 4
lea ecx, [ebp - 0x2280]
push dword [ebp - 0x18b4]
push dword [ebp - 0x18b8]
call fcn.0040b030
mov ecx, dword [ebp - 0x2280]
add esp, 8
mov eax, dword [ebp - 0x227c]
mov dword [0x6b06a0], ecx
or ecx, eax
mov dword [0x6b06a4], eax
je 0x40bb9f
mov esi, dword [0x6b06b0]
push 0
push 0xffffffffffffffff
push dword [0x6b06b4]
push esi
call fcn.0046d1f0
add eax, esi
push eax
call fcn.00458204
xor eax, eax
mov ecx, 0x3c
mov edi, 0x6b1aec
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 0x40bb1f
lea eax, [ebp - 0x2268]
xor esi, esi
mov dword [ebp - 0x2284], eax
cmp esi, 0xf0
jae 0x40bb1f
mov edi, dword [eax]
mov dword [ebp - 0x228c], edi
cmp edi, 1
jne 0x40ba28
mov edx, dword [ebp - 0x2288]
mov eax, dword [ebp + edx*4 - 0x2088]
mov dword [esi + 0x6b1aec], eax
add esi, 4
add edx, edi
jmp 0x40baf7
cmp edi, 2
jne 0x40ba66
mov edx, dword [ebp - 0x2288]
mov eax, dword [ebp + edx*4 - 0x2088]
mov dword [esi + 0x6b1aec], eax
add esi, 4
cmp esi, 0xf0
jae 0x40bb1f
mov eax, dword [ebp + edx*4 - 0x2084]
mov dword [esi + 0x6b1aec], eax
add esi, 4
add edx, edi
jmp 0x40baf7
call fcn.004581e3
xor edx, edx
div edi
add edx, dword [ebp - 0x2288]
mov eax, dword [ebp + edx*4 - 0x2088]
mov dword [esi + 0x6b1aec], eax
add esi, 4
cmp esi, 0xf0
jae 0x40bb1f
xor edi, edi
call fcn.004581e3
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 + 0x6b1ae8]
cmp eax, dword [ebp + ecx*4 - 0x2088]
jne 0x40bacb
inc edi
cmp edi, 0x3e8
jl 0x40ba93
jmp 0x40bae3
mov eax, dword [ebp - 0x2294]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x2088]
mov dword [esi + 0x6b1aec], eax
add esi, 4
cmp esi, 0xf0
jae 0x40bb1f
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 0x40b9f2
mov esi, 0x6b1aec
mov edi, dword [esi]
test edi, edi
je 0x40bb7f
push 0x1ff
lea eax, [ebp - 0x27f]
mov byte [ebp - 0x280], 0
push 0
push eax
call fcn.004523e0
add esp, 0xc
push edi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x280]
push 0x483388
push eax
call fcn.0045752f
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x280]
push eax
call fcn.00458229
add esp, 4
add esi, 4
cmp esi, 0x6b1bdc
jl 0x40bb24
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004516e1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004516e1
mov esp, ebp
pop ebp
ret