Function at 0x4a8930
Capabilities:
Get hostname

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 0x6874b1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x228
mov eax, dword [0x79cac4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x238], ecx
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x22c], 0
push 0x20
push str.197f6527da4b48a4bde884cd03fca56f
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 7
mov word [ebp - 0x1a0], ax
call fcn.00459550
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x188]
push 0x20
xor eax, eax
mov dword [ebp - 0x178], 0
push str.9e127cf73ee04658bd7cfd9313d26746
mov dword [ebp - 0x174], 7
mov word [ebp - 0x188], ax
call fcn.00459550
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00636180
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00636180
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
push 0x1d
push str.grant_typeauthorization_code
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
call fcn.0044fad0
push str.code
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call fcn.004515c0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x22c], 2
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x110], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x100], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 6
call fcn.00451720
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x22c], 6
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x140], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x130], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x140]
push str.client_id
call fcn.004515c0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x22c], 0xe
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x158], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x148], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea edx, [ebp - 0x158]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xf8]
call fcn.00454d80
add esp, 4
push str.client_secret
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.004515c0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x22c], 0x1e
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xd0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0xe0]
push dword [ebp - 0x230]
mov edi, dword [ebp - 0x234]
mov ecx, edi
call fcn.00454d80
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0x22c], 0x1f
cmp edx, 0x10
jb 0x4a8c46
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8c3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a95c9
push edx
push ecx
call fcn.00611704
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0xf
mov byte [ebp - 0xe0], 0
cmp edx, 0x10
jb 0x4a8c9f
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8c95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a95ce
push edx
push ecx
call fcn.00611704
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
cmp edx, 0x10
jb 0x4a8cf8
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8cee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a95d3
push edx
push ecx
call fcn.00611704
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
cmp edx, 0x10
jb 0x4a8d51
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8d47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a95d8
push edx
push ecx
call fcn.00611704
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
cmp edx, 0x10
jb 0x4a8daa
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8da0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a95dd
push edx
push ecx
call fcn.00611704
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
cmp edx, 0x10
jb 0x4a8e03
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8df9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a95e2
push edx
push ecx
call fcn.00611704
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
cmp edx, 0x10
jb 0x4a8e5c
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8e52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a95e7
push edx
push ecx
call fcn.00611704
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
cmp edx, 0x10
jb 0x4a8eb5
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8eab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a95ec
push edx
push ecx
call fcn.00611704
add esp, 8
mov dl, 1
lea ecx, [ebp - 0x128]
call fcn.0046bb10
mov dword [ebp - 0x22c], 0x3f
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x118], 0
jne 0x4a9099
lea eax, [ebp - 0xd8]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0xd8], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x40
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x230], esi
test esi, esi
je 0x4a95f1
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0xc
call fcn.0046c290
mov byte [ebp - 4], 0xd
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x234], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a8f63
sub ecx, dword [ebp - 0x234]
push ecx
push edx
lea ecx, [ebp - 0xb0]
call fcn.0044fad0
lea edx, [ebp - 0xb0]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xc8]
call fcn.0046b9c0
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x234], eax
cmp ecx, eax
je 0x4a8fd5
call fcn.0044fa30
mov eax, dword [ebp - 0x234]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x118], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0xb4]
cmp edx, 0x10
jb 0x4a900f
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a9005
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a95fb
push edx
push ecx
call fcn.00611704
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
cmp edx, 0x10
jb 0x4a9068
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a905e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9600
push edx
push ecx
call fcn.00611704
add esp, 8
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
cmp eax, ecx
je 0x4a9081
push eax
call fcn.00659210
add esp, 4
push esi
mov byte [ebp - 4], 0xb
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x118], 0
je 0x4a953e
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00636100
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x170]
call fcn.004a6930
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x10
push eax
call fcn.00636180
add esp, 0x10
push 0xb
push str.device_id
push 0
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00455770
mov dword [ebp - 0x22c], 0x7f
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0xe8], xmm0
mov byte [eax], 0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0x12
push eax
mov ecx, edi
call fcn.00451720
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xe4]
cmp edx, 0x10
jb 0x4a9167
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a915d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9605
push edx
push ecx
call fcn.00611704
add esp, 8
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0xb4]
cmp edx, 0x10
jb 0x4a91a5
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a919b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a960a
push edx
push ecx
call fcn.00611704
add esp, 8
lea ecx, [ebp - 0x170]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
call fcn.00453390
lea ecx, [ebp - 0xb0]
call fcn.00453390
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
mov dword [ebp - 0x22c], 0xff
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x14
mov esi, dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push eax
push 0
mov dword [ebp - 0x230], 0
call esi
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x4a9356
lea ecx, [ebp - 0xd4]
push ecx
push eax
call fcn.004713f0
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0xd4]
call esi
test eax, eax
je 0x4a9356
mov edx, dword [ebp - 0xd4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9292
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xf8]
call fcn.00459550
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00636180
movups xmm0, xmmword [ebp - 0xb0]
add esp, 8
movups xmm1, xmmword [eax]
movq xmm2, qword [eax + 0x10]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xa0]
movq qword [eax + 0x10], xmm0
mov edx, dword [ebp - 0xb4]
movq qword [ebp - 0xa0], xmm2
movups xmmword [ebp - 0xb0], xmm1
cmp edx, 0x10
jb 0x4a9330
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a9326
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a960f
push edx
push ecx
call fcn.00611704
add esp, 8
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
call fcn.00453390
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x13
call fcn.00453330
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00636100
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x170]
call fcn.004a6930
push eax
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x17
push eax
call fcn.00636180
add esp, 0x10
push 0xd
push str.device_name
push 0
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00455770
mov dword [ebp - 0x22c], 0x1ff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0xb8], xmm0
mov byte [eax], 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x19
push eax
mov ecx, edi
call fcn.00451720
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0xb4]
cmp edx, 0x10
jb 0x4a9433
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a9429
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9614
push edx
push ecx
call fcn.00611704
add esp, 8
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x4a9471
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a9467
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9619
push edx
push ecx
call fcn.00611704
add esp, 8
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
call fcn.00453390
lea ecx, [ebp - 0x140]
call fcn.00453390
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x22c], 0x17f
cmp edx, 0x10
jb 0x4a94ea
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a94e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a961e
push edx
push ecx
call fcn.00611704
add esp, 8
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xf
jb 0x4a9521
lea eax, [ecx + 0xf]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4a9508
mov eax, dword [edi]
push 0xf
lea esi, [eax + ecx]
push str.on_limiterror
push esi
call fcn.0064d320
add esp, 0xc
mov byte [esi + 0xf], 0
jmp 0x4a953e
push 0xf
push str.on_limiterror
mov byte [ebp - 0x234], 0
mov ecx, edi
push dword [ebp - 0x234]
push 0xf
call fcn.00455160
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x4a9578
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a956e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9623
push edx
push ecx
call fcn.00611704
add esp, 8
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
call fcn.00453390
lea ecx, [ebp - 0x1a0]
call fcn.00453390
mov eax, edi
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.006116c3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00655e38
call fcn.00655e38
call fcn.00655e38
call fcn.00655e38
call fcn.00655e38
call fcn.00655e38
call fcn.00655e38
call fcn.00655e38
push 0x8007000e
call fcn.0046abb0
call fcn.00655e38
call fcn.00655e38
call fcn.00655e38
call fcn.00655e38
call fcn.00655e38
call fcn.00655e38
call fcn.00655e38
call fcn.00655e38
call fcn.00655e38
int3