Function at 0x66cb40
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x692b72
mov eax, dword fs:[0]
push eax
sub esp, 0xcec
push ebx
push esi
push edi
lea edi, [ebp - 0xcf8]
mov ecx, 0x33b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x6aac14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
push str.ami_sExd
push 0x50
lea ecx, [ebp - 0xb4]
push ecx
call fcn.0067693f
add esp, 0x10
mov dword [ebp - 0x2d0], 0x104
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
push 2
call sub.Secur32.dll_GetUserNameExW
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.bitsadmin__transfer_amijob__download__priority_high__s__s
push 0x400
lea edx, [ebp - 0xad8]
push edx
call fcn.0067693f
add esp, 0x14
lea ecx, [ebp - 0xb04]
call fcn.0066a8d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xb28]
push eax
call fcn.0066e260
add esp, 4
mov byte [ebp - 4], 1
push str.amijob
lea eax, [ebp - 0xad8]
push eax
lea ecx, [ebp - 0xb28]
call fcn.00603950
push eax
lea ecx, [ebp - 0xb04]
call fcn.0066e120
movzx ecx, al
test ecx, ecx
jne 0x66cc5f
mov dword [ebp - 0xcf0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb28]
call fcn.006038c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb04]
call fcn.0066a930
mov eax, dword [ebp - 0xcf0]
jmp 0x66d1dd
lea ecx, [ebp - 0xb34]
call fcn.00613c90
mov byte [ebp - 4], 2
push 1
push 0
push 0x69c1c0
lea ecx, [ebp - 0xb34]
call fcn.0066e3c0
mov dword [ebp - 0xb40], eax
cmp dword [ebp - 0xb40], 0
jge 0x66ccd6
mov dword [ebp - 0xce4], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb34]
call fcn.00622ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb28]
call fcn.006038c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb04]
call fcn.0066a930
mov eax, dword [ebp - 0xce4]
jmp 0x66d1dd
lea ecx, [ebp - 0xb4c]
call fcn.00613c90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb58]
call fcn.00613c90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb34]
call fcn.00612bb0
mov dword [ebp - 0xcf8], eax
mov esi, esp
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xcf8]
push ecx
mov edx, dword [ebp - 0xcf8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
call ecx
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0xb40], eax
lea ecx, [ebp - 0xb34]
call fcn.00612bb0
mov dword [ebp - 0xcf8], eax
lea ecx, [ebp - 0xb58]
call fcn.0066e780
mov esi, esp
push eax
push 0x69c1a0
push 0x69c1b0
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xcf8]
push ecx
mov edx, dword [ebp - 0xcf8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
call ecx
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0xb40], eax
cmp dword [ebp - 0xb40], 0
jge 0x66cdec
mov dword [ebp - 0xcd8], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb58]
call fcn.00622ea0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4c]
call fcn.00622ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb34]
call fcn.00622ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb28]
call fcn.006038c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb04]
call fcn.0066a930
mov eax, dword [ebp - 0xcd8]
jmp 0x66d1dd
lea ecx, [ebp - 0xb58]
call fcn.00612bb0
mov dword [ebp - 0xcf8], eax
mov esi, esp
lea eax, [ebp - 0x2c4]
push eax
mov ecx, dword [ebp - 0xcf8]
push ecx
mov edx, dword [ebp - 0xcf8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
call ecx
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0xb40], eax
lea ecx, [ebp - 0xb58]
call fcn.00612bb0
mov dword [ebp - 0xcf8], eax
mov esi, esp
push 0
lea eax, [ebp - 0x2c4]
push eax
mov ecx, dword [ebp - 0xcf8]
push ecx
mov edx, dword [ebp - 0xcf8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x78]
call ecx
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0xb40], eax
lea ecx, [ebp - 0xb58]
call fcn.00612bb0
mov dword [ebp - 0xcf8], eax
mov esi, esp
push 0x694bc4
mov eax, dword [ebp - 0xcf8]
push eax
mov ecx, dword [ebp - 0xcf8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
cmp esi, esp
call fcn.00673bc2
lea ecx, [ebp - 0xb58]
call fcn.00612bb0
mov dword [ebp - 0xcf8], eax
lea ecx, [ebp - 0xb28]
call fcn.00603950
mov esi, esp
push eax
mov eax, dword [ebp - 0xcf8]
push eax
mov ecx, dword [ebp - 0xcf8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x80]
call eax
cmp esi, esp
call fcn.00673bc2
lea ecx, [ebp - 0xb58]
call fcn.00612bb0
mov dword [ebp - 0xcf8], eax
mov esi, esp
push 0x694bc4
mov eax, dword [ebp - 0xcf8]
push eax
mov ecx, dword [ebp - 0xcf8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x88]
call eax
cmp esi, esp
call fcn.00673bc2
lea ecx, [ebp - 0xb58]
call fcn.00612bb0
mov dword [ebp - 0xcf8], eax
mov esi, esp
push 0x200b20
mov eax, dword [ebp - 0xcf8]
push eax
mov ecx, dword [ebp - 0xcf8]
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
call eax
cmp esi, esp
call fcn.00673bc2
lea ecx, [ebp - 0xb58]
call fcn.00612bb0
mov dword [ebp - 0xcf8], eax
mov esi, esp
push 0x2402
mov eax, dword [ebp - 0xcf8]
push eax
mov ecx, dword [ebp - 0xcf8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x70]
call eax
cmp esi, esp
call fcn.00673bc2
push 0
call fcn.00649000
add esp, 4
mov dword [ebp - 0xba0], eax
mov dword [ebp - 0xb9c], edx
mov eax, dword [ebp + 0x14]
imul eax, eax, 0x3c
cdq
add eax, dword [ebp - 0xba0]
adc edx, dword [ebp - 0xb9c]
mov dword [ebp - 0xbb0], eax
mov dword [ebp - 0xbac], edx
lea eax, [ebp - 0xbb0]
push eax
lea ecx, [ebp - 0xbdc]
push ecx
call fcn.0066e980
add esp, 8
mov dword [ebp - 0xbe8], eax
push 0x30
push 0
lea eax, [ebp - 0xb90]
push eax
call fcn.00673dc0
add esp, 0xc
mov eax, 0x30
mov word [ebp - 0xb90], ax
mov eax, dword [ebp - 0xbc8]
add eax, 0x76c
mov word [ebp - 0xb8c], ax
mov eax, dword [ebp - 0xbcc]
add eax, 1
mov word [ebp - 0xb8a], ax
mov ax, word [ebp - 0xbd0]
mov word [ebp - 0xb88], ax
mov ax, word [ebp - 0xbd4]
mov word [ebp - 0xb80], ax
mov ax, word [ebp - 0xbd8]
mov word [ebp - 0xb7e], ax
mov eax, dword [ebp - 0xbc8]
add eax, 0x76c
mov word [ebp - 0xb86], ax
mov eax, dword [ebp - 0xbcc]
add eax, 1
mov word [ebp - 0xb84], ax
mov ax, word [ebp - 0xbd0]
mov word [ebp - 0xb82], ax
mov dword [ebp - 0xb70], 0
lea ecx, [ebp - 0xbf4]
call fcn.00613c90
mov byte [ebp - 4], 5
xor eax, eax
mov word [ebp - 0xc00], ax
lea ecx, [ebp - 0xb58]
call fcn.00612bb0
mov dword [ebp - 0xcf8], eax
lea ecx, [ebp - 0xbf4]
call fcn.0066e780
mov esi, esp
push eax
lea eax, [ebp - 0xc00]
push eax
mov ecx, dword [ebp - 0xcf8]
push ecx
mov edx, dword [ebp - 0xcf8]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0xb40], eax
cmp dword [ebp - 0xb40], 0
jl 0x66d10c
lea ecx, [ebp - 0xbf4]
call fcn.00612bb0
mov dword [ebp - 0xcf8], eax
mov esi, esp
lea eax, [ebp - 0xb90]
push eax
mov ecx, dword [ebp - 0xcf8]
push ecx
mov edx, dword [ebp - 0xcf8]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0xb40], eax
lea ecx, [ebp - 0xb4c]
call fcn.0066e780
push eax
lea ecx, [ebp - 0xb58]
call fcn.00612bb0
push eax
call fcn.0066e420
mov dword [ebp - 0xb40], eax
cmp dword [ebp - 0xb40], 0
jl 0x66d170
lea ecx, [ebp - 0xb4c]
call fcn.00612bb0
mov dword [ebp - 0xcf8], eax
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0xcf8]
push eax
mov ecx, dword [ebp - 0xcf8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0xb40], eax
mov dword [ebp - 0xccc], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xbf4]
call fcn.00622ea0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb58]
call fcn.00622ea0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4c]
call fcn.00622ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb34]
call fcn.00622ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb28]
call fcn.006038c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb04]
call fcn.0066a930
mov eax, dword [ebp - 0xccc]
push edx
mov ecx, ebp
push eax
lea edx, [0x66d218]
call fcn.00673be5
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00673bb3
add esp, 0xcf8
cmp ebp, esp
call fcn.00673bc2
mov esp, ebp
pop ebp
ret