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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f81b
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c4], 0
mov al, byte [0x101d7823]
mov byte [ebp - 0x114], al
push 0x103
push 0
lea ecx, [ebp - 0x113]
push ecx
call fcn.1009f7e0
add esp, 0xc
mov dword [ebp - 0x288], 0x6f
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x2d0], 0x10
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x21c], 0x3a98
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x2c8], edx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2c8]
push eax
push 0
mov ecx, dword [ebp - 0x2cc]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jne 0x10031be4
jmp 0x10031c6a
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x27c]
push eax
push 0
mov ecx, dword [ebp - 0x2d0]
push ecx
mov edx, dword [ebp - 0x2d4]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0x6f
jne 0x10031c43
mov eax, dword [ebp - 0x27c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x288], 0x6f
jmp 0x10031c45
jmp 0x10031c6a
mov ecx, dword [ebp - 0x2b4]
add ecx, 1
mov dword [ebp - 0x2b4], ecx
cmp dword [ebp - 0x288], 0x6f
jne 0x10031c6a
cmp dword [ebp - 0x2b4], 3
jb 0x10031ba2
cmp dword [ebp - 0x288], 0
jne 0x10032213
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x274], edx
cmp dword [ebp - 0x274], 0
je 0x10032211
lea ecx, [ebp - 0x258]
call fcn.10030ff0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x28c], ecx
cmp dword [ebp - 0x28c], 0
je 0x10031cef
mov dword [ebp - 0x278], 0
jmp 0x10031cd5
mov edx, dword [ebp - 0x278]
add edx, 1
mov dword [ebp - 0x278], edx
cmp dword [ebp - 0x28c], 0
je 0x10031cef
mov eax, dword [ebp - 0x28c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x28c], ecx
jmp 0x10031cc6
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x10031d3c
mov dword [ebp - 0x278], 0
jmp 0x10031d22
mov ecx, dword [ebp - 0x278]
add ecx, 1
mov dword [ebp - 0x278], ecx
cmp dword [ebp - 0x290], 0
je 0x10031d3c
mov edx, dword [ebp - 0x290]
mov eax, dword [edx + 8]
mov dword [ebp - 0x290], eax
jmp 0x10031d13
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x294], edx
cmp dword [ebp - 0x294], 0
je 0x10031d89
mov dword [ebp - 0x278], 0
jmp 0x10031d6f
mov eax, dword [ebp - 0x278]
add eax, 1
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x294], 0
je 0x10031d89
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x294], edx
jmp 0x10031d60
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x298], ecx
cmp dword [ebp - 0x298], 0
je 0x10031dd6
mov dword [ebp - 0x278], 0
jmp 0x10031dbc
mov edx, dword [ebp - 0x278]
add edx, 1
mov dword [ebp - 0x278], edx
cmp dword [ebp - 0x298], 0
je 0x10031dd6
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x298], ecx
jmp 0x10031dad
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0xc], 0
je 0x10032175
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0xc]
movsx ecx, byte [eax + ecx]
test ecx, ecx
je 0x10032175
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0xc]
push eax
lea ecx, [ebp - 0x308]
call fcn.10003f60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x308]
push ecx
call fcn.10031440
add esp, 4
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x308]
call fcn.10003ed0
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x34], 6
jne 0x10031ee0
mov eax, 1
imul ecx, eax, 5
mov edx, dword [ebp - 0x274]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
shl ecx, 2
mov edx, dword [ebp - 0x274]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
imul edx, ecx, 3
mov eax, dword [ebp - 0x274]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 0x274]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x274]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x274]
movzx edx, byte [ecx + eax + 0x2c]
push edx
push str._02X__02X__02X__02X__02X__02X
lea eax, [ebp - 0x218]
push eax
call fcn.100325e0
add esp, 0x20
jmp 0x10031fa3
mov ecx, dword [ebp - 0x274]
cmp dword [ecx + 0x34], 8
jne 0x10031fa3
mov edx, 1
imul eax, edx, 7
mov ecx, dword [ebp - 0x274]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
imul ecx, eax, 6
mov edx, dword [ebp - 0x274]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
imul edx, ecx, 5
mov eax, dword [ebp - 0x274]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
shl edx, 2
mov eax, dword [ebp - 0x274]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
imul eax, edx, 3
mov ecx, dword [ebp - 0x274]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 0x274]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x274]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x274]
movzx eax, byte [edx + ecx + 0x2c]
push eax
push str._02X__02X__02X__02X__02X__02X__02X__02X
lea ecx, [ebp - 0x218]
push ecx
call fcn.100325e0
add esp, 0x28
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x258]
call fcn.1001ad20
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x29c], ecx
mov edx, dword [ebp - 0x29c]
add edx, 2
mov dword [ebp - 0x2d8], edx
mov eax, dword [ebp - 0x29c]
mov cx, word [eax]
mov word [ebp - 0x2ae], cx
add dword [ebp - 0x29c], 2
cmp word [ebp - 0x2ae], 0
jne 0x10031fd3
mov edx, dword [ebp - 0x29c]
sub edx, dword [ebp - 0x2d8]
sar edx, 1
mov dword [ebp - 0x2dc], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x2dc]
push eax
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x24]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x2b8]
add eax, 1
push eax
call fcn.10053757
add esp, 4
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x2b8]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x284]
push eax
call fcn.1009f7e0
add esp, 0xc
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x2a0], edx
mov eax, dword [ebp - 0x2a0]
add eax, 2
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2a0]
mov dx, word [ecx]
mov word [ebp - 0x2b0], dx
add dword [ebp - 0x2a0], 2
cmp word [ebp - 0x2b0], 0
jne 0x1003208e
mov eax, dword [ebp - 0x2a0]
sub eax, dword [ebp - 0x2e4]
sar eax, 1
mov dword [ebp - 0x2e8], eax
push 0
push 0
mov ecx, dword [ebp - 0x2b8]
push ecx
mov edx, dword [ebp - 0x284]
push edx
mov eax, dword [ebp - 0x2e8]
push eax
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x24]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x284]
push eax
lea ecx, [ebp - 0x240]
call fcn.1001ad20
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x2bc], edx
mov eax, dword [ebp - 0x2bc]
push eax
call fcn.1005320b
add esp, 4
cmp dword [ebp - 0x2bc], 0
jne 0x10032150
mov dword [ebp - 0x2ec], 0
jmp 0x10032166
mov dword [ebp - 0x284], 0x8123
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x2ec], ecx
lea edx, [ebp - 0x258]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10032420
mov dword [ebp - 0x278], 0
jmp 0x10032190
mov eax, dword [ebp - 0x278]
add eax, 1
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0x10
jae 0x1003219b
jmp 0x10032181
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x8c]
mov dword [ebp - 0x2a4], edx
cmp dword [ebp - 0x2a4], 0
je 0x100321eb
mov dword [ebp - 0x278], 0
jmp 0x100321d1
mov eax, dword [ebp - 0x278]
add eax, 1
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x2a4], 0
je 0x100321eb
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x2a4], edx
jmp 0x100321c2
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x274], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.10006a00
jmp 0x10031c83
jmp 0x10032229
push 4
push str.:1:_d
lea edx, [ebp - 0x114]
push edx
call fcn.100325e0
add esp, 0xc
cmp dword [ebp - 0x27c], 0
je 0x10032248
mov eax, dword [ebp - 0x27c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x2ac], 0x101d7856
mov edx, dword [ebp - 0x2ac]
mov al, byte [edx]
mov byte [ebp - 0x27e], al
mov ecx, dword [ebp - 0x2a8]
cmp al, byte [ecx]
jne 0x100322bc
cmp byte [ebp - 0x27e], 0
je 0x100322b0
mov edx, dword [ebp - 0x2ac]
mov al, byte [edx + 1]
mov byte [ebp - 0x27d], al
mov ecx, dword [ebp - 0x2a8]
cmp al, byte [ecx + 1]
jne 0x100322bc
add dword [ebp - 0x2ac], 2
add dword [ebp - 0x2a8], 2
cmp byte [ebp - 0x27d], 0
jne 0x1003225e
mov dword [ebp - 0x2c0], 0
jmp 0x100322c7
sbb edx, edx
or edx, 1
mov dword [ebp - 0x2c0], edx
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0
je 0x10032338
push 4
push str.:2:_d
lea ecx, [ebp - 0x114]
push ecx
call fcn.100325e0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.100323a0
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x270]
push eax
call fcn.10031690
add esp, 8
lea ecx, [ebp - 0x270]
call fcn.10003db0
push eax
push 0x101db3f0
lea ecx, [ebp - 0x114]
push ecx
call fcn.100325e0
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.10003ed0
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp + 8]
call fcn.10003f60
mov eax, dword [ebp - 0x2c4]
or eax, 1
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret