Function at 0x100369c0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d9e3
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104], ecx
mov esi, dword [sym.imp.MSVCR120.dll_malloc]
push 0x178
call esi
mov ebx, eax
add esp, 4
mov dword [ebp - 0xf8], ebx
test ebx, ebx
je 0x10036a79
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea eax, [ebp - 0xf4]
push eax
push ebx
push 0
push 0x10
push 0
mov dword [ebp - 0xf4], 0x178
call edi
test eax, eax
je 0x10036a80
cmp eax, 0x6f
jne 0x10036a80
push ebx
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
push dword [ebp - 0xf4]
call esi
mov ebx, eax
mov dword [ebp - 0xf8], eax
add esp, 4
test ebx, ebx
je 0x10036a79
lea eax, [ebp - 0xf4]
push eax
push ebx
push 0
push 0x10
push 0
call edi
test eax, eax
je 0x10036a80
mov eax, dword [sym.imp.MSVCR120.dll_free]
push ebx
call eax
add esp, 4
xor al, al
jmp 0x10036f80
mov esi, dword [sym.imp.WS2_32.dll_inet_ntop]
mov edi, ebx
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0xfc], edi
cmp dword [edi + 0x44], 1
jne 0x10036f5d
xor eax, eax
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], ax
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], eax
mov word [ebp - 0xd8], ax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xb0], eax
mov word [ebp - 0xc0], ax
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], eax
mov word [ebp - 0xa8], ax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], eax
mov word [ebp - 0x90], ax
mov dword [ebp - 4], eax
mov edx, dword [edi + 0x28]
cmp word [edx], ax
jne 0x10036b20
xor ecx, ecx
jmp 0x10036b3a
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10036b25
sub ecx, esi
mov esi, dword [sym.imp.WS2_32.dll_inet_ntop]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd8]
call fcn.10002100
mov edi, dword [edi + 0x10]
test edi, edi
je 0x10036d70
mov eax, dword [edi + 0xc]
movzx ecx, word [eax]
cmp ecx, 2
jne 0x10036c55
push 0x16
lea ecx, [ebp - 0x58]
add eax, 4
push ecx
push eax
push 2
call esi
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x58], 0
jne 0x10036b8f
xor ecx, ecx
jmp 0x10036b9e
lea ecx, [ebp - 0x58]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036b95
sub ecx, esi
push ecx
lea eax, [ebp - 0x58]
mov ecx, edx
push eax
call fcn.10008550
lea ecx, [ebp - 0x11c]
call fcn.1004e1b0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0xc0]
cmp eax, esi
je 0x10036d4b
cmp dword [ebp - 0xac], 8
jb 0x10036bdc
push dword [ebp - 0xc0]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], ax
cmp dword [esi + 0x14], 8
jae 0x10036c30
mov eax, dword [esi + 0x10]
inc eax
je 0x10036c3e
add eax, eax
push eax
lea eax, [ebp - 0xc0]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
mov eax, dword [esi + 0x10]
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xac], eax
jmp 0x10036d38
mov eax, dword [esi]
mov dword [ebp - 0xc0], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xb0], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xac], eax
jmp 0x10036d38
cmp ecx, 0x17
jne 0x10036d5f
push 0x41
lea ecx, [ebp - 0x58]
add eax, 8
push ecx
push eax
push 0x17
call esi
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x58], 0
jne 0x10036c8c
xor eax, eax
jmp 0x10036c9b
lea eax, [ebp - 0x58]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10036c92
sub eax, esi
push eax
lea eax, [ebp - 0x58]
mov ecx, edx
push eax
call fcn.10008550
lea ecx, [ebp - 0x11c]
call fcn.1004e1b0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0xa8]
cmp eax, esi
je 0x10036d4b
cmp dword [ebp - 0x94], 8
jb 0x10036cd9
push dword [ebp - 0xa8]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], ax
cmp dword [esi + 0x14], 8
jae 0x10036d18
mov eax, dword [esi + 0x10]
inc eax
je 0x10036d26
add eax, eax
push eax
lea eax, [ebp - 0xa8]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x10036d26
mov eax, dword [esi]
mov dword [ebp - 0xa8], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x98], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x94], eax
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x108], 8
jb 0x10036d5f
push dword [ebp - 0x11c]
call ebx
add esp, 4
mov edi, dword [edi + 8]
mov esi, dword [sym.imp.WS2_32.dll_inet_ntop]
test edi, edi
jne 0x10036b52
push 0
push 0x10127d9d
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
call fcn.10008550
mov edi, dword [ebp - 0xfc]
xor esi, esi
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x34]
test eax, eax
je 0x10036e47
dec eax
cmp esi, eax
jne 0x10036df0
xor eax, eax
mov byte [ebp - 0x5c], 0
mov word [ebp - 0x5b], ax
movzx eax, byte [edi + esi + 0x2c]
push eax
lea eax, [ebp - 0x5c]
push str._.2X
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [ebp - 0x5c], 0
jne 0x10036ddc
xor ecx, ecx
lea eax, [ebp - 0x5c]
jmp 0x10036e31
lea ecx, [ebp - 0x5c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036de2
sub ecx, edx
lea eax, [ebp - 0x5c]
jmp 0x10036e31
xor eax, eax
mov byte [ebp - 0x60], 0
mov word [ebp - 0x5f], ax
mov byte [ebp - 0x5d], al
movzx eax, byte [edi + esi + 0x2c]
push eax
lea eax, [ebp - 0x60]
push str._.2X_
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [ebp - 0x60], 0
jne 0x10036e1f
xor ecx, ecx
jmp 0x10036e2e
lea ecx, [ebp - 0x60]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036e25
sub ecx, edx
lea eax, [ebp - 0x60]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10007e70
mov eax, dword [edi + 0x34]
inc esi
cmp esi, eax
jb 0x10036da8
sub esp, 0x18
lea eax, [ebp - 0x78]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.100081b0
lea ecx, [ebp - 0x11c]
call fcn.1004e1b0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x90]
cmp eax, esi
je 0x10036eff
cmp dword [ebp - 0x7c], 8
jb 0x10036e99
push dword [ebp - 0x90]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
cmp dword [esi + 0x14], 8
jae 0x10036ed2
mov eax, dword [esi + 0x10]
inc eax
je 0x10036ee0
add eax, eax
push eax
lea eax, [ebp - 0x90]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x10036ee0
mov eax, dword [esi]
mov dword [ebp - 0x90], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x108], 8
jb 0x10036f13
push dword [ebp - 0x11c]
call ebx
add esp, 4
mov ecx, dword [ebp - 0x104]
lea eax, [ebp - 0xf0]
push eax
call fcn.10036fa0
cmp dword [ebp - 0x64], 0x10
jb 0x10036f33
push dword [ebp - 0x78]
call ebx
add esp, 4
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10029a70
mov esi, dword [sym.imp.WS2_32.dll_inet_ntop]
mov edi, dword [edi + 8]
mov dword [ebp - 0xfc], edi
test edi, edi
jne 0x10036a94
push dword [ebp - 0xf8]
mov eax, dword [sym.imp.MSVCR120.dll_free]
call eax
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret