Function at 0x4014a0
Capabilities:
Check os version
Get local ipv4 addresses
Get mac address on windows
Get networking parameters
Get process heap flags
Get process heap force flags
Initialize winsock library
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x1a8]
push ebx
push ecx
sub esp, 0x418
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [esp + 4], eax
mov dword [esp], 0x202
call dword [sym.imp.ws2_32.dll_WSAStartup]
sub esp, 8
test eax, eax
jne 0x4015b0
mov edi, eax
cmp ebx, 1
jle 0x401550
mov eax, dword [esi + 4]
mov dword [esp], 0x404066
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x40152d
mov eax, dword [esi + 4]
mov dword [esp], 0x40406c
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
jne 0x401523
mov edx, dword [esi + 8]
test edx, edx
je 0x4015c8
mov eax, 0x66
call sym._ipconfig_message
mov eax, 0x65
mov edi, 1
call sym._ipconfig_message
call dword [sym.imp.ws2_32.dll_WSACleanup]
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
lea ebx, [ebp - 0x3c8]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0
mov dword [ebp - 0x3c8], 0
call sym._GetAdaptersAddresses_20
sub esp, 0x14
cmp eax, 0x6f
je 0x4018f0
call dword [sym.imp.ws2_32.dll_WSACleanup]
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
lea esp, [ebp - 0x10]
mov edi, 1
pop ecx
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
lea ebx, [ebp - 0x3bc]
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [ebp - 0x3bc], 0
call sym._GetNetworkParams_8
sub esp, 8
cmp eax, 0x6f
je 0x401df0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0
call sym._GetAdaptersAddresses_20
sub esp, 0x14
cmp eax, 0x6f
jne 0x401594
mov edx, dword [ebp - 0x3bc]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x3f8], eax
sub esp, 0xc
test eax, eax
je 0x402001
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0
call sym._GetAdaptersAddresses_20
sub esp, 0x14
test eax, eax
jne 0x401cc6
lea ebx, [ebp - 0x3b8]
mov eax, dword [ebp - 0x3f8]
mov dword [ebp - 0x3fc], edi
mov dword [ebp - 0x3dc], ebx
mov ebx, dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov edi, eax
mov dword [ebp - 0x3e0], ebx
mov ebx, dword [sym.imp.user32.dll_LoadStringW]
mov dword [ebp - 0x3e4], ebx
lea esi, [esi]
mov eax, dword [edi + 0x40]
mov esi, dword [edi + 0x28]
mov ebx, 0x68
cmp eax, 6
je 0x4016e3
xor ebx, ebx
cmp eax, 0x18
setne bl
add ebx, 0x68
mov dword [esp], 0
mov eax, dword [ebp - 0x3e0]
call eax
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x3e4]
mov dword [esp + 0xc], 0x32
mov dword [esp + 8], 0x403020
mov dword [esp + 4], ebx
call eax
sub esp, 0x10
mov dword [esp + 8], esi
mov dword [esp + 4], 0x403020
mov dword [esp], 0x67
call sym._ipconfig_message_printfW.constprop.0
mov dword [esp], 0x404076
call sym._ipconfig_printfW
mov edx, dword [edi + 0x20]
mov eax, 0x6a
call sym._print_field
mov edx, dword [edi + 0x24]
mov eax, 0x73
call sym._print_field
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x3e8], eax
test eax, eax
je 0x401cf8
dec eax
lea ebx, [edi + 0x2c]
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x3ec], ebx
je 0x4017ec
mov eax, dword [ebp - 0x3e8]
mov ebx, dword [ebp - 0x3dc]
mov dword [ebp - 0x3f4], edi
mov esi, dword [ebp - 0x3ec]
lea eax, [edi + eax + 0x2b]
mov edi, ebx
mov ebx, eax
nop
movzx eax, byte [esi]
mov dword [esp], edi
inc esi
add edi, 6
mov dword [esp + 8], str._02X_
mov dword [esp + 0xc], eax
mov dword [esp + 4], 4
call sym._swprintf
cmp ebx, esi
jne 0x4017a0
mov eax, dword [ebp - 0x3e8]
mov ecx, dword [ebp - 0x3f0]
add dword [ebp - 0x3ec], ecx
mov ebx, dword [ebp - 0x3dc]
lea eax, [eax + eax*2]
mov edi, dword [ebp - 0x3f4]
lea eax, [ebx + eax*2 - 6]
mov ebx, dword [ebp - 0x3ec]
movzx edx, byte [ebx]
mov dword [esp + 8], str._02X
mov dword [esp + 4], 3
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym._swprintf
mov edx, dword [ebp - 0x3dc]
mov eax, 0x74
xor ebx, ebx
call sym._print_field
test byte [edi + 0x38], 4
mov eax, dword [ebp - 0x3e0]
mov dword [esp], 0
sete bl
call eax
add ebx, 0x76
sub esp, 4
mov dword [esp + 4], ebx
lea ebx, [ebp - 0x2b0]
mov dword [esp], eax
mov eax, dword [ebp - 0x3e4]
mov dword [esp + 0xc], 0xf
mov dword [esp + 8], 0x403000
call eax
mov edx, section..data
mov eax, 0x75
sub esp, 0x10
call sym._print_field
mov esi, dword [edi + 0x10]
test esi, esi
jne 0x40189d
jmp 0x401c90
cmp ax, 0x17
je 0x401b60
mov esi, dword [esi + 8]
test esi, esi
je 0x401c90
mov edx, dword [esi + 0xc]
movzx eax, word [edx]
cmp ax, 2
jne 0x401888
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x3d4]
mov dword [esp], edx
mov dword [ebp - 0x3d4], 0x36
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call dword [sym.imp.ws2_32.dll_WSAAddressToStringW]
sub esp, 0x14
test eax, eax
je 0x401ce0
mov edx, dword [esi + 0xc]
movzx eax, word [edx]
jmp 0x401888
mov edx, dword [ebp - 0x3c8]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x3f0], eax
sub esp, 0xc
test eax, eax
je 0x402001
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0
call sym._GetAdaptersAddresses_20
sub esp, 0x14
test eax, eax
jne 0x401b12
mov ebx, dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x3f4], edi
mov dword [ebp - 0x3e0], ebx
mov ebx, dword [sym.imp.user32.dll_LoadStringW]
mov edi, eax
mov dword [ebp - 0x3e4], ebx
lea esi, [esi]
mov eax, dword [edi + 0x40]
mov esi, dword [edi + 0x28]
mov ebx, 0x68
cmp eax, 6
je 0x40199b
xor ebx, ebx
cmp eax, 0x18
setne bl
add ebx, 0x68
mov dword [esp], 0
mov eax, dword [ebp - 0x3e0]
call eax
sub esp, 4
mov dword [esp + 4], ebx
lea ebx, [ebp - 0x2b0]
mov dword [esp], eax
mov eax, dword [ebp - 0x3e4]
mov dword [esp + 0xc], 0x32
mov dword [esp + 8], 0x403020
call eax
sub esp, 0x10
mov dword [esp + 8], esi
mov dword [esp + 4], 0x403020
mov dword [esp], 0x67
call sym._ipconfig_message_printfW.constprop.0
mov dword [esp], 0x404076
call sym._ipconfig_printfW
mov edx, dword [edi + 0x20]
mov eax, 0x6a
call sym._print_field
mov esi, dword [edi + 0x10]
test esi, esi
jne 0x401a29
jmp 0x401ad8
cmp ax, 0x17
je 0x401a80
mov esi, dword [esi + 8]
test esi, esi
je 0x401ad8
mov edx, dword [esi + 0xc]
movzx eax, word [edx]
cmp ax, 2
jne 0x401a18
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x3c4]
mov dword [esp], edx
mov dword [ebp - 0x3c4], 0x36
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call dword [sym.imp.ws2_32.dll_WSAAddressToStringW]
sub esp, 0x14
test eax, eax
je 0x401b48
mov edx, dword [esi + 0xc]
movzx eax, word [edx]
cmp ax, 0x17
jne 0x401a1e
lea esi, [esi]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x3c0]
mov dword [esp], edx
mov dword [ebp - 0x3c0], 0x36
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call dword [sym.imp.ws2_32.dll_WSAAddressToStringW]
sub esp, 0x14
test eax, eax
jne 0x401a1e
mov edx, ebx
mov eax, 0x79
call sym._print_field
mov esi, dword [esi + 8]
test esi, esi
jne 0x401a29
lea esi, [esi]
mov eax, dword [edi + 0xa4]
test eax, eax
jne 0x401bb0
mov edx, 0x4040e8
mov eax, 0x78
call sym._print_field
mov dword [esp], 0x404076
call sym._ipconfig_printfW
mov edi, dword [edi + 8]
test edi, edi
jne 0x401980
mov edi, dword [ebp - 0x3f4]
mov ebx, dword [ebp - 0x3f0]
mov eax, dword fs:[0x18]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x401594
mov edx, ebx
mov eax, 0x6b
call sym._print_field
jmp 0x401a1e
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x3d0]
mov dword [esp], edx
mov dword [ebp - 0x3d0], 0x36
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call dword [sym.imp.ws2_32.dll_WSAAddressToStringW]
sub esp, 0x14
test eax, eax
jne 0x401892
mov edx, ebx
mov eax, 0x79
call sym._print_field
jmp 0x401892
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x3bc]
lea ebx, [ebp - 0x2b0]
mov dword [ebp - 0x3bc], 0x36
mov dword [esp + 4], eax
mov eax, dword [sym.imp.ws2_32.dll_WSAAddressToStringW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp], edx
mov dword [ebp - 0x3e8], eax
call eax
sub esp, 0x14
test eax, eax
je 0x401dd8
mov eax, dword [edi + 0xa4]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x3b8]
mov dword [ebp - 0x3dc], eax
test esi, esi
je 0x401af5
mov dword [ebp - 0x3ec], edi
mov edi, dword [ebp - 0x3e8]
jmp 0x401c37
mov esi, dword [esi + 8]
test esi, esi
je 0x401c80
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xc], ebx
mov edx, dword [ebp - 0x3dc]
mov dword [esp + 8], 0
mov dword [ebp - 0x3b8], 0x36
mov dword [esp + 0x10], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call edi
sub esp, 0x14
test eax, eax
jne 0x401c30
mov dword [esp + 4], ebx
mov dword [esp], str._________________________________________1_n
call sym._ipconfig_printfW
jmp 0x401c30
mov edi, dword [ebp - 0x3ec]
jmp 0x401af5
mov eax, dword [edi + 0xa4]
test eax, eax
jne 0x401d10
mov edx, 0x4040e8
mov eax, 0x78
call sym._print_field
mov dword [esp], 0x404076
call sym._ipconfig_printfW
mov edi, dword [edi + 8]
test edi, edi
jne 0x4016c8
mov edi, dword [ebp - 0x3fc]
mov ebx, dword [ebp - 0x3f8]
mov eax, dword fs:[0x18]
jmp 0x401b1e
mov edx, ebx
mov eax, 0x6b
call sym._print_field
jmp 0x401892
xor eax, eax
mov word [ebp - 0x3b8], ax
jmp 0x401811
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x3cc]
lea ebx, [ebp - 0x2b0]
mov dword [ebp - 0x3cc], 0x36
mov dword [esp + 4], eax
mov eax, dword [sym.imp.ws2_32.dll_WSAAddressToStringW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp], edx
mov dword [ebp - 0x3e8], eax
call eax
sub esp, 0x14
test eax, eax
je 0x401e6b
mov eax, dword [edi + 0xa4]
mov esi, dword [eax + 8]
test esi, esi
je 0x401ca9
mov dword [ebp - 0x3ec], edi
mov edi, esi
mov esi, dword [ebp - 0x3e8]
jmp 0x401d8b
mov edi, dword [edi + 8]
test edi, edi
je 0x401e60
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x3c8]
mov dword [esp + 0xc], ebx
mov dword [ebp - 0x3c8], 0x36
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call esi
sub esp, 0x14
test eax, eax
jne 0x401d80
mov dword [esp + 4], ebx
mov dword [esp], str._________________________________________1_n
call sym._ipconfig_printfW
jmp 0x401d80
mov edx, ebx
mov eax, 0x78
call sym._print_field
jmp 0x401bfb
mov edx, dword [ebp - 0x3bc]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x402001
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._GetNetworkParams_8
sub esp, 8
test eax, eax
je 0x401e7c
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x4015f4
mov edi, dword [ebp - 0x3ec]
jmp 0x401ca9
mov edx, ebx
mov eax, 0x78
call sym._print_field
jmp 0x401d5b
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x3b8]
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0x84
mov dword [ebp - 0x3e0], ecx
mov dword [ebp - 0x3dc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call ecx
mov edx, dword [ebp - 0x3dc]
mov eax, 0x6c
sub esp, 0x18
call sym._print_field
lea edx, [ebp - 0x2b0]
lea eax, [esi + 0x84]
mov ecx, dword [ebp - 0x3e0]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x84
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call ecx
lea edx, [ebp - 0x2b0]
mov eax, 0x7a
sub esp, 0x18
call sym._print_field
mov eax, dword [esi + 0x134]
mov edx, 0x69
dec eax
cmp eax, 7
ja 0x401f36
mov edx, dword [eax*4 + str.noipiiiq]
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov dword [ebp - 0x3dc], edx
mov dword [esp], 0
mov dword [ebp - 0x3e0], eax
call eax
mov ecx, dword [sym.imp.user32.dll_LoadStringW]
mov edx, dword [ebp - 0x3dc]
sub esp, 4
mov dword [ebp - 0x3e4], ecx
mov dword [esp + 4], edx
mov dword [esp + 0xc], 0x32
mov dword [esp + 8], 0x4030a0
mov dword [esp], eax
call ecx
mov edx, 0x4030a0
mov eax, 0x6d
sub esp, 0x10
call sym._print_field
mov eax, 0x76
cmp dword [esi + 0x23c], 1
mov dword [esp], 0
mov edx, eax
mov eax, dword [ebp - 0x3e0]
adc edx, 0
mov dword [ebp - 0x3dc], edx
call eax
mov edx, dword [ebp - 0x3dc]
mov ecx, dword [ebp - 0x3e4]
sub esp, 4
mov dword [esp + 4], edx
mov dword [esp + 0xc], 0xf
mov dword [esp + 8], 0x403000
mov dword [esp], eax
call ecx
mov edx, section..data
mov eax, 0x72
sub esp, 0x10
call sym._print_field
mov dword [esp], 0x404076
call sym._ipconfig_printfW
jmp 0x401e37
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_exit]
nop
nop