Function at 0x1002239
Capabilities:
Send icmp echo request

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xb8
push esi
push edi
xor esi, esi
push 0x275a
push 1
mov dword [ebp + 0x64], 0xaf0
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x50], esi
call fcn.0100308e
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
stosd dword es:[edi], eax
pop ecx
push dword [ebp + 0x78]
stosd dword es:[edi], eax
mov dword [ebp - 8], 0x10021ca
call fcn.010021cd
mov dword [ebp + 0x58], eax
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 2
call sub.TRAFFIC.dll_TcRegisterClient
cmp eax, esi
je 0x10022ad
push eax
push 0x274a
push 1
call fcn.0100308e
add esp, 0xc
jmp 0x1002616
push ebx
push dword [ebp + 0x64]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push esi
call ebx
push eax
mov dword [ebp + 0x68], eax
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x6c]
call sub.TRAFFIC.dll_TcEnumerateInterfaces
cmp eax, 0x7a
jne 0x10022ef
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp + 0x64]
push 0
call ebx
push eax
mov dword [ebp + 0x68], eax
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x6c]
call sub.TRAFFIC.dll_TcEnumerateInterfaces
test eax, eax
je 0x10022fb
push eax
push 0x274b
jmp 0x100236b
mov eax, dword [ebp + 0x64]
test eax, eax
je 0x1002595
mov edi, dword [ebp + 0x68]
mov dword [ebp + 0x4c], eax
jmp 0x1002349
mov ecx, dword [edi + 0x10]
and dword [ebp + 0x54], 0
test ecx, ecx
lea eax, [edi + 0x16]
jle 0x100233e
test eax, eax
je 0x100232f
cmp word [eax + 2], 2
jne 0x100232f
mov edx, dword [ebp + 0x58]
cmp dword [eax + 8], edx
je 0x100237a
movzx edx, word [eax]
inc dword [ebp + 0x54]
cmp dword [ebp + 0x54], ecx
lea eax, [eax + edx + 4]
jl 0x100231c
mov eax, dword [edi]
sub dword [ebp + 0x4c], eax
add edi, eax
cmp dword [ebp + 0x4c], 0
mov dword [ebp + 0x48], edi
ja 0x100230e
push 0x274f
push 1
call fcn.0100308e
pop ecx
pop ecx
push dword [ebp + 0x58]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x2755
push 1
call fcn.0100308e
add esp, 0xc
jmp 0x10025a3
lea eax, [ebp + 0x5c]
push eax
push 0
push dword [ebp + 0x6c]
push dword [edi + 4]
call sub.TRAFFIC.dll_TcOpenInterfaceW
test eax, eax
je 0x100239d
push dword [edi + 4]
push eax
push 0x274c
jmp 0x1002494
push 0x5c
push 0
call ebx
mov esi, eax
test esi, esi
je 0x100258e
or ebx, 0xffffffff
xor eax, eax
push 0xc
inc eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x34], eax
pop eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0x18
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], 0xfa2
mov dword [esi + 0x4c], 7
mov dword [esi + 0x54], eax
lea eax, [ebp + 0x60]
push eax
push esi
push 0
push 0
mov dword [esi + 0x50], 0xfa1
mov dword [esi + 0x58], 0x28
push dword [ebp + 0x5c]
call sub.TRAFFIC.dll_TcAddFlow
test eax, eax
je 0x100242e
push dword [edi + 4]
push eax
push 0x274d
jmp 0x1002494
push 6
lea eax, [ebp + 0x20]
mov dword [ebp + 0x40], eax
pop ecx
lea eax, [ebp + 8]
mov dword [ebp + 0x44], eax
xor eax, eax
push 6
lea edi, [ebp + 0x20]
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x58]
and dword [ebp + 0x14], 0
or byte [ebp + 0x1c], 0xff
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x2c], eax
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x38]
push eax
push dword [ebp + 0x60]
mov word [ebp + 0x38], 2
mov dword [ebp + 0x3c], 0x18
mov byte [ebp + 0x34], 1
mov dword [ebp + 0x10], ebx
call sub.TRAFFIC.dll_TcAddFilter
test eax, eax
je 0x10024a3
mov ecx, dword [ebp + 0x48]
push dword [ecx + 4]
push eax
push 0x274e
push 1
call fcn.0100308e
add esp, 0x10
jmp 0x10025a3
mov ebx, dword [ebp + 0x7c]
cmp ebx, 1
jb 0x10024c9
mov edi, 0x1004558
push dword [0x100400c]
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [edi], eax
add edi, 0x98
dec ebx
jne 0x10024b0
xor eax, eax
inc eax
cmp dword [ebp + 0x7c], eax
mov dword [ebp + 0x78], eax
jb 0x10025a3
mov edi, 0x1004558
push dword [ebp + 0x78]
xor ebx, ebx
push 0x2717
inc ebx
push ebx
call fcn.0100308e
add esp, 0xc
push dword [edi + 0xc]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x2755
push ebx
call fcn.0100308e
add esp, 0xc
push dword [section..data]
xor eax, eax
push dword [0x100400c]
lea ecx, [ebp - 0x48]
push dword [edi]
push eax
push 0x40
push ecx
push dword [edi + 0xc]
push eax
push eax
push eax
push dword [0x1004220]
call sub.iphlpapi.dll_IcmpSendEcho2
test eax, eax
jne 0x100253d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1002542
mov eax, dword [edi]
mov eax, dword [eax + 4]
test eax, eax
jne 0x100254d
push 0x2753
jmp 0x1002559
cmp eax, 0x2b02
jne 0x1002578
push 0x2754
push ebx
call fcn.0100308e
inc dword [ebp + 0x78]
mov eax, dword [ebp + 0x78]
pop ecx
add edi, 0x98
cmp eax, dword [ebp + 0x7c]
pop ecx
jbe 0x10024dd
jmp 0x10025a3
cmp eax, 0x2af8
jae 0x1002586
push 0x271a
jmp 0x100258b
push 0x2729
push ebx
jmp 0x100259c
push 0x2724
jmp 0x100259a
push 0x274f
push 1
call fcn.0100308e
pop ecx
pop ecx
mov ebx, dword [ebp + 0x7c]
cmp ebx, 1
jb 0x10025c6
mov edi, 0x1004558
mov eax, dword [edi]
test eax, eax
je 0x10025bd
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
add edi, 0x98
dec ebx
jne 0x10025b0
xor edi, edi
cmp dword [ebp + 0x50], edi
pop ebx
je 0x10025d6
push dword [ebp + 0x50]
call sub.TRAFFIC.dll_TcDeleteFilter
cmp dword [ebp + 0x60], edi
je 0x10025e3
push dword [ebp + 0x60]
call sub.TRAFFIC.dll_TcDeleteFlow
cmp dword [ebp + 0x5c], edi
je 0x10025f0
push dword [ebp + 0x5c]
call sub.TRAFFIC.dll_TcCloseInterface
cmp dword [ebp + 0x6c], edi
je 0x10025fd
push dword [ebp + 0x6c]
call sub.TRAFFIC.dll_TcDeregisterClient
cmp dword [ebp + 0x68], edi
je 0x100260b
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, edi
je 0x1002616
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
add ebp, 0x70
leave
ret 8