Function at 0x4a8660
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 0x687121
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.00635e30
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00635e30
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 0x4a8976
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a896c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a92f9
push edx
push ecx
call fcn.006113da
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 0x4a89cf
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a89c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a92fe
push edx
push ecx
call fcn.006113da
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 0x4a8a28
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8a1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9303
push edx
push ecx
call fcn.006113da
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 0x4a8a81
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8a77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9308
push edx
push ecx
call fcn.006113da
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 0x4a8ada
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8ad0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a930d
push edx
push ecx
call fcn.006113da
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 0x4a8b33
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8b29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9312
push edx
push ecx
call fcn.006113da
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 0x4a8b8c
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8b82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9317
push edx
push ecx
call fcn.006113da
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 0x4a8be5
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8bdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a931c
push edx
push ecx
call fcn.006113da
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 0x4a8dc9
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 0x4a9321
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 0x4a8c93
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 0x4a8d05
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 0x4a8d3f
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8d35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a932b
push edx
push ecx
call fcn.006113da
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 0x4a8d98
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8d8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9330
push edx
push ecx
call fcn.006113da
add esp, 8
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
cmp eax, ecx
je 0x4a8db1
push eax
call fcn.00658ebd
add esp, 4
push esi
mov byte [ebp - 4], 0xb
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x118], 0
je 0x4a926e
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00635db0
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x170]
call fcn.004a6660
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x10
push eax
call fcn.00635e30
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 0x4a8e97
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8e8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9335
push edx
push ecx
call fcn.006113da
add esp, 8
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0xb4]
cmp edx, 0x10
jb 0x4a8ed5
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8ecb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a933a
push edx
push ecx
call fcn.006113da
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 0x4a9086
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 0x4a9086
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 0x4a8fc2
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.00635e30
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 0x4a9060
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a9056
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a933f
push edx
push ecx
call fcn.006113da
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.00635db0
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x170]
call fcn.004a6660
push eax
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x17
push eax
call fcn.00635e30
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 0x4a9163
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a9159
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9344
push edx
push ecx
call fcn.006113da
add esp, 8
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x4a91a1
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a9197
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9349
push edx
push ecx
call fcn.006113da
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 0x4a921a
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a9210
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a934e
push edx
push ecx
call fcn.006113da
add esp, 8
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xf
jb 0x4a9251
lea eax, [ecx + 0xf]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4a9238
mov eax, dword [edi]
push 0xf
lea esi, [eax + ecx]
push str.on_limiterror
push esi
call fcn.0064cfd0
add esp, 0xc
mov byte [esi + 0xf], 0
jmp 0x4a926e
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 0x4a92a8
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a929e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9353
push edx
push ecx
call fcn.006113da
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.00611399
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
push 0x8007000e
call fcn.0046abb0
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
int3