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

Disassembly:
push 0xffffffffffffffff
push 0x428e11
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x43a14c]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43a14c]
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 [0x44030c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44030c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x2f0], ebx
mov eax, dword [0x44030c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44030c
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 [0x44030c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44030c
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 0x4175b0
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.00419910
add esp, 0xc
cmp edi, ebx
je 0x417583
lea edx, [esp + 0x24]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [esp + 0x3c], eax
mov ebp, edi
jmp 0x417300
lea ebx, [ebp + 0x1b0]
lea eax, [esp + 0x2c]
call fcn.00403600
lea ebx, [ebp + 0x1c0]
lea eax, [esp + 0x18]
call fcn.00403600
mov ebx, dword [esp + 0x38]
mov byte [esp + 0x2d0], 0
test ebx, ebx
je 0x417363
xor esi, esi
cmp dword [ebp + 0x190], esi
jbe 0x417363
lea edi, [esp + 0x2d0]
nop
movzx eax, byte [esi + ebp + 0x194]
push eax
push 0x4367e4
push edi
call fcn.004191c5
inc esi
add esp, 0xc
add edi, 2
cmp esi, dword [ebp + 0x190]
jb 0x417340
mov esi, dword [esp + 0x2c]
cmp dword [esi - 0xc], 0
jl 0x4173ab
push 0x436834
push esi
call fcn.00418dc3
add esp, 8
test eax, eax
je 0x417389
sub eax, esi
sar eax, 1
jns 0x4174d4
cmp dword [esi - 0xc], 0
jl 0x4173ab
push 0x436844
push esi
call fcn.00418dc3
add esp, 8
test eax, eax
je 0x4173ab
sub eax, esi
sar eax, 1
jns 0x4174d4
lea ecx, [esp + 0x2d0]
push 0x436854
push ecx
call fcn.00419590
add esp, 8
test eax, eax
jne 0x4174d4
cmp dword [esi - 0xc], eax
jl 0x417421
push 0x436860
push esi
call fcn.00418dc3
add esp, 8
test eax, eax
je 0x4173e5
sub eax, esi
sar eax, 1
jns 0x41744f
cmp dword [esi - 0xc], 0
jl 0x417421
push 0x43686c
push esi
call fcn.00418dc3
add esp, 8
test eax, eax
je 0x417403
sub eax, esi
sar eax, 1
jns 0x41744f
cmp dword [esi - 0xc], 0
jl 0x417421
push 0x436874
push esi
call fcn.00418dc3
add esp, 8
test eax, eax
je 0x417421
sub eax, esi
sar eax, 1
jns 0x41744f
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0
jl 0x4174d4
push 0x436880
push edi
call fcn.00418dc3
add esp, 8
test eax, eax
je 0x4174d4
sub eax, edi
sar eax, 1
js 0x4174d4
test ebx, ebx
je 0x41746a
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 0x417460
mov edi, dword [esp + 0x30]
test edi, edi
je 0x41748c
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
call fcn.00403b60
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 0x4174ac
mov ebx, esi
lea eax, [esp + 0x1c]
call fcn.00403b60
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 0x4174b7
mov ecx, dword [esp + 0x40]
sub eax, edi
push eax
push edx
call fcn.004056d0
mov ecx, dword [esp + 0x28]
cmp byte [ecx], 0xc0
je 0x4174df
mov ebp, dword [ebp]
test ebp, ebp
jne 0x417300
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 0x4175b8
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 0x41752d
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 0x417555
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 0x41757c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41763d
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 0x4175a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2f0], bl
jmp 0x417535
add edi, 0xe0000000
jmp 0x4175be
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 0x4175ed
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 0x417614
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 0x41763b
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.00418154
add esp, 0x2e0
ret 8