Function at 0x10023c84
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10065f35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [esp + 0x40], edi
je 0x10023edf
cmp byte [ebp + 0x20], 0
je 0x10023ebf
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x58]
xor ebx, ebx
mov dword [esp + 0x4c], ebx
call fcn.10023156
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0x64]
mov dword [esp + 0x17c], ebx
call fcn.10023156
xor edx, edx
inc edx
mov byte [esp + 0x17c], dl
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
sub ecx, dword [esp + 0x64]
sub eax, dword [esp + 0x58]
sar ecx, 2
sar eax, 2
mov dword [esp + 0x30], ebx
cmp eax, ecx
jbe 0x10023d6f
lea eax, [esp + 0x58]
push eax
push edx
push 0x2b14
push 0x2eb0
push edx
lea ecx, [esp + 0x44]
call fcn.1002382d
add esp, 0x14
lea eax, [esp + 0x64]
lea edx, [esp + 0x2c]
mov ecx, 0x31d7
push 1
push 0x7dd4
push 0x1409
push eax
push 0x2fdb
push 1
push 0x49a3
push 0x2b43
push 0x3f48
lea eax, [esp + 0x54]
push 1
push eax
call fcn.100238c6
add esp, 0x2c
jmp 0x10023dc5
push edx
lea eax, [esp + 0x34]
mov ecx, 0x3e9b
push eax
push 0x4fea
push 0x1421
lea eax, [esp + 0x74]
push eax
push edx
push 0x1cfc
push 0xee2
push 0x4117
push ebx
push 0x483a
mov edx, 0x911
call fcn.100238c6
add esp, 0x2c
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x30]
push eax
push ecx
push 1
lea ecx, [esp + 0x40]
call fcn.100254fb
add esp, 0x10
cmp dword [esp + 0x30], 0
mov dword [esp + 0x2c], ebx
jle 0x10023e31
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x10023e35
push ecx
lea eax, [esp + 0x68]
mov dl, 1
push eax
push ecx
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x40]
call fcn.10023abd
add esp, 0x14
lea eax, [esp + 0x64]
mov dl, 1
lea ecx, [esp + 0x4c]
push eax
lea eax, [esp + 0x5c]
push eax
push 1
push 1
push 0x3841
lea eax, [esp + 0x40]
push 0x289d
push eax
call fcn.10023be4
mov eax, dword [esp + 0x48]
add esp, 0x1c
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x30]
jl 0x10023dd0
mov eax, dword [esp + 0x4c]
mov dword [esi], eax
mov dword [esp + 0x24], 0x7692
cmp dword [esp + 0x24], 0x79d0
jle 0x10023ea8
mov esi, ebx
mov edi, ebx
mov eax, ebx
mov dword [esp + 0x34], ebx
or eax, edi
lea ecx, [esp + 0x128]
or eax, esi
cdq
push edx
push eax
call fcn.10001301
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10023e70
mov eax, dword [eax]
push eax
call fcn.1004c2d0
pop ecx
push ebx
push 1
lea ecx, [esp + 0x130]
call fcn.1000168f
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, 0x3c5
jl 0x10023e53
inc edi
cmp edi, 0x2110
jl 0x10023e4d
inc esi
cmp esi, 0x2e9f
jl 0x10023e4b
lea ecx, [esp + 0x64]
call fcn.10026c9e
lea ecx, [esp + 0x58]
call fcn.10026c9e
jmp 0x10024723
mov byte [esp + 0x1b], 0
cmp byte [esp + 0x1b], 0
je 0x10024723
push 0x334
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x10024723
cmp byte [ebp + 0x18], 0
je 0x10023f12
mov edx, dword [ebp + 0x28]
push 4
pop esi
mov dword [edx], 0
cmp dword [edx], esi
jge 0x10024723
mov edi, dword [ebp + 0x24]
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x4198d72a
inc dword [edx]
cmp dword [edx], esi
jl 0x10023efc
jmp 0x10024723
mov eax, 0xa8b060d2
lea ecx, [esp + 0x8c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], 0xa147b80b
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0x10], 0xffff
push 1
call fcn.100014bd
push 4
pop esi
lea eax, [esp + 0x88]
mov dword [esp + 0x17c], esi
push ebx
push eax
mov dl, 1
lea ecx, [esp + 0x94]
call fcn.100216fb
pop ecx
pop ecx
cmp dword [esp + 0x1c], ebx
jne 0x10023f93
mov eax, dword [esp + 0x14]
add eax, eax
mov dword [esp + 0xf0], eax
jne 0x10023f93
mov edx, ebx
jmp 0x10023f96
xor edx, edx
inc edx
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp eax, edx
setl cl
xor eax, eax
cmp ecx, 0x7c6f
setge al
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub eax, 7
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 0xffffffff
mov eax, dword [esp + 0x8c]
setg dl
xor ecx, ecx
mov dword [eax], edx
mov eax, dword [esp + 0x14]
cmp eax, edx
setge cl
cmp ecx, 0x39b642c
jl 0x10024005
mov dword [esp + 0x14], ebx
jmp 0x10023ffc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x8c]
mov dword [eax + ecx*4], 0xd004dde9
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 1
jl 0x10023fe6
jmp 0x1002403d
mov dword [esp + 0x10], 0xffffffff
jmp 0x10024036
call fcn.100236e9
push 0x242a
push 0x384b
push ebx
mov byte [esp + 0x36], bl
lea edx, [esp + 0x36]
push ebx
mov cl, 1
call fcn.1002198b
add esp, 0x10
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 5
jne 0x1002400f
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x8c]
neg ecx
sbb ecx, ecx
or dword [esp + 0x17c], 0xffffffff
inc ecx
mov dword [eax], ecx
lea ecx, [esp + 0x8c]
call fcn.10001540
push dword [ebp + 0x1c]
lea ecx, [esp + 0xac]
call fcn.10001dc3
mov dword [esp + 0x17c], 5
mov dword [esp + 0x10], 0xc93b4e1a
mov dword [esp + 0x10], ebx
jmp 0x1002419c
push dword [esp + 0x88]
movdqa xmm0, xmmword [0x10074300]
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x110]
mov dword [esp + 0x84], ebx
push eax
push ebx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x90], ebx
movdqu xmmword [esp + 0x118], xmm0
mov dword [esp + 0x94], ebx
call fcn.10001981
mov byte [esp + 0x17c], 6
mov dword [esp + 0x14], ebx
jmp 0x100240f9
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x118], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x100240ea
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1002412a
push 0x4fa6
push ebx
push 0x3706
push 0x2e8
push ebx
mov dl, 1
mov ecx, 0x50ec
call fcn.1002382d
add esp, 0x14
mov eax, dword [esp + 0x10]
inc eax
je 0x10024180
mov dword [esp + 0x14], ebx
jmp 0x10024147
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x3c], 0xffffffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 1
jl 0x10024137
mov dword [esp + 0x3c], ebx
jmp 0x10024167
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x7c]
mov dword [eax + ecx*4], 0x3e31551d
inc dword [esp + 0x3c]
cmp dword [esp + 0x3c], esi
jl 0x10024154
lea eax, [esp + 0x28]
mov byte [esp + 0x28], bl
push eax
push ecx
call fcn.10022baf
pop ecx
pop ecx
jmp 0x10024187
mov dword [esp + 0x124], esi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x17c], 5
call fcn.10001540
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
je 0x10024092
push ecx
push dword [ebp + 8]
lea ecx, [esp + 0xb0]
call fcn.10026469
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0xe16
cmp dword [esp + 0x24], 0x11fa
jle 0x1002426b
mov esi, ebx
mov dword [esp + 0x14], ebx
mov edi, ebx
mov dword [esp + 0x10], ebx
mov eax, esi
mov dword [esp + 0x98], ebx
mov ecx, edi
mov esi, ebx
sar eax, cl
mov dword [esp + 0x1c], eax
mov edi, ebx
xor eax, edi
lea ecx, [esp + 0x140]
xor eax, esi
cdq
push edx
push eax
call fcn.10001301
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10024212
mov eax, dword [eax]
push eax
call fcn.1004c2d0
pop ecx
push ebx
push 1
lea ecx, [esp + 0x148]
call fcn.1000168f
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, 0x138d
jl 0x100241f5
inc esi
cmp esi, 0x1e0b
jl 0x100241f3
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x10], edi
cmp edi, 0x7e21
jl 0x100241e0
inc esi
mov dword [esp + 0x14], esi
cmp esi, 0x5aaa
jl 0x100241da
mov edi, dword [esp + 0x40]
push 4
pop esi
mov dword [esp + 0x1c], 0xfffffff7
cmp dword [esp + 0x24], 0xbd8
jge 0x10024288
push str.stnqk_rwnnmf_nxxo
call fcn.1004c2d0
pop ecx
mov dword [esp + 0x17c], 5
lea ecx, [esp + 0xcc]
mov dword [esp + 0x14], 0xfffffffb
mov dword [esp + 0x24], 0x716e289a
mov dword [esp + 0x1c], ebx
push esi
call fcn.100014bd
mov byte [esp + 0x17c], 9
mov dword [esp + 0x10], 0xfd89d684
mov dword [esp + 0x40], 0xf2c67a95
mov dword [esp + 0x38], ebx
jmp 0x100242e2
mov eax, dword [esp + 0x38]
mov dword [esp + eax*4 + 0x48], 0xffff
inc dword [esp + 0x38]
cmp dword [esp + 0x38], 1
jl 0x100242d2
lea eax, [esp + 0xcc]
xor dl, dl
push eax
lea eax, [esp + 0x3c]
mov ecx, 0x4481
push eax
push 0x40d0
call fcn.100248cc
add esp, 0xc
lea eax, [esp + 0x20]
mov edx, 0x427d
push 1
push 0x5947
push ebx
push eax
push 0xf4f
push 0x510f
push 1
push 0x59
pop ecx
call fcn.1002320d
mov eax, dword [esp + 0x64]
xor edx, edx
add esp, 0x1c
cmp eax, 0xd6b5
mov eax, dword [esp + 0x20]
setne dl
xor ecx, ecx
sub edx, eax
mov eax, dword [esp + 0x48]
cmp edx, eax
mov eax, dword [esp + 0x20]
setge cl
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
add ecx, 2
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
imul eax, ecx
cmp eax, 0xfffffff8
mov eax, dword [esp + 0x14]
setge dl
xor ecx, ecx
cmp edx, eax
sete cl
xor edx, edx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp ecx, eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0xcc]
setg dl
xor ecx, ecx
cmp edx, 0x9e68
setle cl
xor edx, edx
cmp eax, ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
setne dl
mov dword [esp + 0x40], edx
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
setle dl
imul edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], edx
xor edx, edx
cmp eax, ecx
setg dl
cmp edx, dword [esp + 0x20]
je 0x10024402
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
cmp dword [esi + 4], eax
setge cl
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x17c], 5
call fcn.10001540
cmp dword [esp + 0x44], 0xffffffff
push 3
pop esi
je 0x10024507
mov dword [esp + 0x10], ebx
jmp 0x10024456
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x50], 0x6a53d06c
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10024446
mov dword [esp + 0x54], 0xffffffec
jmp 0x100244b5
mov dword [esp + 0x10], ebx
jmp 0x10024480
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x9c], 0x7b1891f7
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1002446d
mov dword [esp + 0xa4], ebx
jmp 0x100244a7
push ecx
lea eax, [esp + 0x2d]
mov byte [esp + 0x2d], bl
push eax
call fcn.100249ee
dec dword [esp + 0xac]
pop ecx
pop ecx
cmp dword [esp + 0xa4], 0xfffffff6
jl 0x1002448f
inc dword [esp + 0x54]
cmp dword [esp + 0x54], 0xfffffffb
jle 0x10024467
push ecx
push ecx
lea eax, [esp + 0x33]
mov byte [esp + 0x33], bl
push eax
push ecx
call fcn.10023bb5
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0xb8]
add esp, 0x10
inc eax
push eax
push ebx
lea eax, [esp + 0x160]
push eax
call fcn.100264ef
push eax
lea ecx, [esp + 0xac]
call fcn.10001dfe
push ebx
push 1
lea ecx, [esp + 0x160]
call fcn.10001f60
push ecx
push 0x526a
lea eax, [esp + 0xb0]
mov ecx, 0x57ab
push eax
push dword [ebp + 8]
lea edx, [esp + 0x54]
call fcn.100236b2
add esp, 0x10
cmp dword [esp + 0x44], 0xffffffff
je 0x100246fe
push esi
lea ecx, [esp + 0x74]
call fcn.100014bd
push 2
lea ecx, [esp + 0xc4]
mov byte [esp + 0x180], 0xa
call fcn.100014bd
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x180], 0xb
call fcn.100014bd
push esi
lea ecx, [esp + 0xf8]
mov byte [esp + 0x180], 0xc
call fcn.100014bd
lea eax, [esp + 0x34]
mov byte [esp + 0x17c], 0xd
push eax
push ebx
mov edx, 0x1e4f
lea ecx, [esp + 0x78]
call fcn.10021822
lea eax, [esp + 0xc8]
xor dl, dl
push 0x5531
push eax
lea ecx, [esp + 0x44]
call fcn.10021b57
add esp, 0x10
lea eax, [esp + 0xd8]
push eax
push ecx
push ecx
lea ecx, [esp + 0x40]
call fcn.10021fe4
add esp, 0xc
lea edx, [esp + 0x34]
lea ecx, [esp + 0xf4]
push ebx
push 0x7622
push ebx
push 0x4a0c
push 0x2a4b
push 0x3e56
push 1
call fcn.1002320d
mov eax, dword [esp + 0x8c]
add esp, 0x1c
mov dword [eax + 8], 0xfffffff0
mov eax, dword [esp + 0x70]
cmp dword [eax + 8], 0x1c
jg 0x100246a4
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x1c], 0xce96f8f9
mov dword [esp + 0x10], ebx
jmp 0x10024643
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x100], 0xfffffff8
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10024630
mov eax, dword [esp + 0x70]
xor edx, edx
mov eax, dword [eax + 4]
cmp eax, dword [esi + 4]
setge dl
xor ecx, ecx
cmp edx, 0x356ec7e4
mov dword [esp + 0x100], edx
sete cl
xor eax, eax
cmp ecx, 0x2092
setne al
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xd8]
sub dword [eax], ecx
mov eax, dword [esp + 0x70]
inc dword [eax + 8]
mov eax, dword [esp + 0x70]
cmp dword [eax + 8], 0x1c
jle 0x1002461a
lea ecx, [esp + 0xf4]
call fcn.10001540
lea ecx, [esp + 0xd8]
call fcn.10001540
lea ecx, [esp + 0xc0]
call fcn.10001540
lea ecx, [esp + 0x70]
mov byte [esp + 0x17c], 5
call fcn.10001540
lea eax, [esp + 0x44]
mov edx, 0x75db
push eax
push ebx
lea eax, [esp + 0xb0]
mov ecx, 0x3619
push 0x6ff3
push eax
call fcn.1002388d
add esp, 0x10
lea eax, [esp + 0xa8]
cmp edi, eax
je 0x10024714
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.10001e86
push ebx
push 1
lea ecx, [esp + 0xb0]
call fcn.10001f60
mov ecx, dword [esp + 0x174]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret