Function at 0x5bd130
Capabilities:
Check for sandbox username or hostname
Check for windows sandbox via device
Create http request
Get session user name
Read data from internet
Receive data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.005bd080
test al, al
je 0x5bd179
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
push 3
push 4
push 0
push 0
push closesocket
push str..GLOBALROOTdevice_vmsmb
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x5bd19c
xor eax, eax
jmp 0x5bd1a8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
test eax, eax
jne 0x5bd38f
mov ecx, 0x202
lea eax, [ebp - 0x248]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x5bd1c0
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0x101
push eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x5bd22b
mov ecx, str.WDAGUtilityAccount
lea eax, [ebp - 0x248]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5bd21e
test dx, dx
je 0x5bd21a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5bd21e
add eax, 4
add ecx, 4
test dx, dx
jne 0x5bd1f8
xor eax, eax
jmp 0x5bd223
sbb eax, eax
or eax, 1
test eax, eax
je 0x5bd38f
push 0
push 0
push 0
push 0
push 0x5fdb68
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
je 0x5bd2ca
push 0
push 0x4000000
push 0
push 0
push str.http:__169.254.169.254_latest_meta_data_
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, eax
mov dword [ebp - 0x250], 0
xorps xmm0, xmm0
movaps xmmword [ebp - 0x40], xmm0
movaps xmmword [ebp - 0x30], xmm0
test esi, esi
je 0x5bd295
lea eax, [ebp - 0x250]
push eax
push 0x20
lea eax, [ebp - 0x40]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
call edi
lea ecx, [ebp - 0x40]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5bd2a0
sub ecx, edx
je 0x5bd2ca
test esi, esi
je 0x5bd2b2
push esi
call edi
mov eax, 3
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, 1
lea edi, [ebp - 0x30]
xor ecx, ecx
xorps xmm0, xmm0
push ebx
cpuid
mov esi, ebx
movaps xmmword [ebp - 0x30], xmm0
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
test dword [ebp - 0x28], 0x80000000
je 0x5bd362
mov eax, 0x40000000
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov edi, str.VBoxVBoxVBox
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
nop dword [eax + eax]
mov edx, edi
lea eax, [ebp - 0x14]
mov esi, 9
nop word [eax + eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x5bd357
add edx, 4
add eax, 4
sub esi, 4
jae 0x5bd340
mov cl, byte [edx]
cmp cl, byte [eax]
je 0x5bd377
add edi, 0xd
cmp edi, 0x604a91
jne 0x5bd330
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
mov eax, 2
pop edi
xor ecx, ebp
pop esi
call fcn.0046676f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret