Function at 0x40a230
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2100
call fcn.00456340
mov eax, dword [0x4a2300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x63
lea eax, [ebp - 0x7f]
mov dword [ebp - 0x20f0], 0
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.00451650
add esp, 0xc
mov byte [ebp - 0x20e8], 0
lea eax, [ebp - 0x20e7]
push 0x1fff
push 0
push eax
call fcn.00451650
add esp, 0xc
lea ecx, [ebp - 0x14]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x14], xmm0
call fcn.0040a0c0
test eax, eax
je 0x40a5ac
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x64
mov esi, eax
mov dword [ebp - 0x20ec], 6
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00451650
add esp, 0xc
lea eax, [ebp - 0x20ec]
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 0x40a5ac
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x80]
mov dword [0x6ae3c8], eax
lea ecx, [edx + 1]
mov ax, word [ebp - 0x7c]
mov word [0x6ae3cc], ax
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x40a300
sub edx, ecx
lea ecx, [ebp - 0x80]
call fcn.0040a1b0
mov ecx, 0x6ae448
mov dword [0x6ae3d0], eax
mov dword [0x6ae3d4], edx
call fcn.004096c0
test eax, eax
je 0x40a5ac
call fcn.00409d10
test eax, eax
je 0x40a5ac
mov edx, 0x6ae5b4
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40a343
sub edx, ecx
je 0x40a5ac
lea eax, [ebp - 0x20e8]
mov ecx, 0x6ae5b4
push eax
call fcn.00409850
add esp, 4
lea ecx, [ebp - 0x20e8]
push dword [ebp - 0x171c]
push dword [ebp - 0x1720]
call fcn.00409a40
mov ecx, dword [ebp - 0x20e8]
add esp, 8
mov eax, dword [ebp - 0x20e4]
mov dword [0x6ae3c0], ecx
or ecx, eax
mov dword [0x6ae3c4], eax
je 0x40a5ac
mov esi, dword [0x6ae3d0]
push 0
push 0xffffffffffffffff
push dword [0x6ae3d4]
push esi
call fcn.0046a5d0
add eax, esi
push eax
call fcn.00457244
xor eax, eax
mov ecx, 0x3c
mov edi, 0x6af80c
add esp, 4
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x20d8]
mov ecx, 0x1e
cmp eax, ecx
cmovg eax, ecx
xor ecx, ecx
mov dword [ebp - 0x2100], eax
mov dword [ebp - 0x20f8], ecx
test eax, eax
jle 0x40a52f
lea eax, [ebp - 0x20d0]
xor esi, esi
mov dword [ebp - 0x20ec], eax
cmp esi, 0xf0
jae 0x40a52f
mov edi, dword [eax]
mov dword [ebp - 0x20f4], edi
cmp edi, 1
jne 0x40a438
mov edx, dword [ebp - 0x20f0]
mov eax, dword [ebp + edx*4 - 0x1ef0]
mov dword [esi + 0x6af80c], eax
add esi, 4
add edx, edi
jmp 0x40a507
cmp edi, 2
jne 0x40a476
mov edx, dword [ebp - 0x20f0]
mov eax, dword [ebp + edx*4 - 0x1ef0]
mov dword [esi + 0x6af80c], eax
add esi, 4
cmp esi, 0xf0
jae 0x40a52f
mov eax, dword [ebp + edx*4 - 0x1eec]
mov dword [esi + 0x6af80c], eax
add esi, 4
add edx, edi
jmp 0x40a507
call fcn.00457223
xor edx, edx
div edi
add edx, dword [ebp - 0x20f0]
mov eax, dword [ebp + edx*4 - 0x1ef0]
mov dword [esi + 0x6af80c], eax
add esi, 4
cmp esi, 0xf0
jae 0x40a52f
xor edi, edi
call fcn.00457223
xor edx, edx
div dword [ebp - 0x20f4]
mov eax, edx
mov edx, dword [ebp - 0x20f0]
mov dword [ebp - 0x20fc], eax
lea ecx, [eax + edx]
mov eax, dword [esi + 0x6af808]
cmp eax, dword [ebp + ecx*4 - 0x1ef0]
jne 0x40a4db
inc edi
cmp edi, 0x3e8
jl 0x40a4a3
jmp 0x40a4f3
mov eax, dword [ebp - 0x20fc]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x1ef0]
mov dword [esi + 0x6af80c], eax
add esi, 4
cmp esi, 0xf0
jae 0x40a52f
add edx, dword [ebp - 0x20f4]
mov ecx, dword [ebp - 0x20f8]
mov eax, dword [ebp - 0x20ec]
inc ecx
add eax, 0x10
mov dword [ebp - 0x20f0], edx
mov dword [ebp - 0x20f8], ecx
mov dword [ebp - 0x20ec], eax
cmp ecx, dword [ebp - 0x2100]
jl 0x40a402
mov esi, 0x6af80c
mov edi, dword [esi]
test edi, edi
je 0x40a58c
push 0x63
lea eax, [ebp - 0xe7]
mov byte [ebp - 0xe8], 0
push 0
push eax
call fcn.00451650
add esp, 0xc
push edi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0xe8]
push 0x481258
push eax
call fcn.0045671f
add esp, 0xc
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0xe8]
push eax
call fcn.0045738c
add esp, 4
add esi, 4
cmp esi, 0x6af8fc
jl 0x40a534
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045094b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0045094b
mov esp, ebp
pop ebp
ret