Function at 0x652bb8
Capabilities:
Get session user name
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x65342d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xf0]
lea eax, [ebp - 0x19]
call fcn.006524d0
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 8]
call fcn.004060a4
call fcn.004d9cdc
mov eax, dword [eax + 0x4a0]
xor edx, edx
call fcn.004061e8
je 0x652c40
call fcn.004d9cdc
mov edx, dword [eax + 0x4a0]
mov eax, dword [ebp - 0xc]
call fcn.00405ef8
jmp 0x652c8a
call fcn.004d9cdc
cmp byte [eax + 0x185], 0
jne 0x652c8a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
xor edx, edx
call fcn.004061e8
jne 0x652c8a
mov dword [ebp - 0x18], 0x64
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xea]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x652c8a
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0xea]
mov ecx, 0x65
call fcn.00406088
cmp dword [0x68fbfc], 0
jne 0x652cac
mov ecx, dword [0x68fbf8]
mov dl, 1
mov eax, dword [0x64cd30]
call fcn.00650680
mov dword [0x68fbfc], eax
jmp 0x652cca
mov eax, dword [0x68fbfc]
mov eax, dword [eax + 0x27c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov dl, 1
mov eax, dword [0x68fbfc]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [0x68fbfc]
mov dword [ebp - 0x14], eax
mov edx, dword [0x690ccc]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x280]
call fcn.005476d4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor edx, edx
call fcn.004061e8
jne 0x652d49
cmp byte [ebp - 0x19], 0
je 0x652d49
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x4469b8]
call fcn.00448670
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x298], ebx
mov eax, ebx
mov edx, 0x1f4
call fcn.00448808
mov eax, dword [ebp - 0x14]
push eax
push 0x652af4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x298]
call fcn.00448818
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x298]
mov dl, 1
call fcn.004487f8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x270]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x27c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov esi, 0x1e
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x5415ec]
call fcn.0043e2d4
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov dl, 1
mov eax, ebx
call fcn.00460310
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x48]
sub eax, 0x28
push eax
push 0xd
mov ecx, esi
mov edx, 0x14
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x88]
mov dl, 1
mov eax, ebx
call fcn.0043e968
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x48]
sub edx, 0x28
mov eax, ebx
call fcn.0045f8cc
mov edx, dword [0x68fd2c]
mov edx, dword [edx]
mov eax, ebx
call fcn.005460f4
mov dl, 1
mov eax, ebx
call fcn.0043e900
mov edx, dword [0x6906f8]
mov edx, dword [edx]
mov eax, dword [ebx + 0x68]
call fcn.0042d8c4
mov dl, 1
mov eax, ebx
call fcn.00460104
mov eax, dword [ebx + 0x4c]
add eax, 0xc
add esi, eax
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x5415ec]
call fcn.0043e2d4
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov dl, 1
mov eax, ebx
call fcn.00460310
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x48]
sub eax, 0x28
sub eax, 0x85
dec eax
push eax
push 0xd
lea ecx, [esi + 2]
mov edx, 0x14
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x88]
mov edx, dword [0x690fa0]
mov edx, dword [edx]
mov eax, ebx
call fcn.005460f4
mov dl, 1
mov eax, ebx
call fcn.0043e900
mov edx, dword [0x6906f8]
mov edx, dword [edx]
mov eax, dword [ebx + 0x68]
call fcn.0042d8c4
mov dl, 1
mov eax, ebx
call fcn.00460104
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x53e0c8]
call fcn.0043ea94
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x29c], ebx
mov eax, ebx
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x29c]
mov dl, 1
call fcn.00460310
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x29c]
mov edx, 0xff000005
call fcn.00460384
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x29c]
mov eax, dword [eax + 0x68]
mov edx, 0xff000008
call fcn.0042d8c4
push 0x85
push 0x15
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x48]
sub edx, 0x14
sub edx, 0x85
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x29c]
mov ecx, esi
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x29c]
call fcn.00542f90
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x29c]
mov edx, 0x64
call fcn.0043ebd0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x29c]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x264], edx
mov edx, dword [edx]
mov edx, dword [edx + 0xdc]
mov dword [eax + 0x260], edx
mov dl, 1
call fcn.00460104
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x29c]
mov eax, dword [eax + 0x4c]
add eax, 0xc
add esi, eax
call fcn.004d9cdc
cmp byte [eax + 0x21b], 0
je 0x6530d8
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x5415ec]
call fcn.0043e2d4
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov dl, 1
mov eax, ebx
call fcn.00460310
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x48]
sub eax, 0x28
sub eax, 0x85
dec eax
push eax
push 0xd
lea ecx, [esi + 2]
mov edx, 0x14
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x88]
mov edx, dword [0x690094]
mov edx, dword [edx]
mov eax, ebx
call fcn.005460f4
mov dl, 1
mov eax, ebx
call fcn.0043e900
mov dl, 1
mov eax, ebx
call fcn.00460104
mov edx, dword [0x6906f8]
mov edx, dword [edx]
mov eax, dword [ebx + 0x68]
call fcn.0042d8c4
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x53e0c8]
call fcn.0043ea94
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2a0], ebx
mov eax, ebx
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2a0]
mov dl, 1
call fcn.00460310
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2a0]
mov edx, 0xff000005
call fcn.00460384
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2a0]
mov eax, dword [eax + 0x68]
mov edx, 0xff000008
call fcn.0042d8c4
push 0x85
push 0x15
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x48]
sub edx, 0x14
sub edx, 0x85
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2a0]
mov ecx, esi
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2a0]
call fcn.00542f90
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2a0]
mov edx, 0x64
call fcn.0043ebd0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2a0]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x264], edx
mov edx, dword [edx]
mov edx, dword [edx + 0xdc]
mov dword [eax + 0x260], edx
mov dl, 1
call fcn.00460104
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2a0]
mov eax, dword [eax + 0x4c]
add eax, 0xc
add esi, eax
jmp 0x65310e
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x53e0c8]
call fcn.0043ea94
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2a0], ebx
mov eax, ebx
xor edx, edx
call fcn.00460104
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2a0]
call fcn.00542f90
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x270]
mov edx, 0x7d6
call fcn.00570a50
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x270]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x270]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x60]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x48]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x270]
sub edx, dword [eax + 0x48]
sub edx, 0x14
mov ecx, esi
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x270]
mov eax, dword [eax + 0x4c]
add eax, 0xc
add esi, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x274]
mov edx, dword [eax + 0x4c]
add edx, esi
inc edx
mov eax, dword [ebp - 0x14]
call fcn.0045f900
mov cl, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [0x68fbf8]
call fcn.0064fbd4
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x288], 4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x29c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x29c]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x27c]
call fcn.0045f898
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x29c]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x27c]
call fcn.0045f864
mov eax, dword [0x68fbf8]
xor edx, edx
mov dword [eax + 0x294], edx
mov dword [ebp - 0x10], 2
xor edx, edx
push ebp
push 0x653332
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x68fbf8]
call fcn.004549dc
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x68fbf8]
call fcn.00467e90
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov esi, eax
cmp esi, ebx
jne 0x653264
mov eax, dword [0x68fbf8]
call fcn.00467e90
push eax
call sub.user32.dll_SetForegroundWindow
jmp 0x653286
push 0xffffffffffffffff
push ebx
push esi
call sub.user32.dll_AttachThreadInput
mov eax, dword [0x68fbf8]
call fcn.00467e90
push eax
call sub.user32.dll_SetForegroundWindow
push 0
push ebx
push esi
call sub.user32.dll_AttachThreadInput
push 0
push 0
push 0xb000
mov eax, dword [0x68fbf8]
call fcn.00467e90
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
push ebp
push 0x6532c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x29c]
mov edx, dword [eax]
call dword [edx + 0xd4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6532d2
mov eax, dword [0x691520]
mov eax, dword [eax]
call fcn.004582c8
mov eax, dword [0x691520]
mov eax, dword [eax]
cmp byte [eax + 0xa0], 0
je 0x6532fd
mov eax, dword [0x68fbf8]
mov dword [eax + 0x294], 2
mov eax, dword [0x68fbf8]
mov eax, dword [eax + 0x294]
test eax, eax
je 0x6532d2
mov dword [ebp - 0x10], eax
push 0
push 0
push 0xb001
mov eax, dword [0x68fbf8]
call fcn.00467e90
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x65333c
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [0x68fbf8]
call fcn.0064fbd4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xe4]
cmp dword [ebp - 0x10], 1
jne 0x6533ec
lea edx, [ebp - 0xf8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x29c]
call fcn.00542f7c
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 0xf4]
call fcn.0040bcac
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 8]
call fcn.00405ef8
lea ecx, [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00652618
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004061e8
je 0x6533b7
mov eax, dword [ebp - 4]
call fcn.004d955c
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2a0]
call fcn.00542f7c
mov eax, dword [ebp - 0x100]
lea edx, [ebp - 0xfc]
call fcn.0040bcac
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0xc]
call fcn.00405ef8
jmp 0x6533fc
mov eax, dword [ebp - 8]
call fcn.00405ebc
mov eax, dword [ebp - 0xc]
call fcn.00405ebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x653434
lea eax, [ebp - 0x100]
mov edx, 4
call fcn.00405ed4
lea eax, [ebp - 0xf0]
call fcn.00405684
lea eax, [ebp - 4]
call fcn.00405ebc
ret