Function at 0x470c00
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b8769
push eax
mov eax, 0x30e4
mov dword fs:[0], esp
call fcn.00584c40
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x14], 0x8080808
push eax
push dword [ebp - 0x14]
call dword [sym.imp.IPHLPAPI.DLL_GetBestInterface]
mov ecx, eax
test ecx, ecx
je 0x470e11
cmp dword [0x6d63a8], 1
je 0x470df7
mov eax, dword [str.error]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x30], eax
movzx eax, byte [0x5e7ec4]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 5
mov byte [ebp - 0x2c], al
mov byte [ebp - 0x2b], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ecx
fild dword [ebp - 0x18]
test ecx, ecx
jns 0x470c96
fadd qword [0x5f4758]
sub esp, 8
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x1f0]
fstp qword [esp]
push eax
call fcn.004d2c00
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x1b0]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.004456c0
push 0x20
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0044a110
mov ecx, dword [str.GetBestInterface_]
mov edx, eax
mov dword [ebp - 0x50], 0x13
mov dword [ebp - 0x4c], 0x1f
mov dword [ebp - 0x60], edx
mov dword [edx], ecx
mov ecx, dword [0x5e9e30]
mov dword [edx + 4], ecx
mov ecx, dword [0x5e9e34]
mov dword [edx + 8], ecx
mov eax, dword [0x5e9e38]
mov dword [edx + 0xc], eax
movzx eax, word [0x5e9e3c]
mov word [edx + 0x10], ax
movzx eax, byte [0x5e9e3e]
mov byte [edx + 0x12], al
mov byte [edx + 0x13], 0
mov eax, dword [str.get_best_iface]
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x48], eax
mov eax, dword [0x5e9e5c]
mov dword [ebp - 0x44], eax
mov eax, dword [0x5e9e60]
mov dword [ebp - 0x40], eax
movzx eax, word [0x5e9e64]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0xe
mov word [ebp - 0x3c], ax
mov byte [ebp - 0x3a], 0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 4
push eax
push 0x1e
lea eax, [ebp - 0x60]
mov ecx, 2
push str.AuthServerSelector.cpp
push eax
lea edx, [ebp - 0x48]
call fcn.004d4b60
add esp, 0x10
lea ecx, [ebp - 0x48]
call fcn.004470b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x470dcb
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x470dc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471822
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.00449240
push fcn.00438e00
push 1
push 0x40
lea eax, [ebp - 0x1f0]
mov byte [ebp - 4], 0
push eax
call fcn.00583d37
lea ecx, [ebp - 0x30]
call fcn.004470b0
mov dword [0x6d63a8], 1
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x2f00
push eax
lea eax, [ebp - 0x30f0]
push eax
push 0
push 0xd
push 2
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov esi, eax
test esi, esi
je 0x471020
cmp dword [0x6d63a8], 2
je 0x471005
push 5
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x60]
push str.error
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00449cf0
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], esi
fild dword [ebp - 0x18]
test esi, esi
jns 0x470e8c
fadd qword [0x5f4758]
sub esp, 8
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x1f0]
fstp qword [esp]
push eax
call fcn.004d2c00
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 6
push ecx
lea eax, [ebp - 0x1b0]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.004456c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
push 0x17
mov dword [ebp - 0x78], 0
push str.GetAdaptersAddresses_
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
call fcn.00449cf0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
push 0x13
mov dword [ebp - 0x30], 0
push str.get_adapter_address
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.00449cf0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 9
push eax
push 0x2a
lea eax, [ebp - 0x78]
mov ecx, 2
push str.AuthServerSelector.cpp
push eax
lea edx, [ebp - 0x30]
call fcn.004d4b60
mov byte [ebp - 4], 8
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x470f75
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x470f6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471827
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x470fad
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x470fa3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471827
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.00449240
push fcn.00438e00
push 1
push 0x40
lea eax, [ebp - 0x1f0]
mov byte [ebp - 4], 5
push eax
call fcn.00583d37
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x471005
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x470ffb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471827
push ecx
push edx
call fcn.00583877
add esp, 8
mov dword [0x6d63a8], 2
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esi, [ebp - 0x30f0]
push edi
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], esi
jmp 0x471040
cmp dword [0x6d63a8], 3
je 0x471566
mov eax, dword [esi + 4]
xor ecx, ecx
cmp eax, dword [ebp - 0xa4]
mov dword [ebp - 0xdc], 0xf
sete cl
mov dword [ebp - 0xe0], 4
mov dword [ebp - 0x18], ecx
fild dword [ebp - 0x18]
mov dword [ebp - 0xf0], 0x74736562
mov byte [ebp - 0xec], 0
fstp qword [ebp - 0x88]
lea eax, [ebp - 0xf0]
mov dword [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00447260
fld qword [ebp - 0x88]
mov dword [ebp - 0x198], 0
fstp qword [ebp - 0x180]
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0xf
mov byte [ebp - 0x198], 0
mov byte [ebp - 0x178], 0
fild dword [esi + 0x44]
mov eax, dword [str.status]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x30], eax
mov ax, word [0x5e894c]
fstp qword [ebp - 0x88]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 6
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x2a], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x170]
call fcn.00447260
fld qword [ebp - 0x88]
mov dword [ebp - 0x158], 0
fstp qword [ebp - 0x140]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
mov byte [ebp - 0x138], 0
mov byte [ebp - 4], 0xd
mov edx, dword [esi + 0xc]
mov ecx, edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471185
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.00449cf0
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], 4
mov dword [ebp - 0xd8], 0x656d616e
mov byte [ebp - 0xd4], 0
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x130]
call fcn.00447260
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x118]
call fcn.00447260
fldz
fstp qword [ebp - 0x100]
mov byte [ebp - 0xf8], 0
lea edi, [ebp - 0x1b0]
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x3c], 0
sub eax, edi
mov dword [ebp - 0x38], 0
sar eax, 6
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4712c1
cmp eax, 0x3ffffff
ja 0x471831
push eax
call fcn.0044f820
mov esi, eax
mov eax, dword [ebp - 0x18]
shl eax, 6
add eax, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0x16
cmp edi, eax
je 0x4712b8
push edi
mov ecx, esi
mov dword [ebp - 0x84], esi
call fcn.00447260
lea eax, [edi + 0x18]
mov byte [ebp - 4], 0x17
lea ecx, [esi + 0x18]
push eax
call fcn.00447260
fld qword [edi + 0x30]
fstp qword [esi + 0x30]
mov al, byte [edi + 0x38]
add edi, 0x40
mov byte [esi + 0x38], al
add esi, 0x40
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x90], esi
cmp edi, eax
jne 0x471274
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x38], esi
push 0x20
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x18
call fcn.0044a110
mov ecx, dword [str.Adapter_____]
mov edx, eax
mov dword [ebp - 0xb0], 0x12
mov dword [ebp - 0xac], 0x1f
mov dword [ebp - 0xc0], edx
mov dword [edx], ecx
mov ecx, dword [0x5e9e88]
mov dword [edx + 4], ecx
mov ecx, dword [0x5e9e8c]
mov dword [edx + 8], ecx
mov eax, dword [0x5e9e90]
mov dword [edx + 0xc], eax
movzx eax, word [0x5e9e94]
mov word [edx + 0x10], ax
mov byte [edx + 0x12], 0
mov eax, dword [str.adapter]
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x78], 0
mov dword [ebp - 0x78], eax
movzx eax, word [0x5e9e80]
mov word [ebp - 0x74], ax
mov al, byte [0x5e9e82]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 7
mov byte [ebp - 0x72], al
mov byte [ebp - 0x71], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1a
push eax
push 0x36
lea eax, [ebp - 0xc0]
xor ecx, ecx
push str.AuthServerSelector.cpp
push eax
lea edx, [ebp - 0x78]
call fcn.004d4b60
mov byte [ebp - 4], 0x19
add esp, 0x10
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x4713b2
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4713a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471822
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0xac]
cmp ecx, 0x10
jb 0x4713f0
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4713e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471822
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x471458
mov edi, dword [ebp - 0x38]
cmp esi, edi
je 0x471413
mov ecx, esi
call fcn.00438e00
add esi, 0x40
cmp esi, edi
jne 0x471402
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
and ecx, 0xffffffc0
cmp ecx, 0x1000
jb 0x471439
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471822
push ecx
push esi
call fcn.00583877
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push fcn.00438e00
push 3
push 0x40
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 0x13
push eax
call fcn.00583d37
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0xc4]
cmp ecx, 0x10
jb 0x4714af
mov edx, dword [ebp - 0xd8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4714a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471822
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x4714e7
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4714dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471822
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x47151f
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x471515
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471822
push ecx
push edx
call fcn.00583877
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xdc]
cmp ecx, 0x10
jb 0x471560
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x471556
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471822
push ecx
push edx
call fcn.00583877
add esp, 8
mov edi, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x80]
cmp dword [esi + 0x44], 1
jne 0x471589
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x34]
cmp eax, dword [ebp - 0xa4]
jne 0x471581
mov eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x47158c
cmp ecx, edi
cmova edi, ecx
mov dword [ebp - 0x7c], edi
mov eax, dword [ebp - 0x14]
mov esi, dword [esi + 8]
mov dword [ebp - 0x80], esi
test esi, esi
jne 0x471040
add eax, edi
setne cl
mov byte [ebp - 0xd], cl
test eax, eax
jne 0x471806
cmp dword [0x6d63a8], 3
je 0x4717ff
push 0xf
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0xa0]
push str.validDigitsBest
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], al
call fcn.00449cf0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0x1b
fild dword [ebp - 0x14]
test eax, eax
jns 0x4715fc
fadd qword [0x5f4758]
sub esp, 8
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x170]
fstp qword [esp]
push eax
call fcn.004d2c00
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x78]
push 0xb
mov dword [ebp - 0x78], 0
push str.validDigits
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
call fcn.00449cf0
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x84], edi
fild dword [ebp - 0x84]
test edi, edi
jns 0x47165a
fadd qword [0x5f4758]
sub esp, 8
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x130]
fstp qword [esp]
push eax
call fcn.004d2c00
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x1f
push ecx
lea eax, [ebp - 0xf0]
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004456c0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x30]
push 0x19
mov dword [ebp - 0x30], 0
push str.No_internet_access___
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.00449cf0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x60]
push 7
mov dword [ebp - 0x60], 0
push str.no_inet
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00449cf0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x22
push eax
push 0x4a
lea eax, [ebp - 0x30]
mov ecx, 2
push str.AuthServerSelector.cpp
push eax
lea edx, [ebp - 0x60]
call fcn.004d4b60
mov byte [ebp - 4], 0x21
add esp, 0x10
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x47173d
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x471733
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47182c
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x471775
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47176b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47182c
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.00449240
push fcn.00438e00
push 2
push 0x40
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 0x1e
push eax
call fcn.00583d37
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x4717c6
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4717bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47182c
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x4717fc
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4717f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47182c
push ecx
push edx
call fcn.00583877
add esp, 8
mov cl, byte [ebp - 0xd]
mov eax, 3
jmp 0x47180b
mov eax, 4
mov dword [0x6d63a8], eax
mov al, cl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.0044b8f0
int3