Function at 0x4e0d90
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x69d44b
push eax
mov eax, dword [0x21ebef8]
mov dword fs:[0], esp
mov edx, dword [eax + 0x408]
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax + 0x404]
shl ecx, 8
mov cl, byte [ecx + eax + 0x20]
shl edx, 8
xor ebx, ebx
cmp cl, byte [edx + eax + 0x20]
push edi
je 0x4e0ed1
test cl, cl
jns 0x4e0ed1
mov ecx, 0x21ec34c
call fcn.00520ff0
cmp ax, 0x12
je 0x4e0dfe
mov ecx, 0x21ec34c
call fcn.00521ef0
test al, al
jne 0x4e0ed1
push 0xd
call dword [sym.imp.user32.dll_GetAsyncKeyState]
cmp dword [esi + 0x8e6c], ebx
je 0x4e0e65
mov dword [0x703c18], ebx
mov ecx, 0x21ec34c
mov dword [esi + 0x8e6c], ebx
call fcn.00520fb0
push ebx
mov ecx, 0x21ec34c
call fcn.00521a50
mov ecx, 0x21ec34c
call fcn.00522220
push eax
push 0x6a9d2c
add esi, 0x8e24
push esi
call fcn.005b8b8d
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
cmp dword [esi + 0x8e70], ebx
je 0x4e0ed1
mov dword [0x703c18], ebx
mov ecx, 0x21ec34c
mov dword [esi + 0x8e70], ebx
call fcn.00520fb0
push ebx
mov ecx, 0x21ec34c
call fcn.00521a50
mov ecx, 0x21ec34c
lea edi, [esi + 0x8e39]
call fcn.00522220
push eax
push 0x6a9d2c
push edi
call fcn.005b8b8d
mov eax, dword [esi + 0x8e18]
push edi
push eax
call fcn.0058aba0
add esp, 0x14
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [0x21ebf00]
push ebp
mov ebp, 1
cmp eax, ebp
mov dword [esp + 0x18], ebx
jne 0x4e1240
cmp dword [0x21ebf04], ebx
jne 0x4e1240
mov eax, dword [esi + 4]
mov ecx, dword [0x706454]
lea edx, [eax + 0x3e]
cmp ecx, edx
mov edx, dword [0x706458]
jl 0x4e0fcb
add eax, 0xe0
cmp ecx, eax
jg 0x4e0fcb
mov eax, dword [esi + 8]
lea ecx, [eax + 0x2e]
cmp edx, ecx
jl 0x4e0fcb
add eax, 0x41
cmp edx, eax
jg 0x4e0fcb
cmp dword [esi + 0x8e6c], ebx
je 0x4e0f5d
mov dword [0x703c18], ebx
mov ecx, 0x21ec34c
mov dword [esi + 0x8e6c], ebx
call fcn.00520fb0
push ebx
mov ecx, 0x21ec34c
call fcn.00521a50
cmp dword [esi + 0x8e70], ebx
je 0x4e0f86
mov dword [0x703c18], ebx
mov ecx, 0x21ec34c
mov dword [esi + 0x8e70], ebx
call fcn.00520fb0
push ebx
mov ecx, 0x21ec34c
call fcn.00521a50
mov dword [0x84efa8], ebx
mov dword [0x703c18], ebp
mov dword [esi + 0x8e6c], ebp
xor edx, edx
lea eax, [esi + 0x8e24]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
push ebp
mov ecx, 0x21ec34c
mov byte [eax + 0x14], dl
call fcn.00521a50
mov ecx, 0x21ec34c
call fcn.00523c40
jmp 0x4e1068
cmp dword [esi + 0x8e6c], ebx
je 0x4e1013
mov dword [0x703c18], ebx
mov ecx, 0x21ec34c
mov dword [esi + 0x8e6c], ebx
call fcn.00520fb0
push ebx
mov ecx, 0x21ec34c
call fcn.00521a50
mov ecx, 0x21ec34c
call fcn.00522220
push eax
lea ecx, [esi + 0x8e24]
push 0x6a9d2c
push ecx
call fcn.005b8b8d
add esp, 0xc
cmp dword [esi + 0x8e70], ebx
je 0x4e1074
mov dword [0x703c18], ebx
mov ecx, 0x21ec34c
mov dword [esi + 0x8e70], ebx
call fcn.00520fb0
push ebx
mov ecx, 0x21ec34c
call fcn.00521a50
mov ecx, 0x21ec34c
lea edi, [esi + 0x8e39]
call fcn.00522220
push eax
push 0x6a9d2c
push edi
call fcn.005b8b8d
mov edx, dword [esi + 0x8e18]
push edi
push edx
call fcn.0058aba0
add esp, 0x14
cmp dword [esi + 0x8e70], ebx
jne 0x4e1240
mov ecx, dword [0x21e69cc]
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
jne 0x4e108c
xor eax, eax
jmp 0x4e1096
mov eax, dword [0x21e69d0]
sub eax, ecx
sar eax, 2
cmp edx, eax
jge 0x4e1240
cmp ecx, ebx
jne 0x4e10a6
xor eax, eax
jmp 0x4e10b0
mov eax, dword [0x21e69d0]
sub eax, ecx
sar eax, 2
cmp edx, eax
jge 0x4e1230
mov eax, dword [esp + 0x14]
lea eax, [ecx + eax*4]
mov dword [0x21e69d8], eax
mov edi, dword [eax]
cmp edi, ebx
je 0x4e1230
mov eax, dword [esp + 0x18]
fld dword [esi + 0x1438]
inc eax
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jnp 0x4e1230
mov eax, dword [esi + 4]
mov ebp, dword [0x706454]
lea edx, [eax + 0x25]
cmp ebp, edx
jl 0x4e1159
add eax, 0x12e
mov edx, ebp
cmp edx, eax
jg 0x4e1159
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov ebp, dword [0x706458]
add eax, edx
lea edx, [eax + 0x70]
cmp ebp, edx
jl 0x4e1159
add eax, 0x84
mov edx, ebp
cmp edx, eax
jg 0x4e1159
push 0x447a0000
push 0x21f1d38
push 0x1e
push ebx
mov ecx, 0x21efa50
call fcn.0052a5b0
mov eax, dword [edi]
cmp eax, dword [0x8507f4]
je 0x4e1153
mov dword [esi + 0x8e18], eax
mov ecx, dword [0x21e69cc]
mov eax, dword [esi + 4]
mov ebp, dword [0x706454]
lea edx, [eax + 0xfe]
cmp ebp, edx
jl 0x4e1219
add eax, 0x10e
mov edx, ebp
cmp edx, eax
jg 0x4e1219
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov ebp, dword [0x706458]
add eax, edx
lea edx, [eax + 0x6e]
cmp ebp, edx
jl 0x4e1219
add eax, 0x7e
mov edx, ebp
cmp edx, eax
jg 0x4e1219
mov eax, dword [edi]
cmp eax, dword [0x8507f4]
je 0x4e11b2
mov dword [esi + 0x8e18], eax
mov eax, dword [0x706454]
add eax, 0xfffffed4
cmp eax, ebx
jge 0x4e11c2
xor eax, eax
mov dword [esi + 0x8e74], eax
mov eax, dword [0x706458]
mov dword [esi + 0x8e78], eax
mov dword [0x84efa8], ebx
mov ebp, 1
mov dword [0x703c18], ebp
mov dword [esi + 0x8e70], ebp
xor eax, eax
mov ecx, 0xc
lea edi, [esi + 0x8e39]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebp
mov ecx, 0x21ec34c
stosb byte es:[edi], al
call fcn.00521a50
mov ecx, 0x21ec34c
call fcn.00523c40
mov ecx, dword [0x21e69cc]
jmp 0x4e121e
mov ebp, 1
mov eax, dword [esp + 0x10]
add eax, 0x17
cmp eax, 0x142
mov dword [esp + 0x10], eax
jg 0x4e1240
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
mov edx, eax
jmp 0x4e1084
lea eax, [esi + 0x8e24]
mov dword [esp + 0x14], eax
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e1250
sub eax, edx
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x6c4c]
je 0x4e1268
push ebp
jmp 0x4e1269
push ebx
call fcn.00516a50
cmp dword [esi + 0x8e18], ebx
lea ebp, [esi + 0x7120]
mov ecx, ebp
je 0x4e1289
push 1
call fcn.00516a50
push 1
jmp 0x4e1292
push 0
call fcn.00516a50
push 0
lea ebx, [esi + 0x75f4]
mov ecx, ebx
call fcn.00516a50
mov eax, dword [0x21e69cc]
test eax, eax
jne 0x4e12ae
mov dword [esp + 0x18], eax
jmp 0x4e12bd
mov ecx, dword [0x21e69d0]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
push 0x41600000
push ecx
lea edi, [esi + 0x53c]
mov ecx, edi
fstp dword [esp]
call fcn.0051a440
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0x42f00000
push 0
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
mov ecx, edi
call fcn.0051a5e0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, edi
call fcn.0051ada0
test ah, 2
jne 0x4e132c
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
lea ecx, [esi + 0x4a80]
call fcn.00516c20
test eax, eax
je 0x4e1344
push 1
mov ecx, 0x84f768
call fcn.004ccca0
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
lea ecx, [esi + 0x4f54]
call fcn.00516c20
test eax, eax
je 0x4e137f
push 2
mov ecx, 0x84f768
call fcn.004ccca0
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
lea ecx, [esi + 0x5428]
call fcn.00516c20
test eax, eax
je 0x4e13ba
push 3
mov ecx, 0x84f768
call fcn.004ccca0
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
lea ecx, [esi + 0x58fc]
call fcn.00516c20
test eax, eax
je 0x4e13f5
push 4
mov ecx, 0x84f768
call fcn.004ccca0
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
lea ecx, [esi + 0x6c4c]
call fcn.00516c20
test eax, eax
je 0x4e146a
mov esi, dword [esp + 0x14]
push esi
push 0x704b80
call fcn.0041b140
push 0x1c3
call fcn.0041b230
mov ecx, dword [0x7034d8]
add esp, 0xc
push eax
push 7
call fcn.0041d380
push esi
call fcn.0058aae0
add esp, 4
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
pop ebp
mov dword [esi + 0x10], eax
pop edi
mov byte [esi + 0x14], al
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, ebp
call fcn.00516c20
test eax, eax
je 0x4e1539
mov eax, dword [esi + 0x8e18]
push eax
mov ecx, 0x84f768
call fcn.004c74b0
test eax, eax
je 0x4e1521
mov ecx, dword [esi + 0x8e7c]
test ecx, ecx
jne 0x4e1521
add eax, 6
push eax
push 0x704b80
call fcn.0041b140
push 0xa40
call fcn.005b8072
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
mov dword [esp + 0x24], 0
je 0x4e1519
push 0x1c4
call fcn.0041b230
add esp, 4
push eax
push 0xff
push 0xff
push 0xff
push 1
mov ecx, edi
call fcn.004bc830
pop ebp
pop edi
mov dword [esi + 0x8e7c], eax
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
xor eax, eax
mov dword [esi + 0x8e7c], eax
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, ebx
call fcn.00516c20
test eax, eax
je 0x4e15b1
mov eax, dword [esi + 0x8e18]
push eax
mov ecx, 0x84f768
call fcn.004c74b0
test eax, eax
je 0x4e1599
mov ecx, dword [0x707160]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4e1599
mov ecx, dword [ecx + 0x184]
add eax, 6
lea esi, [ecx + 0x18c]
sub esi, eax
mov edi, edi
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
test dl, dl
jne 0x4e1580
mov dword [ecx + 0x188], 1
call fcn.0046b6a0
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret