Function at 0x429bc9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
push edi
mov edi, edx
mov edx, ecx
mov ecx, dword [0x4fb818]
mov dword [esp + 0x1c], edx
test ecx, ecx
je case.0x42a4c4.527
lea esi, [ecx + 8]
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x14], ecx
cmp edi, 0x200
ja 0x42a4ac
je case.0x429bc2.160
lea eax, [edi - 7]
cmp eax, 0xfe
ja case.0x42a4c4.527
movzx eax, byte [eax + 0x42a750]
jmp dword [eax*4 + 0x42a738]
cmp edi, 0x100
je 0x429bde
mov byte [esp + 0x14], 0
cmp edi, 0x104
jne 0x429be3
mov byte [esp + 0x14], 1
cmp dword [ebp + 8], 0x100
jae case.0x42a4c4.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3769], 0
mov byte [esp + 0x20], al
je 0x429c2d
test al, al
je 0x429c1a
movss xmm3, dword [0x4f6f54]
jmp 0x429c1d
xorps xmm3, xmm3
push dword [esp + 0x20]
mov ecx, esi
push 0x1000
call fcn.004036a0
push 0x10
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3769], 0
mov byte [esp + 0x20], al
je 0x429c64
test al, al
je 0x429c51
movss xmm3, dword [0x4f6f54]
jmp 0x429c54
xorps xmm3, xmm3
push dword [esp + 0x20]
mov ecx, esi
push 0x2000
call fcn.004036a0
push 0x12
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3769], 0
mov byte [esp + 0x20], al
je 0x429c9b
test al, al
je 0x429c88
movss xmm3, dword [0x4f6f54]
jmp 0x429c8b
xorps xmm3, xmm3
push dword [esp + 0x20]
mov ecx, esi
push 0x4000
call fcn.004036a0
push 0x5d
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3769], 0
mov byte [esp + 0x20], al
je 0x429cd2
test al, al
je 0x429cbf
movss xmm3, dword [0x4f6f54]
jmp 0x429cc2
xorps xmm3, xmm3
push dword [esp + 0x20]
mov ecx, esi
push 0x8000
call fcn.004036a0
mov esi, dword [ebp + 8]
cmp esi, 0xd
jne 0x429ced
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.00429630
test eax, eax
je 0x429d08
mov dl, byte [esp + 0x14]
push ecx
push esi
mov ecx, eax
call fcn.00428a90
add esp, 8
cmp esi, 0x10
jne 0x429e1e
push 0xa0
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x429d90
mov esi, dword [0x4fb818]
test esi, esi
jne 0x429d51
push 0xf19
push str.C:UsersokDesktoppasetuneimgui.cpp
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 [0x4fb818]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3771], 0
je 0x429d7c
test cl, cl
je 0x429d68
movss xmm3, dword [0x4f6f54]
jmp 0x429d6b
xorps xmm3, xmm3
push dword [esp + 0x14]
lea ecx, [esi + 8]
push 0x210
call fcn.004036a0
mov dword [esi + 0x340], 0x210
mov dword [esi + 0x900], 0xa0
push 0xa1
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x42a4c4.527
mov esi, dword [0x4fb818]
test esi, esi
jne 0x429dd4
push 0xf19
push str.C:UsersokDesktoppasetuneimgui.cpp
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 [0x4fb818]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3771], 0
je 0x429e02
test cl, cl
je 0x429deb
movss xmm0, dword [0x4f6f54]
jmp 0x429dee
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.004036a0
mov dword [esi + 0x344], 0x214
xor eax, eax
mov dword [esi + 0x910], 0xa1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x11
jne 0x429f34
push 0xa2
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x429ea6
mov esi, dword [0x4fb818]
test esi, esi
jne 0x429e67
push 0xf19
push str.C:UsersokDesktoppasetuneimgui.cpp
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 [0x4fb818]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3771], 0
je 0x429e92
test cl, cl
je 0x429e7e
movss xmm3, dword [0x4f6f54]
jmp 0x429e81
xorps xmm3, xmm3
push dword [esp + 0x14]
lea ecx, [esi + 8]
push 0x20f
call fcn.004036a0
mov dword [esi + 0x348], 0x20f
mov dword [esi + 0x8fc], 0xa2
push 0xa3
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x42a4c4.527
mov esi, dword [0x4fb818]
test esi, esi
jne 0x429eea
push 0xf19
push str.C:UsersokDesktoppasetuneimgui.cpp
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 [0x4fb818]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3771], 0
je 0x429f18
test cl, cl
je 0x429f01
movss xmm0, dword [0x4f6f54]
jmp 0x429f04
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.004036a0
mov dword [esi + 0x34c], 0x213
xor eax, eax
mov dword [esi + 0x90c], 0xa3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x12
jne case.0x42a4c4.527
push 0xa4
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x429fbc
mov esi, dword [0x4fb818]
test esi, esi
jne 0x429f7d
push 0xf19
push str.C:UsersokDesktoppasetuneimgui.cpp
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 [0x4fb818]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3771], 0
je 0x429fa8
test cl, cl
je 0x429f94
movss xmm3, dword [0x4f6f54]
jmp 0x429f97
xorps xmm3, xmm3
push dword [esp + 0x14]
lea ecx, [esi + 8]
push 0x211
call fcn.004036a0
mov dword [esi + 0x350], 0x211
mov dword [esi + 0x904], 0xa4
push 0xa5
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x42a4c4.527
mov esi, dword [0x4fb818]
test esi, esi
jne 0x42a000
push 0xf19
push str.C:UsersokDesktoppasetuneimgui.cpp
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 [0x4fb818]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3771], 0
je 0x42a02e
test cl, cl
je 0x42a017
movss xmm0, dword [0x4f6f54]
jmp 0x42a01a
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.004036a0
mov dword [esi + 0x354], 0x215
xor eax, eax
mov dword [esi + 0x914], 0xa5
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp edi, 7
sete byte [esp + 0x13]
cmp dword [esi + 0xdb4], 0
jne 0x42a079
push 0x5eb
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.Ctx___0
call eax
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esi + 0xdb4]
mov esi, dword [ecx + 0x3df0]
sub esi, 1
mov dword [esp + 0x1c], ecx
lea edx, [ecx + 0x3df0]
mov dword [esp + 0x18], edx
js 0x42a0df
lea edi, [esi*8]
sub edi, esi
shl edi, 2
test esi, esi
js 0x42a0ac
cmp esi, dword [edx]
jl 0x42a0c4
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call eax
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [edx + 8]
add eax, edi
cmp dword [eax], 6
je 0x42a139
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
sub edi, 0x1c
sub esi, 1
jns 0x42a0a4
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x3770], 0
sete al
cmp al, byte [esp + 0x13]
je case.0x42a4c4.527
mov eax, dword [ecx + 0x3e0c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x48], eax
inc eax
mov dword [ecx + 0x3e0c], eax
mov al, byte [esp + 0x13]
mov ecx, dword [edx]
mov esi, dword [edx + 4]
mov dword [esp + 0x40], 6
mov byte [esp + 0x4c], al
cmp ecx, esi
jne 0x42a15c
inc ecx
test esi, esi
je 0x42a146
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, esi
jmp 0x42a14b
test eax, eax
je 0x42a0db
mov al, byte [eax + 0xc]
mov ecx, dword [esp + 0x1c]
jmp 0x42a0e9
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041bf10
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
movups xmm0, xmmword [esp + 0x40]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 8]
movups xmmword [eax + ecx*4], xmm0
xorps xmm0, xmm0
movq qword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x18], 0
inc dword [edx]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x42a250
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x42a4c4.527
movzx edi, cx
mov eax, edi
test ax, ax
jne 0x42a1c5
cmp word [esi + 0x376c], ax
je case.0x42a4c4.527
cmp byte [esi + 0x3769], 0
je case.0x42a4c4.527
movzx edx, word [esi + 0x376c]
mov ecx, eax
and ecx, 0xfc00
mov dword [esp + 0x20], 0xd800
cmp cx, word [esp + 0x20]
jne 0x42a210
test dx, dx
je 0x42a201
push 0xfffd
mov ecx, esi
call fcn.00403540
mov word [esi + 0x376c], di
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x42a23d
mov eax, 0xdc00
cmp cx, ax
je 0x42a22f
push 0xfffd
mov ecx, esi
call fcn.00403540
mov eax, edi
jmp 0x42a234
mov eax, 0xfffd
xor ecx, ecx
mov word [esi + 0x376c], cx
movzx eax, ax
mov ecx, esi
push eax
call fcn.00403540
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 1
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 1
lea eax, [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [esi + 0xdb4], 0
movzx edi, word [esp + 0x1c]
jne 0x42a295
push 0x4ed
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.Ctx___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esi + 0xdb4]
test edi, edi
je case.0x42a4c4.527
cmp byte [esi + 0x3769], 0
je case.0x42a4c4.527
mov eax, dword [ecx + 0x3e0c]
lea esi, [ecx + 0x3df0]
mov dword [esp + 0x48], eax
xorps xmm0, xmm0
inc eax
mov dword [esp + 0x4c], edi
mov dword [ecx + 0x3e0c], eax
mov ecx, dword [esi]
mov edi, dword [esi + 4]
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x40], 5
mov dword [esp + 0x44], 2
cmp ecx, edi
jne 0x42a30f
inc ecx
test edi, edi
je 0x42a2fd
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x42a302
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041bf10
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0x40]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*4], xmm0
movq xmm0, qword [esp + 0x50]
movq qword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x18], 0
inc dword [esi]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x42a4c4.527
call fcn.00428940
test al, al
je case.0x42a4c4.527
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xffffff80
cmp eax, 0xff515700
jne 0x42a381
mov dword [esp + 0x18], 2
jmp 0x42a38f
xor ecx, ecx
cmp eax, 0xff515780
sete cl
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, dword [esp + 0x1c]
cmp edi, 0x200
setne cl
inc ecx
mov dword [eax + 4], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
cmp eax, ecx
je 0x42a42a
cmp edi, 0x200
mov dword [esp + 0x30], 0x10
mov eax, 2
mov dword [esp + 0x34], 0x80000000
mov ecx, 0x12
mov dword [esp + 0x38], edx
cmovne eax, ecx
mov dword [esp + 0x3c], 0
cmp dword [esp + 0x20], 0
mov dword [esp + 0x44], eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [esp + 0x40], 0x10
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], 0
je 0x42a414
lea ecx, [esp + 0x30]
push ecx
call eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
lea ecx, [esp + 0x40]
push ecx
call eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0xc]
movsx eax, cx
shr ecx, 0x10
mov dword [esp + 0x28], eax
movsx eax, cx
mov dword [esp + 0x2c], eax
cmp edi, 0xa0
jne 0x42a45a
lea eax, [esp + 0x28]
push eax
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x42a4c4.527
cmp dword [esi + 0xdb4], 0
jne 0x42a47b
push 0x5e5
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.Ctx___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esi + 0xdb4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x3e08], ecx
mov ecx, esi
movd xmm2, dword [esp + 0x2c]
movd xmm1, dword [esp + 0x28]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.004038f0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edi - 0x201]
cmp eax, 0xa2
ja case.0x42a4c4.527
movzx eax, byte [eax + 0x42a86c]
jmp dword [eax*4 + 0x42a850]
xor eax, eax
cmp edi, 0x2a3
setne al
inc eax
cmp dword [ecx + 8], eax
jne case.0x42a4c4.527
cmp dword [ecx + 4], edx
jne 0x42a4ec
mov dword [ecx + 4], 0
movss xmm1, dword [0x4f7074]
mov dword [ecx + 8], 0
movaps xmm2, xmm1
mov ecx, esi
call fcn.004038f0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xffffff80
cmp eax, 0xff515700
jne 0x42a527
mov dword [esp + 0x20], 2
jmp 0x42a535
xor ecx, ecx
cmp eax, 0xff515780
sete cl
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], 0
cmp edi, 0x204
je 0x42a54d
cmp edi, 0x206
jne 0x42a555
mov dword [esp + 0x18], 1
cmp edi, 0x207
je 0x42a565
cmp edi, 0x209
jne 0x42a56d
mov dword [esp + 0x18], 2
cmp edi, 0x20b
je 0x42a57d
cmp edi, 0x20d
jne 0x42a591
mov eax, dword [ebp + 8]
shr eax, 0x10
dec eax
neg eax
sbb eax, eax
neg eax
add eax, 3
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x14]
cmp dword [edi + 0xc], 0
jne 0x42a5af
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x42a5af
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
bts eax, edi
mov dword [ecx + 0xc], eax
cmp dword [esi + 0xdb4], 0
jne 0x42a5e1
push 0x5e5
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.Ctx___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esi + 0xdb4]
mov ecx, dword [esp + 0x20]
push 1
push edi
mov dword [eax + 0x3e08], ecx
mov ecx, esi
call fcn.00403af0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xffffff80
cmp eax, 0xff515700
jne 0x42a61d
mov dword [esp + 0x20], 2
jmp 0x42a62b
xor edx, edx
cmp eax, 0xff515780
sete dl
mov dword [esp + 0x20], edx
xor ecx, ecx
cmp edi, 0x205
sete cl
mov dword [esp + 0x18], ecx
cmp edi, 0x208
jne 0x42a649
mov ecx, 2
jmp 0x42a661
cmp edi, 0x20c
jne 0x42a665
mov ecx, dword [ebp + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
btr eax, ecx
mov dword [edx + 0xc], eax
test eax, eax
jne 0x42a688
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x1c]
jne 0x42a688
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [esi + 0xdb4], 0
jne 0x42a6a9
push 0x5e5
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.Ctx___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esi + 0xdb4]
mov ecx, dword [esp + 0x20]
push 0
push dword [esp + 0x1c]
mov dword [eax + 0x3e08], ecx
mov ecx, esi
call fcn.00403af0
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 [0x4f7028]
call fcn.00403c70
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
xorps xmm1, xmmword [0x4f73e0]
divss xmm1, dword [0x4f7028]
call fcn.00403c70
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x42a4c4.527
mov byte [ecx + 0x25], 1
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret