Function at 0x414200
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad724
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x620024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x420], ecx
lea ecx, [ebp - 0x46c]
call fcn.0044c4f3
mov dword [ebp - 4], 0
call fcn.00449b3d
mov ecx, eax
test ecx, ecx
je 0x41497b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x428], esi
mov byte [ebp - 4], 1
call fcn.00449b3d
mov ecx, eax
test ecx, ecx
je 0x414985
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x41c], eax
mov byte [ebp - 4], 2
call fcn.00449b3d
mov ecx, eax
test ecx, ecx
je 0x41498f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 3
call fcn.00449b3d
mov ecx, eax
test ecx, ecx
je 0x414999
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x434], edi
mov byte [ebp - 4], 4
call fcn.00449b3d
mov ecx, eax
test ecx, ecx
je 0x4149a3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x448]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x448], 0x200
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.00449b3d
mov ecx, eax
test ecx, ecx
je 0x4149ad
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 6
test eax, 0xffff0000
jne 0x414348
movzx eax, ax
lea ecx, [ebp - 0x438]
push eax
call fcn.00403130
jmp 0x414373
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414351
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.00402d30
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x43c]
push 0x62b984
push eax
lea ebx, [ebp - 0x46c]
call fcn.00415f10
add esp, 8
mov byte [ebp - 4], 8
mov ecx, esp
push str._schRebootItem.txt
push eax
push ecx
call fcn.00415e40
add esp, 0xc
mov ecx, ebx
call fcn.0041e3c0
mov byte [ebp - 4], 7
or ebx, 0xffffffff
mov edx, dword [ebp - 0x43c]
add esp, 4
mov byte [ebp - 0x411], al
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4143e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x411]
test al, al
je 0x41488f
xor ecx, ecx
mov dword [ebp - 0x43c], ecx
cmp dword [ebp - 0x464], ecx
jle 0x414870
test ecx, ecx
js 0x4149b7
cmp ecx, dword [ebp - 0x464]
jge 0x4149b7
mov eax, dword [ebp - 0x468]
lea ebx, [esi - 0x10]
mov ecx, dword [eax + ecx*4]
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x414482
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x41446d
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x41446d
push edx
call fcn.00405670
add esp, 4
mov dword [ebp - 0x424], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x414462
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x424]
lea esi, [eax + 0x10]
mov dword [ebp - 0x428], esi
jmp 0x414482
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x428]
call fcn.00402d30
mov esi, dword [ebp - 0x428]
mov eax, dword [esi - 0xc]
test eax, eax
je case.default.0x4147cc
jg 0x414494
or eax, 0xffffffff
jmp 0x4144ac
push 0x7c
push esi
call fcn.00587d48
add esp, 8
test eax, eax
jne 0x4144a8
or eax, 0xffffffff
jmp 0x4144ac
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x428]
call fcn.00415fc0
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x41c]
add ebx, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x414527
cmp dword [ebx + 0xc], 0
jl 0x414518
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x414518
push edx
call fcn.00405670
add esp, 4
mov dword [ebp - 0x424], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41450d
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x424]
add eax, 0x10
mov dword [ebp - 0x41c], eax
jmp 0x414527
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x41c]
call fcn.00402d30
mov byte [ebp - 4], 7
or eax, 0xffffffff
mov edx, dword [ebp - 0x44c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414549
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x7c
push esi
call fcn.00587ca4
add esp, 8
test eax, eax
jne 0x41455d
or eax, 0xffffffff
jmp 0x414561
sub eax, esi
sar eax, 1
lea ecx, [eax + 1]
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x428]
call fcn.00416150
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x450]
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
mov dword [ebp - 0x440], edx
lea ebx, [eax - 0x10]
cmp ebx, edx
je 0x414601
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x424], ecx
jl 0x4145f2
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x4145f2
push ebx
call fcn.00405670
mov edx, dword [ebp - 0x424]
add esp, 4
mov dword [ebp - 0x430], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4145e7
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x430]
add eax, 0x10
mov dword [ebp - 0x42c], eax
jmp 0x414601
push dword [eax - 0xc]
lea ecx, [ebp - 0x42c]
push eax
call fcn.00402d30
mov byte [ebp - 4], 7
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x41461a
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x42c]
call fcn.00590917
push 0x7c
push esi
mov dword [ebp - 0x444], eax
call fcn.00587ca4
add esp, 0xc
test eax, eax
jne 0x41463f
or eax, 0xffffffff
jmp 0x414643
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x428]
call fcn.00415fc0
mov byte [ebp - 4], 0xb
lea ebx, [edi - 0x10]
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x4146be
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x4146a9
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x4146a9
push edx
call fcn.00405670
add esp, 4
mov dword [ebp - 0x430], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41469e
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x430]
lea edi, [eax + 0x10]
mov dword [ebp - 0x434], edi
jmp 0x4146be
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x434]
call fcn.00402d30
mov edi, dword [ebp - 0x434]
mov byte [ebp - 4], 7
or eax, 0xffffffff
mov edx, dword [ebp - 0x454]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4146e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi - 0xc], 0
jg 0x4146eb
or eax, 0xffffffff
jmp 0x414703
push 0x7c
push edi
call fcn.00587d48
add esp, 8
test eax, eax
jne 0x4146ff
or eax, 0xffffffff
jmp 0x414703
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
mov eax, dword [edi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x434]
call fcn.00416150
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x458]
mov edx, dword [ebp - 0x418]
add edx, 0xfffffff0
mov dword [ebp - 0x440], edx
lea ebx, [eax - 0x10]
cmp ebx, edx
je 0x4147a3
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x430], ecx
jl 0x414794
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x414794
push ebx
call fcn.00405670
mov edx, dword [ebp - 0x430]
add esp, 4
mov dword [ebp - 0x424], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414789
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x424]
add eax, 0x10
mov dword [ebp - 0x418], eax
jmp 0x4147a3
push dword [eax - 0xc]
lea ecx, [ebp - 0x418]
push eax
call fcn.00402d30
mov byte [ebp - 4], 7
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x4147bc
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x444]
dec eax
cmp eax, 5
ja case.default.0x4147cc
jmp dword [eax*4 + 0x4149bc]
push 1
push 1
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push 0
jmp 0x414849
push 1
push 1
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push 1
jmp 0x414849
push 1
push 1
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push 2
jmp 0x414849
push 1
push 1
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push 3
jmp 0x414849
push 1
push 1
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push 4
jmp 0x414849
push 1
push 1
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push 5
mov ecx, dword [ebp - 0x420]
call fcn.0040bd10
mov ecx, dword [ebp - 0x43c]
inc ecx
mov dword [ebp - 0x43c], ecx
cmp ecx, dword [ebp - 0x464]
jl 0x414403
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x420]
call fcn.00409b70
mov ecx, dword [ebp - 0x420]
call fcn.0040e4b0
mov byte [ebp - 0x411], 1
jmp 0x414896
mov byte [ebp - 0x411], 0
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x438]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4148b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x418]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4148d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4148f3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414914
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x41c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414935
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41494e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x46c]
call fcn.0044c50a
mov al, byte [ebp - 0x411]
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.00586281
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403300
push 0x80004005
call fcn.00403300
push 0x80004005
call fcn.00403300
push 0x80004005
call fcn.00403300
push 0x80004005
call fcn.00403300
push 0x80004005
call fcn.00403300
call fcn.004498c5
rol dword [edi + 0x41], cl
add bh, ah
inc edi
inc ecx
add bl, bh
inc edi
inc ecx
add byte [edi], cl
dec eax
inc ecx
add byte [ebx], ah
dec eax
inc ecx
add byte [edi], dh
dec eax
inc ecx
add ah, cl
int3