Function at 0x4685ed
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, ecx
mov ecx, dword [0x4cf0c0]
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
push esi
mov esi, edx
push edi
test ecx, ecx
je case.0x468dd4.527
mov edx, dword [ecx + 0x7c]
lea edi, [ecx + 8]
mov dword [esp + 0x10], edx
cmp esi, 0x200
ja 0x468dbc
je 0x468cbc
lea eax, [esi - 7]
cmp eax, 0xfe
ja case.0x468dd4.527
movzx eax, byte [eax + 0x468fa0]
jmp dword [eax*4 + 0x468f84]
cmp esi, 0x100
je 0x468602
mov byte [esp + 0xc], 0
cmp esi, 0x104
jne 0x468607
mov byte [esp + 0xc], 1
cmp dword [ebp + 8], 0x100
jae case.0x468dd4.527
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3791], 0
mov byte [esp + 0x14], al
je 0x468651
test al, al
je 0x46863e
movss xmm3, dword [0x4c39bc]
jmp 0x468641
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x1000
call fcn.004033b0
push 0x10
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3791], 0
mov byte [esp + 0x14], al
je 0x468688
test al, al
je 0x468675
movss xmm3, dword [0x4c39bc]
jmp 0x468678
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x2000
call fcn.004033b0
push 0x12
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3791], 0
mov byte [esp + 0x14], al
je 0x4686bf
test al, al
je 0x4686ac
movss xmm3, dword [0x4c39bc]
jmp 0x4686af
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x4000
call fcn.004033b0
push 0x5d
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3791], 0
mov byte [esp + 0x14], al
je 0x4686f6
test al, al
je 0x4686e3
movss xmm3, dword [0x4c39bc]
jmp 0x4686e6
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x8000
call fcn.004033b0
mov esi, dword [ebp + 8]
cmp esi, 0xd
jne 0x468711
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.00468050
test eax, eax
je 0x46872c
mov dl, byte [esp + 0xc]
push ecx
push esi
mov ecx, eax
call fcn.004670c0
add esp, 8
cmp esi, 0x10
jne 0x468846
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x4687b9
mov esi, dword [0x4cf0c0]
test esi, esi
jne 0x46877a
push 0x103d
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.004867ba
mov esi, dword [0x4cf0c0]
add esp, 0xc
mov cl, byte [esp + 0xc]
cmp byte [esi + 0x3799], 0
je 0x4687a5
test cl, cl
je 0x468791
movss xmm3, dword [0x4c39bc]
jmp 0x468794
xorps xmm3, xmm3
push dword [esp + 0xc]
lea ecx, [esi + 8]
push 0x210
call fcn.004033b0
mov dword [esi + 0x344], 0x210
mov dword [esi + 0x904], 0xa0
push 0xa1
call edi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x468dd4.527
mov esi, dword [0x4cf0c0]
test esi, esi
jne 0x4687fc
push 0x103d
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.004867ba
mov esi, dword [0x4cf0c0]
add esp, 0xc
mov cl, byte [esp + 0xc]
cmp byte [esi + 0x3799], 0
je 0x46882a
test cl, cl
je 0x468813
movss xmm0, dword [0x4c39bc]
jmp 0x468816
xorps xmm0, xmm0
push dword [esp + 0xc]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.004033b0
mov dword [esi + 0x348], 0x214
xor eax, eax
mov dword [esi + 0x914], 0xa1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x11
jne 0x468960
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call edi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x4688d3
mov esi, dword [0x4cf0c0]
test esi, esi
jne 0x468894
push 0x103d
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.004867ba
mov esi, dword [0x4cf0c0]
add esp, 0xc
mov cl, byte [esp + 0xc]
cmp byte [esi + 0x3799], 0
je 0x4688bf
test cl, cl
je 0x4688ab
movss xmm3, dword [0x4c39bc]
jmp 0x4688ae
xorps xmm3, xmm3
push dword [esp + 0xc]
lea ecx, [esi + 8]
push 0x20f
call fcn.004033b0
mov dword [esi + 0x34c], 0x20f
mov dword [esi + 0x900], 0xa2
push 0xa3
call edi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x468dd4.527
mov esi, dword [0x4cf0c0]
test esi, esi
jne 0x468916
push 0x103d
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.004867ba
mov esi, dword [0x4cf0c0]
add esp, 0xc
mov cl, byte [esp + 0xc]
cmp byte [esi + 0x3799], 0
je 0x468944
test cl, cl
je 0x46892d
movss xmm0, dword [0x4c39bc]
jmp 0x468930
xorps xmm0, xmm0
push dword [esp + 0xc]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.004033b0
mov dword [esi + 0x350], 0x213
xor eax, eax
mov dword [esi + 0x910], 0xa3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x12
jne case.0x468dd4.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call edi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x4689ed
mov esi, dword [0x4cf0c0]
test esi, esi
jne 0x4689ae
push 0x103d
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.004867ba
mov esi, dword [0x4cf0c0]
add esp, 0xc
mov cl, byte [esp + 0xc]
cmp byte [esi + 0x3799], 0
je 0x4689d9
test cl, cl
je 0x4689c5
movss xmm3, dword [0x4c39bc]
jmp 0x4689c8
xorps xmm3, xmm3
push dword [esp + 0xc]
lea ecx, [esi + 8]
push 0x211
call fcn.004033b0
mov dword [esi + 0x354], 0x211
mov dword [esi + 0x908], 0xa4
push 0xa5
call edi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x468dd4.527
mov esi, dword [0x4cf0c0]
test esi, esi
jne 0x468a30
push 0x103d
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.004867ba
mov esi, dword [0x4cf0c0]
add esp, 0xc
mov cl, byte [esp + 0xc]
cmp byte [esi + 0x3799], 0
je 0x468a5e
test cl, cl
je 0x468a47
movss xmm0, dword [0x4c39bc]
jmp 0x468a4a
xorps xmm0, xmm0
push dword [esp + 0xc]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.004033b0
mov dword [esi + 0x358], 0x215
xor eax, eax
mov dword [esi + 0x918], 0xa5
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 7
mov eax, ecx
mov dword [esp + 0x10], eax
sete byte [esp + 0xb]
add eax, 8
cmp eax, edi
je 0x468ab0
push 0x611
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.g.IO__this___Can_only_add_events_to_current_context._
call fcn.004867ba
mov ecx, dword [0x4cf0c0]
add esp, 0xc
mov dword [esp + 0x14], ecx
mov esi, dword [ecx + 0x3824]
sub esi, 1
js 0x468afc
lea edi, [esi + esi*2]
shl edi, 3
test esi, esi
js 0x468acd
cmp esi, dword [ecx + 0x3824]
jl 0x468ae8
push 0x749
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.h
push str.i___0__i___Size
call fcn.004867ba
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [ecx + 0x382c]
cmp dword [eax + edi], 7
je 0x468b4f
sub edi, 0x18
sub esi, 1
jns 0x468ac1
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x3798], 0
sete al
mov cl, byte [esp + 0xb]
cmp al, cl
je case.0x468dd4.527
mov eax, dword [esi + 0x3824]
add esi, 0x3824
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x30], 7
mov edi, dword [esi + 4]
mov byte [esp + 0x38], cl
cmp eax, edi
jne 0x468b6d
lea ecx, [eax + 1]
test edi, edi
je 0x468b59
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x468b5e
mov al, byte [eax + edi + 8]
mov esi, dword [esp + 0x10]
jmp 0x468b0a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0042ef00
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0x30]
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 ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x468c55
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x468dd4.527
movzx esi, cx
mov eax, esi
test ax, ax
jne 0x468bca
cmp word [edi + 0x3794], ax
je case.0x468dd4.527
cmp byte [edi + 0x3791], 0
je case.0x468dd4.527
movzx edx, word [edi + 0x3794]
mov ecx, eax
and ecx, 0xfc00
mov dword [esp + 0x14], 0xd800
cmp cx, word [esp + 0x14]
jne 0x468c15
test dx, dx
je 0x468c06
push 0xfffd
mov ecx, edi
call fcn.00403270
mov word [edi + 0x3794], si
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x468c42
mov eax, 0xdc00
cmp cx, ax
je 0x468c34
push 0xfffd
mov ecx, edi
call fcn.00403270
mov eax, esi
jmp 0x468c39
mov eax, 0xfffd
xor ecx, ecx
mov word [edi + 0x3794], cx
movzx eax, ax
mov ecx, edi
push eax
call fcn.00403270
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 1
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 1
lea eax, [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx eax, word [esp + 0x14]
mov ecx, edi
push eax
call fcn.00403270
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x468dd4.527
call fcn.00466f70
test al, al
je case.0x468dd4.527
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [edx + 0x24], 1
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov dword [edx + 4], eax
mov edx, dword [edx + 8]
cmp esi, 0x200
setne cl
inc ecx
mov dword [esp + 0x14], ecx
cmp edx, ecx
je 0x468d48
mov dword [esp + 0x28], eax
cmp esi, 0x200
mov ecx, 0x12
mov dword [esp + 0x20], 0x10
mov eax, 2
mov dword [esp + 0x24], 0x80000000
cmovne eax, ecx
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [esp + 0x30], 0x10
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], 0
test edx, edx
je 0x468d36
lea ecx, [esp + 0x20]
push ecx
call eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
lea ecx, [esp + 0x30]
push ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0xc]
movsx eax, cx
mov dword [esp + 0x18], eax
shr ecx, 0x10
movsx eax, cx
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
shr eax, 0xa
and al, 1
cmp esi, 0x200
jne 0x468d80
test al, al
je 0x468d9b
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_ClientToScreen]
jmp 0x468d9b
cmp esi, 0xa0
jne 0x468d9b
test al, al
jne 0x468d9b
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_ScreenToClient]
movd xmm2, dword [esp + 0x1c]
mov ecx, edi
movd xmm1, dword [esp + 0x18]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.004035f0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi - 0x201]
cmp eax, 0xa2
ja case.0x468dd4.527
movzx eax, byte [eax + 0x4690bc]
jmp dword [eax*4 + 0x4690a0]
xor eax, eax
cmp esi, 0x2a3
setne al
inc eax
cmp dword [edx + 8], eax
jne case.0x468dd4.527
mov eax, dword [esp + 0xc]
cmp dword [edx + 4], eax
jne 0x468e00
mov dword [edx + 4], 0
movss xmm1, dword [0x4c3b60]
mov ecx, edi
movaps xmm2, xmm1
mov dword [edx + 8], 0
call fcn.004035f0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp esi, 0x204
je 0x468e33
cmp esi, 0x206
jne 0x468e38
mov edi, 1
cmp esi, 0x207
je 0x468e48
cmp esi, 0x209
jne 0x468e4d
mov edi, 2
cmp esi, 0x20b
je 0x468e5d
cmp esi, 0x20d
jne 0x468e6d
mov edi, dword [ebp + 8]
shr edi, 0x10
dec edi
neg edi
sbb edi, edi
neg edi
add edi, 3
cmp dword [edx + 0xc], 0
jne 0x468e8b
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x468e87
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x14]
bts eax, edi
push 1
push edi
mov dword [edx + 0xc], eax
lea ecx, [ecx + 8]
call fcn.004037e0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp esi, 0x205
sete cl
mov dword [esp + 0x10], ecx
cmp esi, 0x208
jne 0x468ec9
mov ecx, 2
jmp 0x468ee1
cmp esi, 0x20c
jne 0x468ee5
mov ecx, dword [ebp + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 0x10], ecx
mov eax, dword [edx + 0xc]
btr eax, ecx
mov dword [edx + 0xc], eax
test eax, eax
jne 0x468f08
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0xc]
jne 0x468f04
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov ecx, edi
call fcn.004037e0
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, edi
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x4c3ac0]
call fcn.00403950
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, edi
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x4c4320]
divss xmm1, dword [0x4c3ac0]
call fcn.00403950
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x468dd4.527
mov byte [edx + 0x26], 1
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret