Function at 0x100340c1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1005b008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov edx, ecx
mov ecx, dword [0x1006ef44]
mov dword [ebp - 8], edx
test ecx, ecx
je case.0x10034827.527
lea esi, [ecx + 8]
mov ecx, dword [ecx + 0x70]
mov dword [ebp - 0x4c], ecx
cmp edi, 0x200
ja 0x1003480f
je case.0x100340ba.160
lea eax, [edi - 7]
cmp eax, 0xfe
ja case.0x10034827.527
movzx eax, byte [eax + 0x10034ad8]
jmp dword [eax*4 + 0x10034ac0]
cmp edi, 0x100
je 0x100340d5
mov byte [ebp - 0x40], 0
cmp edi, 0x104
jne 0x100340d9
mov byte [ebp - 0x40], 1
cmp dword [ebx + 8], 0x100
jae case.0x10034827.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [ebp - 0x44], al
je 0x10034122
test al, al
je 0x1003410f
vmovss xmm3, dword [0x10055920]
jmp 0x10034113
vxorps xmm3, xmm3, xmm3
push dword [ebp - 0x44]
mov ecx, esi
push 0x1000
call fcn.1000b900
push 0x10
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [ebp - 0x44], al
je 0x10034158
test al, al
je 0x10034145
vmovss xmm3, dword [0x10055920]
jmp 0x10034149
vxorps xmm3, xmm3, xmm3
push dword [ebp - 0x44]
mov ecx, esi
push 0x2000
call fcn.1000b900
push 0x12
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [ebp - 0x44], al
je 0x1003418e
test al, al
je 0x1003417b
vmovss xmm3, dword [0x10055920]
jmp 0x1003417f
vxorps xmm3, xmm3, xmm3
push dword [ebp - 0x44]
mov ecx, esi
push 0x4000
call fcn.1000b900
push 0x5d
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [ebp - 0x44], al
je 0x100341c4
test al, al
je 0x100341b1
vmovss xmm3, dword [0x10055920]
jmp 0x100341b5
vxorps xmm3, xmm3, xmm3
push dword [ebp - 0x44]
mov ecx, esi
push 0x8000
call fcn.1000b900
mov esi, dword [ebx + 8]
cmp esi, 0xd
jne 0x100341df
mov eax, dword [ebx + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.10033b10
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1003423b
mov ecx, dword [0x1006ef44]
add ecx, 8
mov dword [ebp - 8], ecx
cmp byte [ecx + 0x3761], 0
je 0x10034225
cmp byte [ebp - 0x40], 0
je 0x10034212
vmovss xmm3, dword [0x10055920]
jmp 0x10034216
vxorps xmm3, xmm3, xmm3
push dword [ebp - 0x40]
push eax
call fcn.1000b900
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 8]
cmp esi, 0x1ff
ja 0x1003423b
mov dword [ecx + esi*4 + 0xb0], eax
mov dword [ecx + eax*4 + 0xb0], esi
cmp esi, 0x10
jne 0x10034302
push 0xa0
call edi
mov cl, byte [ebp - 0x40]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1003429d
mov eax, dword [0x1006ef44]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x10034289
test cl, cl
je 0x10034276
vmovss xmm3, dword [0x10055920]
jmp 0x1003427a
vxorps xmm3, xmm3, xmm3
push dword [ebp - 0x40]
mov ecx, esi
push 0x210
call fcn.1000b900
mov dword [esi + 0x330], 0x210
mov dword [esi + 0x8f0], 0xa0
push 0xa1
call edi
mov cl, byte [ebp - 0x40]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10034827.527
mov esi, dword [0x1006ef44]
cmp byte [esi + 0x3769], 0
je 0x100342e9
test cl, cl
je 0x100342d1
vmovss xmm0, dword [0x10055920]
jmp 0x100342d5
vxorps xmm0, xmm0, xmm0
push dword [ebp - 0x40]
vmovaps xmm3, xmm0
push 0x214
lea ecx, [esi + 8]
call fcn.1000b900
mov dword [esi + 0x33c], 0x214
mov dword [esi + 0x908], 0xa1
jmp case.0x10034827.527
cmp esi, 0x11
jne 0x100343c9
push 0xa2
call edi
mov cl, byte [ebp - 0x40]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x10034364
mov eax, dword [0x1006ef44]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x10034350
test cl, cl
je 0x1003433d
vmovss xmm3, dword [0x10055920]
jmp 0x10034341
vxorps xmm3, xmm3, xmm3
push dword [ebp - 0x40]
mov ecx, esi
push 0x20f
call fcn.1000b900
mov dword [esi + 0x338], 0x20f
mov dword [esi + 0x8ec], 0xa2
push 0xa3
call edi
mov cl, byte [ebp - 0x40]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10034827.527
mov esi, dword [0x1006ef44]
cmp byte [esi + 0x3769], 0
je 0x100343b0
test cl, cl
je 0x10034398
vmovss xmm0, dword [0x10055920]
jmp 0x1003439c
vxorps xmm0, xmm0, xmm0
push dword [ebp - 0x40]
vmovaps xmm3, xmm0
push 0x213
lea ecx, [esi + 8]
call fcn.1000b900
mov dword [esi + 0x344], 0x213
mov dword [esi + 0x904], 0xa3
jmp case.0x10034827.527
cmp esi, 0x12
jne case.0x10034827.527
push 0xa4
call edi
mov cl, byte [ebp - 0x40]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1003442b
mov eax, dword [0x1006ef44]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x10034417
test cl, cl
je 0x10034404
vmovss xmm3, dword [0x10055920]
jmp 0x10034408
vxorps xmm3, xmm3, xmm3
push dword [ebp - 0x40]
mov ecx, esi
push 0x211
call fcn.1000b900
mov dword [esi + 0x340], 0x211
mov dword [esi + 0x8f4], 0xa4
push 0xa5
call edi
mov cl, byte [ebp - 0x40]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10034827.527
mov esi, dword [0x1006ef44]
cmp byte [esi + 0x3769], 0
je 0x10034477
test cl, cl
je 0x1003445f
vmovss xmm0, dword [0x10055920]
jmp 0x10034463
vxorps xmm0, xmm0, xmm0
push dword [ebp - 0x40]
vmovaps xmm3, xmm0
push 0x215
lea ecx, [esi + 8]
call fcn.1000b900
mov dword [esi + 0x34c], 0x215
mov dword [esi + 0x90c], 0xa5
jmp case.0x10034827.527
mov eax, dword [esi + 0xdac]
cmp edi, 7
mov edx, dword [eax + 0x3df0]
lea ecx, [eax + 0x3df0]
sete byte [ebp - 0x45]
mov dword [ebp - 8], eax
sub edx, 1
js 0x100344d3
mov eax, dword [eax + 0x3df8]
lea ecx, [edx*8]
sub ecx, edx
lea eax, [eax + ecx*4]
cmp dword [eax], 6
je 0x1003452d
sub eax, 0x1c
sub edx, 1
jns 0x100344c3
mov eax, dword [ebp - 8]
cmp byte [eax + 0x3768], 0
sete cl
mov ch, byte [ebp - 0x45]
cmp cl, ch
je case.0x10034827.527
cmp byte [esi + 0x5e], 0
je 0x100344f7
cmp edi, 7
jne case.0x10034827.527
mov eax, dword [eax + 0x3e0c]
mov edx, dword [ebp - 8]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
inc eax
mov byte [ebp - 0x20], ch
lea ecx, [edx + 0x3df0]
vmovq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], 6
mov dword [edx + 0x3e0c], eax
jmp 0x10034a8d
mov cl, byte [eax + 0xc]
mov eax, dword [ebp - 8]
jmp 0x100344dd
push edx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x1003466b
mov ecx, dword [ebx + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x10034827.527
movzx edi, cx
mov ecx, edi
test cx, cx
jne 0x1003456c
cmp word [esi + 0x3764], cx
je case.0x10034827.527
cmp byte [esi + 0x3761], 0
je case.0x10034827.527
movzx edx, word [esi + 0x3764]
mov eax, ecx
and eax, 0xfc00
mov dword [ebp - 0x44], 0xd800
cmp ax, word [ebp - 0x44]
jne 0x100345ef
test dx, dx
je 0x100345e3
mov ecx, dword [esi + 0xdac]
vxorpd xmm0, xmm0, xmm0
vmovlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov eax, dword [ecx + 0x3e0c]
mov dword [ebp - 0x24], eax
inc eax
mov dword [ecx + 0x3e0c], eax
lea eax, [ebp - 0x2c]
push eax
add ecx, 0x3df0
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x20], 0xfffd
call fcn.100221c0
mov word [esi + 0x3764], di
jmp case.0x10034827.527
test dx, dx
je 0x10034666
mov ecx, 0xdc00
cmp ax, cx
je 0x10034658
mov ecx, dword [esi + 0xdac]
vxorpd xmm0, xmm0, xmm0
vmovlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov eax, dword [ecx + 0x3e0c]
mov dword [ebp - 0x24], eax
inc eax
mov dword [ecx + 0x3e0c], eax
lea eax, [ebp - 0x2c]
push eax
add ecx, 0x3df0
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x20], 0xfffd
call fcn.100221c0
mov ecx, edi
xor eax, eax
mov word [esi + 0x3764], ax
movzx edx, cx
jmp 0x1003468c
xor eax, eax
mov ecx, 0xfffd
mov word [esi + 0x3764], ax
movzx edx, cx
jmp 0x1003468c
push 1
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 1
lea eax, [ebx + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [ebp - 8]
mov ecx, dword [esi + 0xdac]
test edx, edx
je case.0x10034827.527
cmp byte [esi + 0x3761], 0
je case.0x10034827.527
mov eax, dword [ecx + 0x3e0c]
mov dword [ebp - 0x24], eax
inc eax
vxorpd xmm0, xmm0, xmm0
vmovlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x28], 2
mov dword [ecx + 0x3e0c], eax
mov dword [ebp - 0x20], edx
jmp 0x10034a87
cmp word [ebx + 0xc], 1
jne case.0x10034827.527
call fcn.10032fc0
test al, al
je case.0x10034827.527
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004c44e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xffffff80
cmp eax, 0xff515700
jne 0x1003471f
mov dword [ebp - 0x40], 2
jmp 0x1003472c
xor ecx, ecx
cmp eax, 0xff515780
sete cl
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
mov edx, dword [ebp - 8]
cmp edi, 0x200
setne cl
inc ecx
mov dword [eax + 4], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x44], eax
cmp eax, ecx
je 0x100347b5
cmp edi, 0x200
mov dword [ebp - 0x3c], 0x10
mov eax, 2
mov dword [ebp - 0x38], 0x80000000
mov ecx, 0x12
mov dword [ebp - 0x34], edx
cmovne eax, ecx
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x44], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0
je 0x100347a3
lea ecx, [ebp - 0x3c]
push ecx
call eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
lea ecx, [ebp - 0x20]
push ecx
call eax
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov dword [edx + 8], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebx + 0xc]
movsx eax, cx
shr ecx, 0x10
mov dword [ebp - 0x10], eax
movsx eax, cx
mov dword [ebp - 0xc], eax
cmp edi, 0xa0
jne 0x100347e2
lea eax, [ebp - 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x10034827.527
mov eax, dword [esi + 0xdac]
mov ecx, dword [ebp - 0x40]
vxorps xmm2, xmm2, xmm2
vxorps xmm1, xmm1, xmm1
mov dword [eax + 0x3e08], ecx
mov ecx, esi
vcvtsi2ss xmm2, xmm2, dword [ebp - 0xc]
vcvtsi2ss xmm1, xmm1, dword [ebp - 0x10]
call fcn.1000ba20
jmp case.0x10034827.527
lea eax, [edi - 0x201]
cmp eax, 0xa2
ja case.0x10034827.527
movzx eax, byte [eax + 0x10034bf4]
jmp dword [eax*4 + 0x10034bd8]
xor eax, eax
cmp edi, 0x2a3
setne al
inc eax
cmp dword [ecx + 8], eax
jne case.0x10034827.527
cmp dword [ecx + 4], edx
jne 0x1003484f
mov dword [ecx + 4], 0
vmovss xmm1, dword [0x10055b3c]
mov dword [ecx + 8], 0
mov ecx, esi
vmovaps xmm2, xmm1
call fcn.1000ba20
jmp case.0x10034827.527
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xffffff80
cmp eax, 0xff515700
jne 0x10034887
mov dword [ebp - 0x44], 2
jmp 0x10034894
xor ecx, ecx
cmp eax, 0xff515780
sete cl
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0
cmp edi, 0x204
je 0x100348ab
cmp edi, 0x206
jne 0x100348b2
mov dword [ebp - 0x40], 1
cmp edi, 0x207
je 0x100348c2
cmp edi, 0x209
jne 0x100348c9
mov dword [ebp - 0x40], 2
cmp edi, 0x20b
je 0x100348d9
cmp edi, 0x20d
jne 0x100348ec
mov eax, dword [ebx + 8]
shr eax, 0x10
dec eax
neg eax
sbb eax, eax
neg eax
add eax, 3
mov dword [ebp - 0x40], eax
mov edi, dword [ebp - 0x4c]
cmp dword [edi + 0xc], 0
jne 0x10034908
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x10034908
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x40]
bts eax, ecx
mov edx, dword [ebp - 0x44]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0xdac]
push 1
push ecx
mov ecx, esi
mov dword [eax + 0x3e08], edx
call fcn.1000bb70
jmp case.0x10034827.527
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xffffff80
cmp eax, 0xff515700
jne 0x1003494b
mov dword [ebp - 0x44], 2
jmp 0x10034958
xor edx, edx
cmp eax, 0xff515780
sete dl
mov dword [ebp - 0x44], edx
xor ecx, ecx
cmp edi, 0x205
sete cl
mov dword [ebp - 0x40], ecx
cmp edi, 0x208
jne 0x10034975
mov ecx, 2
jmp 0x1003498d
cmp edi, 0x20c
jne 0x10034990
mov ecx, dword [ebx + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0xc]
btr eax, ecx
mov dword [edx + 0xc], eax
test eax, eax
jne 0x100349b4
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 8]
jne 0x100349b1
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x40]
mov eax, dword [esi + 0xdac]
mov edx, dword [ebp - 0x44]
push 0
push ecx
mov ecx, esi
mov dword [eax + 0x3e08], edx
call fcn.1000bb70
jmp case.0x10034827.527
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 0xdac]
shr eax, 0x10
cmp byte [esi + 0x3761], 0
cwde
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vdivss xmm1, xmm0, dword [0x10055aa8]
je case.0x10034827.527
vxorps xmm0, xmm0, xmm0
vucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp case.0x10034827.527
vmovss dword [ebp - 0x20], xmm0
vmovss dword [ebp - 0x1c], xmm1
jmp 0x10034a60
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 0xdac]
shr eax, 0x10
cmp byte [esi + 0x3761], 0
vxorps xmm0, xmm0, xmm0
cwde
vcvtsi2ss xmm0, xmm0, eax
vxorps xmm0, xmm0, xmmword [0x10055d40]
vdivss xmm1, xmm0, dword [0x10055aa8]
je case.0x10034827.527
vxorps xmm0, xmm0, xmm0
vucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp case.0x10034827.527
vmovss dword [ebp - 0x20], xmm1
vmovss dword [ebp - 0x1c], xmm0
mov eax, dword [ecx + 0x3e0c]
mov dword [ebp - 0x24], eax
inc eax
mov dword [ecx + 0x3e0c], eax
mov eax, dword [ecx + 0x3e08]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x18], eax
add ecx, 0x3df0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
push eax
call fcn.100221c0
jmp case.0x10034827.527
cmp dword [ebx + 8], 7
jne case.0x10034827.527
mov byte [ecx + 0x25], 1
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.1004c44e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret