Function at 0x42c250
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4971c4]
mov edx, dword [eax + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
mov ecx, 0x4971c4
mov dword [ebp - 0x30], ebx
call edx
lea edi, [eax + 0x10]
mov eax, dword [0x4971c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4971c4
mov dword [ebp - 0x20], edi
call edx
add eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [0x4971c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4971c4
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [0x4971c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4971c4
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [0x4971c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4971c4
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [0x4971c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4971c4
call edx
add eax, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.USER32.dll_GetShellWindow]
cmp eax, ebx
je 0x42c331
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x42c331
push eax
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x42c32a
lea edx, [ebp - 8]
push esi
push edx
call fcn.0042cd60
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0042cd60
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp dword [ecx - 0xc], ebx
je 0x42c6ea
mov edx, dword [ebp - 8]
cmp dword [edx - 0xc], ebx
je 0x42c6ea
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0042bf20
add esp, 8
test al, al
je 0x42c3a1
lea edx, [ebp - 4]
push edx
push ebx
push 2
mov dword [ebp - 4], ebx
call sub.Secur32.dll_GetUserNameExW
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x42c3f4
lea ecx, [ebp - 4]
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.004072d2
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
call fcn.00406f91
jmp 0x42c3f4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.0042be80
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0042cc10
mov eax, dword [ebp - 0x24]
add esp, 0xc
cmp dword [eax - 0xc], ebx
je 0x42c3e8
mov ecx, dword [ebp - 0x14]
push ecx
push eax
lea edx, [ebp - 0xc]
push str._s_s
push edx
call fcn.0042c1a0
add esp, 0x10
jmp 0x42c3f4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.0042c130
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.RealCreateProcessScheduledTask
lea edx, [ebp - 0x20]
push str._s_lu_s
push edx
call fcn.0042c1a0
lea eax, [ebp - 0x2c]
push eax
call fcn.0042cb50
add esp, 0x18
test eax, eax
jl 0x42c5c4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x20]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [ebp - 0x1c]
push eax
push esi
call edx
mov eax, dword [0x4971c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4971c4
call edx
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 3
call fcn.0042c210
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x42c597
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x254]
push ebx
mov dword [ebp - 0x258], ecx
push edx
lea ecx, [ebp - 0x258]
call fcn.00403fd0
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x258]
push ebx
lea eax, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x154], eax
call fcn.00403fd0
mov edx, dword [esi]
mov eax, dword [ebp - 0x154]
mov edx, dword [edx]
push edi
push eax
mov ecx, esi
call edx
mov esi, eax
mov eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x150]
cmp eax, ecx
je 0x42c4de
push eax
call fcn.0044feab
add esp, 4
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x254]
cmp eax, edx
je 0x42c4f7
push eax
call fcn.0044feab
add esp, 4
cmp esi, ebx
jl 0x42c597
lea ecx, [ebp - 0x50]
call fcn.0042bf80
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x50]
push edx
call eax
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.0042bfd0
cmp esi, ebx
jl 0x42c597
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [ebp - 0x38]
push eax
call edx
cmp eax, ebx
jl 0x42c597
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 4
call edx
cmp eax, ebx
jl 0x42c597
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
jl 0x42c597
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
test eax, eax
jl 0x42c597
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea esp, [esp]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [ebp - 4]
push edx
call eax
cmp dword [ebp - 4], 4
je 0x42c590
push 0x64
call edi
inc esi
cmp esi, 0x32
jl 0x42c570
jmp 0x42c597
mov dword [ebp - 0x30], 1
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
mov edx, dword [edx + 4]
push eax
call edx
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c5c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x18]
cmp esi, ebx
je 0x42c5f5
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42c5f5
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42c5f5
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov esi, dword [ebp - 0x28]
cmp esi, ebx
je 0x42c626
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42c626
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42c626
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c645
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c664
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c683
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c6a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c6c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c6e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x18]
cmp esi, ebx
je 0x42c71b
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42c71b
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42c71b
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov esi, dword [ebp - 0x28]
cmp esi, ebx
je 0x42c74c
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42c74c
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42c74c
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c76b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c78a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c7a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c7c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c7e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c803
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret