Function at 0x10050a60
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 4], ecx
test edi, edi
call fcn.10013fc0
test eax, eax
jne 0x10050a9b
mov edx, dword [ebp + 8]
mov dword [edx + 0x2650], 0xf
test bh, bh
mov eax, dword [ebp + 8]
mov dword [eax + 0x264c], 1
test ecx, ecx
jmp 0x10050aaa
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x264c], 0
mov ecx, ecx
cmp dword [0x101a639c], 0x1000
je 0x10050ad5
mov edx, dword [ebp + 8]
mov dword [edx + 0x2650], 0x28
push edx
pop edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x264c], 1
nop
jmp 0x10050ae4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x264c], 0
mov esi, esi
mov edx, dword [ebp + 8]
cmp dword [edx + 0x264c], 0
je 0x10050b19
call fcn.10013720
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0x18], edx
test ecx, ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2650]
cmp eax, dword [ebp - 0x18]
jl 0x10050b19
mov dword [ebp - 0x1c], 0
jmp 0x10050b20
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x10050b30
mov eax, 1
jmp 0x10050f52
cmp dword [ebp + 0xc], 0xa0
je 0x10050b42
cmp dword [ebp + 0xc], 0xa1
jne 0x10050b4e
mov dword [ebp + 0xc], 0x10
test eax, 0x664e
cmp dword [ebp + 0xc], 0xa4
je 0x10050b60
cmp dword [ebp + 0xc], 0xa5
jne 0x10050b69
mov dword [ebp + 0xc], 0x12
mov esi, esi
cmp dword [ebp + 0xc], 0xa2
je 0x10050b7b
cmp dword [ebp + 0xc], 0xa3
jne 0x10050b87
mov dword [ebp + 0xc], 0x11
test eax, 0x3163
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3374], 0
jne 0x10050bac
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3360]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3360], eax
test al, al
push eax
pop eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0
jne 0x10050bcd
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.10050450
add esp, 8
test eax, eax
jmp 0x10050f4d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 1
jne 0x10050ebd
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 0x14], eax
test dl, dl
mov eax, dword [ebp - 0x14]
shl eax, 0x10
or eax, 1
mov dword [ebp - 8], eax
test eax, 0x62b1
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov dh, dh
mov edx, dword [ebp + 0xc]
push edx
call fcn.10047830
add esp, 4
test eax, eax
je 0x10050c21
mov eax, dword [ebp - 8]
or eax, 0x1000000
mov dword [ebp - 8], eax
test dh, dh
mov dword [ebp - 0xc], 0
mov edx, edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x10050c6b
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32c8], 0
jne 0x10050c6b
push 0x717be38b
mov eax, dword [ebp + 8]
push eax
call fcn.10049ed0
add esp, 8
test eax, eax
jne 0x10050c6b
mov ecx, dword [ebp - 8]
or ecx, 0x4000000
mov dword [ebp - 8], ecx
mov edi, edi
mov dword [ebp - 0xc], 0x4000000
push edx
pop edx
cmp dword [ebp + 0xc], 0x12
jne 0x10050c7d
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], 1
test edx, edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x60], 0
jne 0x10050c8c
cmp dword [ebp + 0xc], 0x79
jne 0x10050d02
mov ecx, dword [ebp - 8]
or ecx, 0x20000000
mov dword [ebp - 8], ecx
mov eax, eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x10050cae
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ah, ah
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a4], 0
je 0x10050ce8
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x32ac]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x104
mov eax, dword [ebp - 4]
push eax
call fcn.1004d860
add esp, 0x1c
test eax, 0x1b2e
jmp 0x10050d00
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x104
mov eax, dword [ebp - 4]
push eax
call fcn.1004d8e0
test edi, edi
jmp 0x10050d68
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a8], 0
je 0x10050d19
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
test eax, 0x40b2
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32a4], 0
je 0x10050d50
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x32ac]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x100
mov edx, dword [ebp - 4]
push edx
call fcn.1004d860
add esp, 0x1c
mov al, al
jmp 0x10050d68
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x100
mov edx, dword [ebp - 4]
push edx
call fcn.1004d8e0
mov cl, cl
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2600], 0
je 0x10050d8d
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x2634]
call fcn.100478c0
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
test al, al
jmp 0x10050da2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2634]
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
test eax, 0x2825
cmp dword [ebp + 0xc], 0x12
jne 0x10050db4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x60], 0
mov bh, bh
mov edx, dword [ebp + 8]
cmp dword [edx + 0x60], 0
jne 0x10050dc7
cmp dword [ebp + 0xc], 0x79
jne 0x10050e47
mov eax, dword [ebp - 8]
or eax, 0x20000000
mov dword [ebp - 8], eax
test ecx, ecx
mov ecx, dword [ebp - 8]
or ecx, 0xc0000000
mov dword [ebp - 8], ecx
mov esi, esi
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x10050df6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push eax
pop eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a4], 0
je 0x10050e2d
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x32ac]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x105
mov eax, dword [ebp - 4]
push eax
call fcn.1004d860
add esp, 0x1c
test ah, ah
jmp 0x10050e45
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x105
mov eax, dword [ebp - 4]
push eax
call fcn.1004d8e0
mov ah, ah
jmp 0x10050eb8
mov ecx, dword [ebp - 8]
or ecx, 0xc0000000
mov dword [ebp - 8], ecx
mov bl, bl
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x10050e69
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
test bh, bh
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a4], 0
je 0x10050ea0
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x32ac]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x101
mov eax, dword [ebp - 4]
push eax
call fcn.1004d860
add esp, 0x1c
test bh, bh
jmp 0x10050eb8
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x101
mov eax, dword [ebp - 4]
push eax
call fcn.1004d8e0
mov dh, dh
jmp 0x10050f4d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 2
jne 0x10050f4d
cmp dword [ebp + 0xc], 0x12
jne 0x10050edc
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], 1
test eax, eax
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100aa1a0
add esp, 0xc
test ecx, ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2600], 0
je 0x10050f15
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x2638]
call fcn.100478c0
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
push edx
pop edx
jmp 0x10050f27
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2638]
push edx
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, ecx
cmp dword [ebp + 0xc], 0x12
jne 0x10050f39
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], 0
test bl, bl
push 2
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100aa1a0
add esp, 0xc
test eax, eax
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret