Function at 0x44242a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x471270]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
push esi
push edi
mov edi, edx
test eax, eax
je case.0x442aae.527
mov edx, dword [eax + 0x6c]
lea esi, [eax + 8]
mov dword [esp + 0x14], edx
cmp edi, 0x200
ja 0x442a96
je 0x442a35
lea eax, [edi - 7]
cmp eax, 0xfe
ja case.0x442aae.527
movzx eax, byte [eax + 0x442c50]
jmp dword [eax*4 + 0x442c3c]
cmp edi, 0x100
je 0x44243f
mov byte [esp + 0x14], 0
cmp edi, 0x104
jne 0x442444
mov byte [esp + 0x14], 1
mov edi, dword [ebp + 8]
cmp edi, 0x100
jae case.0x442aae.527
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3779], 0
mov byte [esp + 0x1c], al
je 0x44248e
test al, al
je 0x44247b
movss xmm3, dword [0x4563f0]
jmp 0x44247e
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x281
call fcn.00402b40
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3779], 0
mov byte [esp + 0x1c], al
je 0x4424c9
test al, al
je 0x4424b6
movss xmm3, dword [0x4563f0]
jmp 0x4424b9
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x282
call fcn.00402b40
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3779], 0
mov byte [esp + 0x1c], al
je 0x442504
test al, al
je 0x4424f1
movss xmm3, dword [0x4563f0]
jmp 0x4424f4
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x283
call fcn.00402b40
push 0x5d
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3779], 0
mov byte [esp + 0x1c], al
je 0x44253f
test al, al
je 0x44252c
movss xmm3, dword [0x4563f0]
jmp 0x44252f
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x284
call fcn.00402b40
cmp edi, 0xd
jne 0x442557
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne edi, eax
mov ecx, edi
call fcn.00441e90
test eax, eax
je 0x442572
mov dl, byte [esp + 0x14]
push ecx
push edi
mov ecx, eax
call fcn.00441370
add esp, 8
cmp edi, 0x10
jne 0x44268e
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x442600
mov esi, dword [0x471270]
test esi, esi
jne 0x4425c1
push 0xebb
push 0x44a3d0
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov esi, dword [0x471270]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3781], 0
je 0x4425ec
test cl, cl
je 0x4425d8
movss xmm3, dword [0x4563f0]
jmp 0x4425db
xorps xmm3, xmm3
push dword [esp + 0x14]
lea ecx, [esi + 8]
push 0x210
call fcn.00402b40
mov dword [esi + 0x334], 0x210
mov dword [esi + 0x8f4], 0xa0
push 0xa1
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x442aae.527
mov esi, dword [0x471270]
test esi, esi
jne 0x442644
push 0xebb
push 0x44a3d0
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov esi, dword [0x471270]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3781], 0
je 0x442672
test cl, cl
je 0x44265b
movss xmm0, dword [0x4563f0]
jmp 0x44265e
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.00402b40
mov dword [esi + 0x338], 0x214
xor eax, eax
mov dword [esi + 0x904], 0xa1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 0x11
jne 0x4427aa
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x44271c
mov esi, dword [0x471270]
test esi, esi
jne 0x4426dd
push 0xebb
push 0x44a3d0
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov esi, dword [0x471270]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3781], 0
je 0x442708
test cl, cl
je 0x4426f4
movss xmm3, dword [0x4563f0]
jmp 0x4426f7
xorps xmm3, xmm3
push dword [esp + 0x14]
lea ecx, [esi + 8]
push 0x20f
call fcn.00402b40
mov dword [esi + 0x33c], 0x20f
mov dword [esi + 0x8f0], 0xa2
push 0xa3
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x442aae.527
mov esi, dword [0x471270]
test esi, esi
jne 0x442760
push 0xebb
push 0x44a3d0
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov esi, dword [0x471270]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3781], 0
je 0x44278e
test cl, cl
je 0x442777
movss xmm0, dword [0x4563f0]
jmp 0x44277a
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.00402b40
mov dword [esi + 0x340], 0x213
xor eax, eax
mov dword [esi + 0x900], 0xa3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 0x12
jne case.0x442aae.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x442838
mov esi, dword [0x471270]
test esi, esi
jne 0x4427f9
push 0xebb
push 0x44a3d0
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov esi, dword [0x471270]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3781], 0
je 0x442824
test cl, cl
je 0x442810
movss xmm3, dword [0x4563f0]
jmp 0x442813
xorps xmm3, xmm3
push dword [esp + 0x14]
lea ecx, [esi + 8]
push 0x211
call fcn.00402b40
mov dword [esi + 0x344], 0x211
mov dword [esi + 0x8f8], 0xa4
push 0xa5
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x442aae.527
mov esi, dword [0x471270]
test esi, esi
jne 0x44287c
push 0xebb
push 0x44a3d0
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov esi, dword [0x471270]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3781], 0
je 0x4428aa
test cl, cl
je 0x442893
movss xmm0, dword [0x4563f0]
jmp 0x442896
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.00402b40
mov dword [esi + 0x348], 0x215
xor eax, eax
mov dword [esi + 0x908], 0xa5
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
add eax, 8
cmp eax, esi
je 0x4428e9
push 0x57c
push 0x44a3d0
push str.g.IO__this___Can_only_add_events_to_current_context._
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov esi, dword [esp + 0x18]
cmp edi, 7
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
sete byte [esp + 0x28]
add esi, 0x3798
mov dword [esp + 0x20], 6
mov ecx, dword [esi]
mov edi, dword [esi + 4]
cmp ecx, edi
jne 0x442936
inc ecx
test edi, edi
je 0x442924
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x442929
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041a930
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
xorps xmm0, xmm0
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je case.0x442aae.527
cmp eax, 0x10000
jae case.0x442aae.527
movzx eax, ax
mov edx, eax
mov ecx, eax
mov edi, eax
test ax, ax
jne 0x44298b
cmp word [esi + 0x377c], ax
je case.0x442aae.527
cmp byte [esi + 0x3779], 0
je case.0x442aae.527
movzx edx, word [esi + 0x377c]
and ecx, 0xfc00
mov dword [esp + 0x1c], 0xd800
cmp cx, word [esp + 0x1c]
jne 0x4429d4
test dx, dx
je 0x4429c5
push 0xfffd
mov ecx, esi
call fcn.00402a80
mov word [esi + 0x377c], di
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x4429ff
mov eax, 0xdc00
cmp cx, ax
je 0x4429f1
push 0xfffd
mov ecx, esi
call fcn.00402a80
jmp 0x4429f6
mov edi, 0xfffd
xor eax, eax
mov word [esi + 0x377c], ax
movzx eax, di
mov ecx, esi
push eax
call fcn.00402a80
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x442aae.527
call fcn.00441220
test al, al
je case.0x442aae.527
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edx + 8], 0
mov dword [edx + 4], ecx
jne 0x442a6d
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x10
push eax
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov eax, dword [esp + 0x14]
mov byte [eax + 8], 1
mov ecx, dword [ebp + 0xc]
mov eax, ecx
shr eax, 0x10
cwde
movd xmm2, eax
movsx eax, cx
mov ecx, esi
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.00402de0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edi - 0x201]
cmp eax, 0xa2
ja case.0x442aae.527
movzx eax, byte [eax + 0x442d6c]
jmp dword [eax*4 + 0x442d50]
cmp dword [edx + 4], ecx
jne 0x442ac1
mov dword [edx + 4], 0
movss xmm1, dword [0x456568]
mov ecx, esi
movaps xmm2, xmm1
mov byte [edx + 8], 0
call fcn.00402de0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 0x204
je 0x442af1
xor esi, esi
cmp edi, 0x206
jne 0x442af6
mov esi, 1
cmp edi, 0x207
je 0x442b06
cmp edi, 0x209
jne 0x442b0b
mov esi, 2
cmp edi, 0x20b
je 0x442b1b
cmp edi, 0x20d
jne 0x442b2b
mov esi, dword [ebp + 8]
shr esi, 0x10
dec esi
neg esi
sbb esi, esi
neg esi
add esi, 3
cmp dword [edx + 0xc], 0
jne 0x442b49
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x442b45
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x18]
bts eax, esi
push 1
push esi
mov dword [edx + 0xc], eax
lea ecx, [ecx + 8]
call fcn.00402eb0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp edi, 0x205
sete cl
mov dword [esp + 0x14], ecx
cmp edi, 0x208
jne 0x442b87
mov ecx, 2
jmp 0x442b9f
cmp edi, 0x20c
jne 0x442ba3
mov ecx, dword [ebp + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 0x14], ecx
mov eax, dword [edx + 0xc]
btr eax, ecx
mov dword [edx + 0xc], eax
test eax, eax
jne 0x442bc6
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x1c]
jne 0x442bc2
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x14]
push 0
push ecx
mov ecx, esi
call fcn.00402eb0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xorps xmm1, xmm1
shr eax, 0x10
mov ecx, esi
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x4564c8]
call fcn.00402fa0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xorps xmm2, xmm2
shr eax, 0x10
mov ecx, esi
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x4564c8]
call fcn.00402fa0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x442aae.527
mov byte [edx + 0x25], 1
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret