Function at 0x4353d0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov al, byte [esi]
lea edx, [ebx + 1]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
test al, al
je 0x435433
cmp al, 0x30
jl 0x43540f
cmp al, 0x39
jle 0x435411
xor edx, edx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x435407
test edx, edx
je 0x435433
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov ecx, eax
call fcn.00436f70
test eax, eax
cmovne esi, eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0x17
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0x10], ecx
cmp eax, 0x6f
jne 0x435484
push ebx
call ecx
add esp, 4
push dword [ebp - 0xc]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4354ab
lea eax, [ebp - 0xc]
push eax
push ebx
push 0
push 0
push 0x17
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ecx, dword [ebp - 0x10]
cmp eax, 0x6f
je 0x435453
test eax, eax
je 0x4354cd
push eax
push str.GetAdaptersAddresses__:_failed:__u_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.GetAdaptersAddresses__:malloc__:_failed:_out_of_memory_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401010
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x435770
mov edi, ebx
nop word [eax + eax]
mov eax, dword [edi + 0xc]
mov ecx, esi
cmp dword [eax], 0x7665445c
jne 0x435502
cmp dword [eax + 4], 0x5c656369
jne 0x435502
cmp dword [eax + 8], 0x5f46504e
jne 0x435502
add eax, 0xc
cmp dword [esi], 0x7665445c
jne 0x435520
cmp dword [esi + 4], 0x5c656369
jne 0x435520
cmp dword [esi + 8], 0x5f46504e
jne 0x435520
lea ecx, [esi + 0xc]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x435540
test dl, dl
je 0x43553c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x435540
add eax, 2
add ecx, 2
test dl, dl
jne 0x435520
xor eax, eax
jmp 0x435545
sbb eax, eax
or eax, 1
test eax, eax
je 0x435550
mov edi, dword [edi + 8]
test edi, edi
jne 0x4354e0
mov ecx, dword [edi + 0x10]
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x43578a
nop
mov eax, dword [ecx + 0xc]
cmp word [eax], 0x17
jne 0x435755
cmp dword [ecx + 4], 2
je 0x435755
movzx eax, byte [eax + 9]
cdq
mov dword [ebp + 8], eax
mov esi, edx
mov edx, dword [ecx + 0xc]
movzx eax, byte [edx + 8]
cdq
shld edx, eax, 8
shl eax, 8
or esi, edx
or dword [ebp + 8], eax
mov eax, dword [ebp + 8]
shld esi, eax, 8
shl eax, 8
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0xc]
movzx eax, byte [eax + 0xa]
cdq
or dword [ebp + 8], eax
or esi, edx
mov eax, dword [ebp + 8]
shld esi, eax, 8
shl eax, 8
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0xc]
movzx eax, byte [eax + 0xb]
cdq
or dword [ebp + 8], eax
or esi, edx
mov eax, dword [ebp + 8]
shld esi, eax, 8
shl eax, 8
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0xc]
movzx eax, byte [eax + 0xc]
cdq
or dword [ebp + 8], eax
or esi, edx
mov eax, dword [ebp + 8]
shld esi, eax, 8
shl eax, 8
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0xc]
movzx eax, byte [eax + 0xd]
cdq
or dword [ebp + 8], eax
or esi, edx
mov eax, dword [ebp + 8]
shld esi, eax, 8
shl eax, 8
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0xc]
movzx eax, byte [eax + 0xe]
cdq
or dword [ebp + 8], eax
or esi, edx
mov eax, dword [ebp + 8]
shld esi, eax, 8
shl eax, 8
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0xc]
movzx eax, byte [eax + 0xf]
cdq
or dword [ebp + 8], eax
or esi, edx
mov eax, dword [ecx + 0xc]
movzx eax, byte [eax + 0x10]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], edx
movzx eax, byte [eax + 0x11]
cdq
or dword [ebp - 8], edx
or dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
shld edx, eax, 8
mov dword [ebp - 8], edx
shl eax, 8
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc]
movzx eax, byte [eax + 0x12]
cdq
or dword [ebp - 4], eax
or dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], edx
movzx eax, byte [eax + 0x13]
cdq
or dword [ebp - 4], eax
or dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], edx
movzx eax, byte [eax + 0x14]
cdq
or dword [ebp - 4], eax
or dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], edx
movzx eax, byte [eax + 0x15]
cdq
or dword [ebp - 4], eax
or dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], edx
movzx eax, byte [eax + 0x16]
cdq
or dword [ebp - 4], eax
or dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], edx
movzx eax, byte [eax + 0x17]
cdq
or dword [ebp - 4], eax
or dword [ebp - 8], edx
mov eax, dword [ecx + 0x14]
cmp eax, 2
je 0x435755
cmp eax, 4
jne 0x43572d
cmp dword [ecx + 0x18], 5
je 0x435755
mov eax, esi
shr eax, 0x18
cmp eax, 0xfc
jae 0x435755
cmp esi, 0x20010db8
je 0x435755
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [ebp - 4]
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x435560
push ebx
call dword [ebp - 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push str.GetAdaptersInfo:_adapter_not_found:__s_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
push ebx
call dword [ebp - 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret