Function at 0x1002e210
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012d960
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
push 0x280
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, ebx
jne 0x1002e285
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GlobalAlloc_error
lea ecx, [ebp - 0x13c]
call fcn.1006e6d0
push 0x10180678
lea ecx, [ebp - 0x13c]
push ecx
call fcn.10056f02
mov dword [ebp - 0x20], 0x280
lea edx, [ebp - 0x20]
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
mov edi, eax
mov dword [ebp - 0x3c], edi
cmp edi, ebx
je 0x1002e376
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x14], ebx
cmp edi, 0x6f
jne 0x1002e32c
mov eax, dword [ebp - 0x20]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, ebx
jne 0x1002e2ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.The_second_time_GlobalAlloc_error
lea ecx, [ebp - 0xbc]
call fcn.1006e6d0
push 0x10180678
lea ecx, [ebp - 0xbc]
push ecx
call fcn.10056f02
lea edx, [ebp - 0x20]
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x1002e376
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.The_second_time_GetAdaptersInfo_error
lea ecx, [ebp - 0xfc]
call fcn.1006e6d0
push 0x10180678
lea eax, [ebp - 0xfc]
push eax
call fcn.10056f02
cmp edi, 0xe8
jne 0x1002e34e
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._GetAdaptersInfo_error
lea ecx, [ebp - 0x17c]
call fcn.1006e6d0
push 0x10180678
lea edx, [ebp - 0x17c]
push edx
call fcn.10056f02
mov dword [ebp - 0x24], esi
push str.0.0.0.0
lea ecx, [ebp - 0x28]
call fcn.10008c50
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x101360cc
lea ecx, [ebp - 0x1c]
call fcn.10008c50
mov byte [ebp - 4], 2
lea eax, [esi + 0x1b0]
push eax
push 0x10139844
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1000d2e0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
push eax
push ecx
call fcn.100571d4
add esp, 0x14
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x1002e3e9
lea edx, [esi + 8]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.1002d420
test eax, eax
je 0x1002e3e9
inc dword [ebp - 0x18]
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
push 0x14
call edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.10001b80
cmp esi, ebx
jne 0x1002e393
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x1002e410
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.10001b80
mov dword [ebp - 4], 0xffffffff
jmp 0x1002e339