Function at 0x100178b0
Capabilities:
Access peb ldr_data
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x10029781
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x1003b030]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003b030]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2f8]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2fc]
push ecx
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov edi, eax
mov eax, dword [0x1004130c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1004130c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x2f0], ebx
mov eax, dword [0x1004130c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1004130c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2f0], 1
xor eax, eax
mov dword [esp + 0x2d1], eax
mov dword [esp + 0x2d5], eax
mov dword [esp + 0x2d9], eax
mov dword [esp + 0x2dd], eax
mov word [esp + 0x2e1], ax
mov byte [esp + 0x2e3], al
mov eax, dword [0x1004130c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1004130c
mov byte [esp + 0x2d0], bl
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x2f0], 2
cmp edi, 0x6f
jne 0x10017cb0
mov eax, dword [esp + 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [esp + 0x24]
push ecx
mov edi, eax
push ebx
push edi
mov dword [esp + 0x40], edi
call fcn.1001a120
add esp, 0xc
cmp edi, ebx
je 0x10017c83
lea edx, [esp + 0x24]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [esp + 0x3c], eax
mov ebp, edi
jmp 0x10017a00
lea ebx, [ebp + 0x1b0]
lea eax, [esp + 0x2c]
call fcn.10003090
lea ebx, [ebp + 0x1c0]
lea eax, [esp + 0x18]
call fcn.10003090
mov ebx, dword [esp + 0x38]
mov byte [esp + 0x2d0], 0
test ebx, ebx
je 0x10017a63
xor esi, esi
cmp dword [ebp + 0x190], esi
jbe 0x10017a63
lea edi, [esp + 0x2d0]
nop
movzx eax, byte [esi + ebp + 0x194]
push eax
push 0x10037a20
push edi
call fcn.10019715
inc esi
add esp, 0xc
add edi, 2
cmp esi, dword [ebp + 0x190]
jb 0x10017a40
mov esi, dword [esp + 0x2c]
cmp dword [esi - 0xc], 0
jl 0x10017aab
push 0x10037a70
push esi
call fcn.1001923c
add esp, 8
test eax, eax
je 0x10017a89
sub eax, esi
sar eax, 1
jns 0x10017bd4
cmp dword [esi - 0xc], 0
jl 0x10017aab
push 0x10037a80
push esi
call fcn.1001923c
add esp, 8
test eax, eax
je 0x10017aab
sub eax, esi
sar eax, 1
jns 0x10017bd4
lea ecx, [esp + 0x2d0]
push 0x10037a90
push ecx
call fcn.10019ae0
add esp, 8
test eax, eax
jne 0x10017bd4
cmp dword [esi - 0xc], eax
jl 0x10017b21
push 0x10037a9c
push esi
call fcn.1001923c
add esp, 8
test eax, eax
je 0x10017ae5
sub eax, esi
sar eax, 1
jns 0x10017b4f
cmp dword [esi - 0xc], 0
jl 0x10017b21
push 0x10037aa8
push esi
call fcn.1001923c
add esp, 8
test eax, eax
je 0x10017b03
sub eax, esi
sar eax, 1
jns 0x10017b4f
cmp dword [esi - 0xc], 0
jl 0x10017b21
push 0x10037ab0
push esi
call fcn.1001923c
add esp, 8
test eax, eax
je 0x10017b21
sub eax, esi
sar eax, 1
jns 0x10017b4f
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0
jl 0x10017bd4
push 0x10037abc
push edi
call fcn.1001923c
add esp, 8
test eax, eax
je 0x10017bd4
sub eax, edi
sar eax, 1
js 0x10017bd4
test ebx, ebx
je 0x10017b6a
lea eax, [esp + 0x2d0]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x10017b60
mov edi, dword [esp + 0x30]
test edi, edi
je 0x10017b8c
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
call fcn.100035c0
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi], eax
mov edi, dword [esp + 0x28]
test edi, edi
je 0x10017bac
mov ebx, esi
lea eax, [esp + 0x1c]
call fcn.100035c0
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi], eax
lea edx, [ebp + 0x1d8]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10017bb7
mov ecx, dword [esp + 0x40]
sub eax, edi
push eax
push edx
call fcn.100046d0
mov ecx, dword [esp + 0x28]
cmp byte [ecx], 0xc0
je 0x10017bdf
mov ebp, dword [ebp]
test ebp, ebp
jne 0x10017a00
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
push edx
push 0
add edi, 0xf0000000
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x10017cb8
mov byte [esp + 0x2f0], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10017c2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2f0], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10017c55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x2f0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10017c7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x10017d3d
lea eax, [ebp - 0x10]
mov byte [esp + 0x2f0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10017ca7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2f0], bl
jmp 0x10017c35
add edi, 0xe0000000
jmp 0x10017cbe
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
xor ecx, ecx
cmp edi, ebx
sete cl
lea eax, [ebp - 0x10]
mov byte [esp + 0x2f0], 1
lea edx, [eax + 0xc]
mov edi, ecx
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10017ced
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2f0], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10017d14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x2f0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10017d3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.100186a4
add esp, 0x2e0
ret 8