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

Disassembly:
push 0xffffffffffffffff
push 0x429d51
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 0x4184b0
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.0041a890
add esp, 0xc
cmp edi, ebx
je 0x418483
lea edx, [esp + 0x24]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [esp + 0x3c], eax
mov ebp, edi
jmp 0x418200
lea ebx, [ebp + 0x1b0]
lea eax, [esp + 0x2c]
call fcn.004031f0
lea ebx, [ebp + 0x1c0]
lea eax, [esp + 0x18]
call fcn.004031f0
mov ebx, dword [esp + 0x38]
mov byte [esp + 0x2d0], 0
test ebx, ebx
je 0x418263
xor esi, esi
cmp dword [ebp + 0x190], esi
jbe 0x418263
lea edi, [esp + 0x2d0]
nop
movzx eax, byte [esi + ebp + 0x194]
push eax
push 0x437b24
push edi
call fcn.0041a0c5
inc esi
add esp, 0xc
add edi, 2
cmp esi, dword [ebp + 0x190]
jb 0x418240
mov esi, dword [esp + 0x2c]
cmp dword [esi - 0xc], 0
jl 0x4182ab
push 0x437b74
push esi
call fcn.00419c43
add esp, 8
test eax, eax
je 0x418289
sub eax, esi
sar eax, 1
jns 0x4183d4
cmp dword [esi - 0xc], 0
jl 0x4182ab
push 0x437b84
push esi
call fcn.00419c43
add esp, 8
test eax, eax
je 0x4182ab
sub eax, esi
sar eax, 1
jns 0x4183d4
lea ecx, [esp + 0x2d0]
push 0x437b94
push ecx
call fcn.0041a490
add esp, 8
test eax, eax
jne 0x4183d4
cmp dword [esi - 0xc], eax
jl 0x418321
push 0x437ba0
push esi
call fcn.00419c43
add esp, 8
test eax, eax
je 0x4182e5
sub eax, esi
sar eax, 1
jns 0x41834f
cmp dword [esi - 0xc], 0
jl 0x418321
push 0x437bac
push esi
call fcn.00419c43
add esp, 8
test eax, eax
je 0x418303
sub eax, esi
sar eax, 1
jns 0x41834f
cmp dword [esi - 0xc], 0
jl 0x418321
push 0x437bb4
push esi
call fcn.00419c43
add esp, 8
test eax, eax
je 0x418321
sub eax, esi
sar eax, 1
jns 0x41834f
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0
jl 0x4183d4
push 0x437bc0
push edi
call fcn.00419c43
add esp, 8
test eax, eax
je 0x4183d4
sub eax, edi
sar eax, 1
js 0x4183d4
test ebx, ebx
je 0x41836a
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 0x418360
mov edi, dword [esp + 0x30]
test edi, edi
je 0x41838c
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
call fcn.00403710
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 0x4183ac
mov ebx, esi
lea eax, [esp + 0x1c]
call fcn.00403710
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 0x4183b7
mov ecx, dword [esp + 0x40]
sub eax, edi
push eax
push edx
call fcn.004047e0
mov ecx, dword [esp + 0x28]
cmp byte [ecx], 0xc0
je 0x4183df
mov ebp, dword [ebp]
test ebp, ebp
jne 0x418200
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 0x4184b8
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 0x41842d
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 0x418455
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 0x41847c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41853d
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 0x4184a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2f0], bl
jmp 0x418435
add edi, 0xe0000000
jmp 0x4184be
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 0x4184ed
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 0x418514
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 0x41853b
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.00419054
add esp, 0x2e0
ret 8