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

Disassembly:
push 0xffffffffffffffff
push 0x429b51
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x43b14c]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43b14c]
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 [0x44130c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44130c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x2f0], ebx
mov eax, dword [0x44130c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44130c
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 [0x44130c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44130c
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 0x418250
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.0041a630
add esp, 0xc
cmp edi, ebx
je 0x418223
lea edx, [esp + 0x24]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [esp + 0x3c], eax
mov ebp, edi
jmp 0x417fa0
lea ebx, [ebp + 0x1b0]
lea eax, [esp + 0x2c]
call fcn.004032a0
lea ebx, [ebp + 0x1c0]
lea eax, [esp + 0x18]
call fcn.004032a0
mov ebx, dword [esp + 0x38]
mov byte [esp + 0x2d0], 0
test ebx, ebx
je 0x418003
xor esi, esi
cmp dword [ebp + 0x190], esi
jbe 0x418003
lea edi, [esp + 0x2d0]
nop
movzx eax, byte [esi + ebp + 0x194]
push eax
push 0x437a58
push edi
call fcn.00419e65
inc esi
add esp, 0xc
add edi, 2
cmp esi, dword [ebp + 0x190]
jb 0x417fe0
mov esi, dword [esp + 0x2c]
cmp dword [esi - 0xc], 0
jl 0x41804b
push 0x437aa8
push esi
call fcn.0041998c
add esp, 8
test eax, eax
je 0x418029
sub eax, esi
sar eax, 1
jns 0x418174
cmp dword [esi - 0xc], 0
jl 0x41804b
push 0x437ab8
push esi
call fcn.0041998c
add esp, 8
test eax, eax
je 0x41804b
sub eax, esi
sar eax, 1
jns 0x418174
lea ecx, [esp + 0x2d0]
push 0x437ac8
push ecx
call fcn.0041a230
add esp, 8
test eax, eax
jne 0x418174
cmp dword [esi - 0xc], eax
jl 0x4180c1
push 0x437ad4
push esi
call fcn.0041998c
add esp, 8
test eax, eax
je 0x418085
sub eax, esi
sar eax, 1
jns 0x4180ef
cmp dword [esi - 0xc], 0
jl 0x4180c1
push 0x437ae0
push esi
call fcn.0041998c
add esp, 8
test eax, eax
je 0x4180a3
sub eax, esi
sar eax, 1
jns 0x4180ef
cmp dword [esi - 0xc], 0
jl 0x4180c1
push 0x437ae8
push esi
call fcn.0041998c
add esp, 8
test eax, eax
je 0x4180c1
sub eax, esi
sar eax, 1
jns 0x4180ef
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0
jl 0x418174
push 0x437af4
push edi
call fcn.0041998c
add esp, 8
test eax, eax
je 0x418174
sub eax, edi
sar eax, 1
js 0x418174
test ebx, ebx
je 0x41810a
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 0x418100
mov edi, dword [esp + 0x30]
test edi, edi
je 0x41812c
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
call fcn.004030d0
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 0x41814c
mov ebx, esi
lea eax, [esp + 0x1c]
call fcn.004030d0
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 0x418157
mov ecx, dword [esp + 0x40]
sub eax, edi
push eax
push edx
call fcn.00404790
mov ecx, dword [esp + 0x28]
cmp byte [ecx], 0xc0
je 0x41817f
mov ebp, dword [ebp]
test ebp, ebp
jne 0x417fa0
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 0x418258
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 0x4181cd
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 0x4181f5
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 0x41821c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4182dd
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 0x418247
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2f0], bl
jmp 0x4181d5
add edi, 0xe0000000
jmp 0x41825e
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 0x41828d
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 0x4182b4
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 0x4182db
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.00418df4
add esp, 0x2e0
ret 8