Function at 0x436d10
Capabilities:
Get local ipv4 addresses
Get mac address on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x288
mov dword [ebp - 4], 0x288
call edi
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x436f51
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 4]
push eax
push ebx
call esi
cmp eax, 0x6f
jne 0x436d6e
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push dword [ebp - 4]
call edi
mov ebx, eax
mov dword [ebp - 0x10], eax
add esp, 4
test ebx, ebx
je 0x436f51
lea eax, [ebp - 4]
push eax
push ebx
call esi
test eax, eax
jne 0x436f2e
mov esi, ebx
test ebx, ebx
je 0x436f5e
nop word [eax + eax]
cmp dword [esi + 0x1a0], 6
jne 0x436f08
lea ebx, [esi + 8]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436da5
sub ecx, edx
lea edi, [ecx + 0xd]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [esi + 0x190]
add esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ecx*2 + 1]
add eax, ecx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword [ebp - 8], eax
test ecx, ecx
je 0x436f26
test eax, eax
je 0x436f26
push ebx
push str.DeviceNPF__s
push edi
push ecx
call fcn.00404800
mov eax, dword [esi + 0x190]
add esp, 0x10
xor edi, edi
test eax, eax
je 0x436e55
xor ebx, ebx
nop
mov edx, dword [ebp - 0x14]
lea ecx, [esi + edi]
sub edx, ebx
dec eax
mov dword [ebp - 0x18], edx
mov edx, str._.2X
cmp edi, eax
je 0x436e2a
mov edx, str._.2X_
movzx eax, byte [ecx + 0x194]
push eax
mov eax, dword [ebp - 8]
push edx
push dword [ebp - 0x18]
add eax, ebx
push eax
call fcn.00404800
mov eax, dword [esi + 0x190]
inc edi
add esp, 0x10
add ebx, 3
cmp edi, eax
jb 0x436e10
lea ebx, [esi + 8]
mov eax, dword [0x45bdac]
mov ecx, dword [ebp - 8]
mov dword [eax*8 + 0x4dc420], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax*8 + 0x4dc424], ecx
inc eax
mov dword [0x45bdac], eax
mov eax, ebx
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436e80
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
sub eax, edx
add eax, 0xd
push eax
mov dword [ebp - 0x18], eax
call edi
lea ecx, [esi + 0x1b0]
add esp, 4
mov ebx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436ea6
sub ecx, edx
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x14], eax
call edi
add esp, 4
mov edi, eax
test ebx, ebx
je 0x436f26
test edi, edi
je 0x436f26
lea eax, [esi + 8]
push eax
push str.DeviceNPF__s
push dword [ebp - 0x18]
push ebx
call fcn.00404800
lea eax, [esi + 0x1b0]
push eax
push 0x44af14
push dword [ebp - 0x14]
push edi
call fcn.00404800
mov eax, dword [0x45bdac]
add esp, 0x20
mov dword [eax*8 + 0x4dc420], edi
mov dword [eax*8 + 0x4dc424], ebx
inc eax
mov dword [0x45bdac], eax
mov esi, dword [esi]
test esi, esi
jne 0x436d90
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push eax
push str.GetAdaptersInfo_failed_with_error:__u_n
call fcn.00401330
add esp, 8
test ebx, ebx
je 0x436f5e
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.00401330
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret