Function at 0x403f20
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1214c
call fcn.00419fc0
push ebx
push esi
push edi
push 0x10000
lea eax, [ebp - 0x12148]
mov dword [ebp - 0x2c], edx
push 0
push eax
mov dword [ebp - 0x18], ecx
call fcn.00405cd0
xor eax, eax
add esp, 0xc
mov dword [ebp - 8], eax
mov word [ebp - 4], ax
mov dword [ebp - 0x10], eax
mov word [ebp - 0xc], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x3ea
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov esi, eax
push 0x147
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x150
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [0x425540]
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x40400f
mov edi, dword [sym.imp.WS2_32.dll_inet_ntop]
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x404009
nop dword [eax + eax]
mov eax, dword [esi + 4]
cmp word [eax], 2
jne 0x404003
cmp dword [esi + 8], 0
je 0x404003
push 0x40
lea ecx, [ebp - 0xa0]
add eax, 4
push ecx
push eax
push 2
call edi
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x403ff6
test dl, dl
je 0x403ff2
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x403ff6
add ecx, 2
add eax, 2
test dl, dl
jne 0x403fd6
xor eax, eax
jmp 0x403ffb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40414d
mov esi, dword [esi]
test esi, esi
jne 0x403fb0
mov ebx, dword [ebx]
test ebx, ebx
jne 0x403fa4
mov esi, dword [ebp - 8]
push esi
lea ecx, [ebp - 8]
call fcn.004044a0
movzx eax, byte [ebp - 3]
add esp, 4
push eax
movzx eax, byte [ebp - 4]
push eax
movzx eax, byte [ebp - 5]
push eax
movzx eax, byte [ebp - 6]
push eax
movzx eax, byte [ebp - 7]
push eax
movzx eax, byte [ebp - 8]
push eax
push str.Selected_device_has_mac_address_:__.2X__.2X__.2X__.2X__.2X__.2X
call fcn.004010a0
add esp, 0x1c
mov dword [ebp - 0x14], 0x1fa0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2148]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea edi, [ebp - 0x2148]
nop word [eax + eax]
lea eax, [edi + 0x1b0]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp esi, eax
jne 0x40409d
lea ecx, [edi + 0x1d8]
lea edx, [ebp - 0x60]
sub edx, ecx
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x404090
mov edi, dword [edi]
test edi, edi
jne 0x404070
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, eax
lea eax, [ebp - 0x60]
push eax
push str._nSelected_device_has_gateway_:__s
call fcn.004010a0
push edi
lea ecx, [ebp - 0x10]
call fcn.004044a0
movzx eax, byte [ebp - 0xb]
add esp, 0xc
push eax
movzx eax, byte [ebp - 0xc]
push eax
movzx eax, byte [ebp - 0xd]
push eax
movzx eax, byte [ebp - 0xe]
push eax
movzx eax, byte [ebp - 0xf]
push eax
movzx eax, byte [ebp - 0x10]
push eax
push str.__Mac_:__.2X__.2X__.2X__.2X__.2X__.2X_
call fcn.004010a0
add esp, 0x1c
push dword [ebx + 8]
push str._nOpening_the__s__device...
call fcn.004010a0
lea eax, [ebp - 0x1a8]
push eax
push 0
push 0x3e8
push 1
push 0x64
push dword [ebx + 4]
call dword [sym.imp.wpcap.dll_pcap_open]
add esp, 0x20
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x40415e
push dword [ebx + 4]
push str._nUnable_to_open_the_adapter.__s_is_not_supported_by_WinPcap_n
push 2
call fcn.00407918
add esp, 4
push eax
call fcn.00401080
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 4]
mov esi, dword [esi + 4]
mov dword [0x425538], esi
jmp 0x404012
push str.Opened
call fcn.004010a0
mov eax, dword [ebp - 8]
add esp, 4
mov dword [ebp - 0x12142], eax
movzx eax, word [ebp - 4]
mov word [ebp - 0x1213e], ax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x12148], eax
movzx eax, word [ebp - 0xc]
push 0x800
mov word [ebp - 0x12144], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1213c], ax
mov eax, dword [ebp - 0x18]
bswap eax
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x18]
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x21], 0
cmp edx, 0x10
jle 0x4041cb
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x22], al
cmp edx, 8
jle 0x4041d8
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x23], al
mov byte [ebp - 0x24], cl
mov eax, 1
mov ecx, 0x20
xor ebx, ebx
sub ecx, edx
mov edi, 0x1000
shl eax, cl
mov dword [ebp - 8], eax
test eax, eax
je 0x404421
mov dword [ebp - 0x50], esi
mov word [ebp - 0x48], 0x600
mov eax, edi
dec edi
mov dword [ebp - 0x14], edi
test eax, eax
jne 0x40422e
push ebx
push str._d_n
mov dword [ebp - 0x14], 0x1000
call fcn.004010a0
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x24]
bswap eax
inc eax
bswap eax
mov dword [ebp - 0x24], eax
mov al, byte [ebp - 0x21]
test al, al
je 0x404244
cmp al, 0xff
jne 0x40424f
mov eax, dword [ebp - 0x24]
bswap eax
inc eax
bswap eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.WS2_32.dll_htons]
push 0x42
mov dword [0x4259f8], eax
mov word [ebp - 0x1213a], 0x45
call edi
push 2
mov word [ebp - 0x12138], ax
call edi
mov word [ebp - 0x12136], ax
lea ecx, [ebp - 0x1213a]
mov eax, dword [ebp - 0x24]
mov edx, 0x14
mov word [ebp - 0x12134], 0x40
mov dword [ebp - 0x12132], 0x609
mov dword [ebp - 0x1212e], esi
mov dword [ebp - 0x1212a], eax
call fcn.00404440
push 0x7d0
mov word [ebp - 0x12130], ax
call edi
push dword [ebp - 0x2c]
mov word [ebp - 0x12126], ax
call edi
mov word [ebp - 0x12124], ax
mov al, byte [ebp - 0x1211a]
and al, 1
mov dword [ebp - 0x12122], 0
or al, 0x50
mov dword [ebp - 0x1211e], 0
push 0xfaf0
mov byte [ebp - 0x1211a], al
mov byte [ebp - 0x12119], 2
call edi
mov word [ebp - 0x12118], ax
xor eax, eax
mov dword [ebp - 0x12116], eax
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + 0x421190]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x12113], al
test al, al
jne 0x404320
mov eax, dword [ebp - 0x24]
push 0x2e
mov dword [ebp - 0x4c], eax
call edi
movups xmm0, xmmword [ebp - 0x12126]
mov ecx, dword [0x425a48]
mov word [ebp - 0x46], ax
mov eax, dword [ebp - 0x12116]
mov dword [ebp - 0x34], eax
movups xmmword [ebp - 0x44], xmm0
test ecx, ecx
jne 0x404372
push 0x3a
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [0x425a48], ecx
movups xmm0, xmmword [ebp - 0x50]
xor edx, edx
mov edi, 0x1d
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x12112]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [ebp - 0x12102]
movq qword [ecx + 0x30], xmm0
mov ax, word [ebp - 0x120fa]
mov word [ecx + 0x38], ax
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
add edx, eax
sub edi, 1
jne 0x4043b0
mov edi, dword [ebp - 0x30]
mov ecx, edx
movzx eax, dx
sar ecx, 0x10
add ecx, eax
mov eax, ecx
sar eax, 0x10
add eax, ecx
not eax
mov word [ebp - 0x12116], ax
lea eax, [ebp - 0x12148]
push 0x50
push eax
push edi
call dword [sym.imp.wpcap.dll_pcap_sendpacket]
add esp, 0xc
test eax, eax
je 0x404414
push edi
call dword [sym.imp.wpcap.dll_pcap_geterr]
add esp, 4
push eax
push str._nError_sending_the_packet:__n
call fcn.004010a0
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x14]
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x404204
push str._nDONE__n
call fcn.004010a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret