Function at 0x4189a0
Capabilities:
Access peb ldr_data
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x4349f1
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x449654]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449654]
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 + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], 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 + 0x28], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov esi, eax
mov eax, dword [0x44f98c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44f98c
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2f0], ebx
mov eax, dword [0x44f98c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44f98c
call edx
add eax, 0x10
mov dword [esp + 0x14], 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 [0x44f98c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44f98c
mov byte [esp + 0x2d0], bl
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x2f0], 2
cmp esi, 0x6f
jne 0x418eed
mov eax, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [esp + 0x20]
push ecx
mov esi, eax
push ebx
push esi
mov dword [esp + 0x40], esi
call fcn.0041ea30
add esp, 0xc
cmp esi, ebx
je 0x418ed0
lea edx, [esp + 0x20]
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], esi
lea esp, [esp]
mov ebp, dword [esp + 0x18]
add ebp, 0x1b0
cmp ebp, ebx
je 0x418b55
push ebx
push ebx
push 0xffffffffffffffff
push ebp
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
dec esi
cmp esi, ebx
jle 0x418b55
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x418b33
mov eax, esi
lea ecx, [esp + 0x28]
call fcn.00401505
mov edi, dword [esp + 0x28]
push esi
push edi
push 0xffffffffffffffff
push ebp
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp esi, dword [edi - 8]
jg 0x418ec6
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
jmp 0x418ba1
mov esi, dword [edi - 0x10]
cmp dword [edi - 0xc], ebx
lea eax, [edi - 0x10]
je 0x418ba1
cmp dword [eax + 0xc], ebx
lea ecx, [eax + 0xc]
jge 0x418b7b
cmp dword [edi - 8], ebx
jl 0x418ec6
xor ecx, ecx
mov dword [edi - 0xc], ebx
mov word [edi], cx
jmp 0x418ba1
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
mov ebp, dword [esp + 0x18]
add ebp, 0x1c0
cmp ebp, ebx
je 0x418c10
push ebx
push ebx
push 0xffffffffffffffff
push ebp
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
dec esi
cmp esi, ebx
jle 0x418c10
mov eax, dword [esp + 0x14]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x418be4
mov eax, esi
lea ecx, [esp + 0x14]
call fcn.00401505
mov ecx, dword [esp + 0x14]
push esi
push ecx
push 0xffffffffffffffff
push ebp
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [esp + 0x14]
cmp esi, dword [edx - 8]
jg 0x418ec6
mov eax, edx
xor ecx, ecx
mov dword [eax - 0xc], esi
mov word [eax + esi*2], cx
jmp 0x418c60
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0x10]
cmp dword [edx - 0xc], ebx
lea eax, [edx - 0x10]
je 0x418c60
cmp dword [eax + 0xc], ebx
lea ecx, [eax + 0xc]
jge 0x418c3a
cmp dword [edx - 8], ebx
jl 0x418ec6
xor eax, eax
mov dword [edx - 0xc], ebx
mov word [edx], ax
jmp 0x418c60
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418c50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x2d0], bl
cmp dword [esp + 0x2c], ebx
je 0x418cad
mov ecx, dword [esp + 0x18]
xor esi, esi
cmp dword [ecx + 0x190], ebx
jbe 0x418cad
lea ebp, [esp + 0x2d0]
mov edx, dword [esp + 0x18]
movzx eax, byte [edx + esi + 0x194]
push eax
push 0x44344c
push ebp
call fcn.0041dea9
mov ecx, dword [esp + 0x24]
inc esi
add esp, 0xc
add ebp, 2
cmp esi, dword [ecx + 0x190]
jb 0x418c82
cmp dword [edi - 0xc], ebx
jl 0x418cef
push 0x4438f8
push edi
call fcn.0041d793
add esp, 8
cmp eax, ebx
je 0x418cce
sub eax, edi
sar eax, 1
jns 0x418e12
cmp dword [edi - 0xc], ebx
jl 0x418cef
push 0x443908
push edi
call fcn.0041d793
add esp, 8
cmp eax, ebx
je 0x418cef
sub eax, edi
sar eax, 1
jns 0x418e12
lea edx, [esp + 0x2d0]
push 0x443918
push edx
call fcn.0041e290
add esp, 8
test eax, eax
jne 0x418e12
cmp dword [edi - 0xc], ebx
jl 0x418d63
push 0x443924
push edi
call fcn.0041d793
add esp, 8
cmp eax, ebx
je 0x418d29
sub eax, edi
sar eax, 1
jns 0x418d79
cmp dword [edi - 0xc], ebx
jl 0x418d63
push 0x443930
push edi
call fcn.0041d793
add esp, 8
cmp eax, ebx
je 0x418d46
sub eax, edi
sar eax, 1
jns 0x418d79
cmp dword [edi - 0xc], ebx
jl 0x418d63
push 0x443938
push edi
call fcn.0041d793
add esp, 8
cmp eax, ebx
je 0x418d63
sub eax, edi
sar eax, 1
jns 0x418d79
push 0x443944
lea esi, [esp + 0x18]
call fcn.00409331
test eax, eax
jl 0x418e0a
mov edx, dword [esp + 0x2c]
cmp edx, ebx
je 0x418d9a
lea eax, [esp + 0x2d0]
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x418d90
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x418dbd
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x20]
call fcn.00402615
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi], eax
mov ebp, dword [esp + 0x38]
cmp ebp, ebx
je 0x418ddd
push edi
lea eax, [esp + 0x20]
call fcn.00402615
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp], eax
mov edx, dword [esp + 0x18]
add edx, 0x1d8
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418df0
mov ecx, dword [esp + 0x40]
sub eax, esi
push eax
push edx
call fcn.00403596
cmp byte [ebp], 0xc0
je 0x418e24
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
jmp 0x418e18
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x418af0
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
push ecx
push ebx
add esi, 0xf0000000
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x418ef3
mov byte [esp + 0x2f0], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418e71
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 + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x2f0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418ebf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x418f76
push 0x80070057
call fcn.00401641
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
jmp 0x418e65
add esi, 0xe0000000
xor ecx, ecx
cmp esi, ebx
sete cl
mov byte [esp + 0x2f0], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov esi, ecx
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418f26
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 + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418f4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x2f0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418f74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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.0041cb8e
add esp, 0x2e0
ret 8