Function at 0x419590
Capabilities:
Get mac address on windows
Get routing table

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508c55
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x567040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
push 0x38
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.004d88b0
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
lea eax, [ebp - 0x64]
add esp, 0xc
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
push 1
push eax
push 0
call edi
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x41968a
push eax
call fcn.004ee3c1
mov esi, eax
add esp, 4
test esi, esi
je 0x41968a
push 1
lea eax, [ebp - 0x64]
push eax
push esi
call edi
test eax, eax
jne 0x419681
mov edx, dword [esi]
xor ecx, ecx
test edx, edx
je 0x419681
lea eax, [esi + 4]
cmp dword [eax], 0
je 0x419642
inc ecx
add eax, 0x38
cmp ecx, edx
jb 0x419633
jmp 0x419681
lea eax, [ecx*8]
mov dword [ebp - 0x68], 1
sub eax, ecx
movups xmm0, xmmword [esi + eax*8 + 4]
movups xmmword [ebp - 0xac], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x14]
movups xmmword [ebp - 0x9c], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x24]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [esi + eax*8 + 0x34]
movq qword [ebp - 0x7c], xmm0
push esi
call fcn.004eb7a1
add esp, 4
cmp dword [ebp - 0x68], 0
push 0x288
je 0x41988c
mov dword [ebp - 0x64], 0x288
call fcn.004ee3c1
mov edi, eax
add esp, 4
mov dword [ebp - 0x68], edi
test edi, edi
je 0x419a5b
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x64]
push eax
push edi
call esi
cmp eax, 0x6f
jne 0x4196e5
push edi
call fcn.004eb7a1
push dword [ebp - 0x64]
call fcn.004ee3c1
mov edi, eax
mov dword [ebp - 0x68], eax
add esp, 8
test edi, edi
je 0x419a5b
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x64]
push eax
push edi
call esi
test eax, eax
jne 0x419826
test edi, edi
je 0x41982f
xor dl, dl
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0x5d], dl
mov eax, edi
test dl, dl
jne 0x419823
lea edi, [eax + 0x1d4]
lea edx, [edi + 4]
mov dword [ebp - 0x34], 0
mov eax, edx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419750
sub eax, esi
lea ecx, [ebp - 0x44]
push eax
push edx
call fcn.00402a30
lea ecx, [ebp - 0x44]
call fcn.00415300
mov ecx, dword [ebp - 0x30]
mov esi, eax
cmp ecx, 0xf
jbe 0x4197a1
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419797
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a7b
push ecx
push edx
call fcn.004d3ab1
add esp, 8
cmp esi, dword [ebp - 0xa0]
jne 0x419806
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x44]
push dword [eax + 0x190]
lea edx, [eax + 0x194]
call fcn.004164d0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x4197f7
mov ecx, eax
call fcn.00414ec0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x44]
call fcn.00414ec0
mov esi, dword [ebp - 0x1c]
test esi, esi
jne 0x41986c
mov edi, dword [edi]
test edi, edi
jne 0x419732
mov dl, byte [ebp - 0x5d]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x419724
mov edi, dword [ebp - 0x68]
push edi
call fcn.004eb7a1
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x419a4f
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419a45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a7b
jmp 0x419a45
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x419885
cmp dword [ebp - 0x18], 7
push esi
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.00416930
mov dl, 1
mov byte [ebp - 0x5d], dl
jmp 0x419813
mov dword [ebp - 0x68], 0x288
call fcn.004ee3c1
mov edi, eax
add esp, 4
mov dword [ebp - 0x64], edi
test edi, edi
je 0x419a5b
lea eax, [ebp - 0x68]
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x4198d6
push edi
call fcn.004eb7a1
push dword [ebp - 0x68]
call fcn.004ee3c1
mov edi, eax
mov dword [ebp - 0x64], eax
add esp, 8
test edi, edi
je 0x419a5b
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
mov esi, 7
xor eax, eax
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], esi
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 1
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x419a13
test edi, edi
je 0x419a1c
push dword [edi + 0x190]
mov esi, edi
mov byte [ebp - 0x5d], al
lea edx, [edi + 0x194]
mov dword [ebp - 0x6c], esi
lea ecx, [ebp - 0x44]
call fcn.004164d0
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x70]
cmp eax, edi
je 0x419969
mov ecx, eax
call fcn.00414ec0
movups xmm0, xmmword [edi]
mov eax, dword [ebp - 0x70]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x44]
call fcn.00414ec0
mov al, byte [ebp - 0x5d]
test al, al
jne 0x419a0d
lea eax, [esi + 0x194]
lea edi, [esi + 0x1d4]
mov dword [ebp - 0x74], eax
nop dword [eax + eax]
push dword [esi + 0x190]
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.004164d0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x5c]
cmp eax, esi
je 0x4199d7
mov ecx, eax
call fcn.00414ec0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x44]
call fcn.00414ec0
cmp dword [ebp - 0x4c], 0
ja 0x4199f3
mov edi, dword [edi]
test edi, edi
je 0x4199fa
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x74]
jmp 0x419990
mov al, 1
mov byte [ebp - 0x5d], al
jmp 0x4199fd
mov al, byte [ebp - 0x5d]
mov esi, dword [ebp - 0x6c]
mov esi, dword [esi]
mov dword [ebp - 0x6c], esi
test esi, esi
jne 0x419974
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x64]
push edi
call fcn.004eb7a1
add esp, 4
cmp esi, 7
jbe 0x419a4f
mov edx, dword [ebp - 0x5c]
lea ecx, [esi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419a45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a80
push ecx
push edx
call fcn.004d3ab1
add esp, 8
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0x10], 0
setne al
jmp 0x419a5d
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d3a9e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e2ffc
call fcn.004e2ffc
int3