Function at 0x43a0c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, ecx
mov ecx, dword [0x5b1f10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
push esi
push edi
test ecx, ecx
je case.0x43a8fb.527
mov edi, dword [ecx + 0x74]
lea esi, [ecx + 8]
mov dword [esp + 0x18], edi
cmp edx, 0x200
ja 0x43a8e3
je 0x43a886
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x43a8fb.527
movzx eax, byte [eax + 0x43aaa0]
jmp dword [eax*4 + 0x43aa8c]
cmp edx, 0x100
je 0x43a130
mov byte [esp + 0x14], 0
cmp edx, 0x104
jne 0x43a135
mov byte [esp + 0x14], 1
cmp dword [ebp + 8], 0x100
jae case.0x43a8fb.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x1c], al
je 0x43a17f
test al, al
je 0x43a16c
movss xmm3, dword [0x44e53c]
jmp 0x43a16f
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x1000
call fcn.00403690
push 0x10
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x1c], al
je 0x43a1b6
test al, al
je 0x43a1a3
movss xmm3, dword [0x44e53c]
jmp 0x43a1a6
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x2000
call fcn.00403690
push 0x12
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x1c], al
je 0x43a1ed
test al, al
je 0x43a1da
movss xmm3, dword [0x44e53c]
jmp 0x43a1dd
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x4000
call fcn.00403690
push 0x5d
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x1c], al
je 0x43a224
test al, al
je 0x43a211
movss xmm3, dword [0x44e53c]
jmp 0x43a214
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x8000
call fcn.00403690
mov esi, dword [ebp + 8]
cmp esi, 0xd
jne 0x43a23f
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.00439b80
test eax, eax
je 0x43a25a
mov dl, byte [esp + 0x14]
push ecx
push esi
mov ecx, eax
call fcn.00439010
add esp, 8
cmp esi, 0x10
jne 0x43a370
push 0xa0
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x43a2e2
mov eax, dword [0x5b1f10]
test eax, eax
jne 0x43a2a1
push 0xf73
push str.C:UsersMinoDesktop2imgui.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 eax, dword [0x5b1f10]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x43a2ce
test cl, cl
je 0x43a2bb
movss xmm3, dword [0x44e53c]
jmp 0x43a2be
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x210
call fcn.00403690
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.0x43a8fb.527
mov esi, dword [0x5b1f10]
test esi, esi
jne 0x43a326
push 0xf73
push str.C:UsersMinoDesktop2imgui.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 [0x5b1f10]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3769], 0
je 0x43a354
test cl, cl
je 0x43a33d
movss xmm0, dword [0x44e53c]
jmp 0x43a340
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.00403690
mov dword [esi + 0x340], 0x214
xor eax, eax
mov dword [esi + 0x90c], 0xa1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x11
jne 0x43a486
push 0xa2
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x43a3f8
mov eax, dword [0x5b1f10]
test eax, eax
jne 0x43a3b7
push 0xf73
push str.C:UsersMinoDesktop2imgui.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 eax, dword [0x5b1f10]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x43a3e4
test cl, cl
je 0x43a3d1
movss xmm3, dword [0x44e53c]
jmp 0x43a3d4
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x20f
call fcn.00403690
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.0x43a8fb.527
mov esi, dword [0x5b1f10]
test esi, esi
jne 0x43a43c
push 0xf73
push str.C:UsersMinoDesktop2imgui.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 [0x5b1f10]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3769], 0
je 0x43a46a
test cl, cl
je 0x43a453
movss xmm0, dword [0x44e53c]
jmp 0x43a456
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.00403690
mov dword [esi + 0x348], 0x213
xor eax, eax
mov dword [esi + 0x908], 0xa3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x12
jne case.0x43a8fb.527
push 0xa4
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x43a50e
mov eax, dword [0x5b1f10]
test eax, eax
jne 0x43a4cd
push 0xf73
push str.C:UsersMinoDesktop2imgui.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 eax, dword [0x5b1f10]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x43a4fa
test cl, cl
je 0x43a4e7
movss xmm3, dword [0x44e53c]
jmp 0x43a4ea
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x211
call fcn.00403690
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.0x43a8fb.527
mov esi, dword [0x5b1f10]
test esi, esi
jne 0x43a552
push 0xf73
push str.C:UsersMinoDesktop2imgui.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 [0x5b1f10]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3769], 0
je 0x43a580
test cl, cl
je 0x43a569
movss xmm0, dword [0x44e53c]
jmp 0x43a56c
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.00403690
mov dword [esi + 0x350], 0x215
xor eax, eax
mov dword [esi + 0x910], 0xa5
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, ecx
cmp edx, 7
mov dword [esp + 0x18], edi
sete byte [esp + 0x13]
lea eax, [edi + 8]
cmp eax, esi
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
je 0x43a5d9
push 0x5e7
push str.C:UsersMinoDesktop2imgui.cpp
push str.g.IO__this___Can_only_add_events_to_current_context._
call eax
mov ecx, dword [0x5b1f10]
add esp, 0xc
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [esp + 0x1c], ecx
mov esi, dword [ecx + 0x3780]
sub esi, 1
js 0x43a631
lea edi, [esi + esi*2]
shl edi, 3
nop word [eax + eax]
test esi, esi
js 0x43a5fc
cmp esi, dword [ecx + 0x3780]
jl 0x43a614
push 0x708
push str.C:UsersMinoDesktop2imgui.h
push str.i___0__i___Size
call eax
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [ecx + 0x3788]
cmp dword [eax + edi], 6
je 0x43a67a
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
sub edi, 0x18
sub esi, 1
jns 0x43a5f0
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x3768], 0
sete al
mov cl, byte [esp + 0x13]
cmp al, cl
je case.0x43a8fb.527
xorps xmm0, xmm0
lea esi, [edi + 0x3780]
mov edi, dword [esi + 4]
movaps xmmword [esp + 0x20], xmm0
mov byte [esp + 0x28], cl
mov ecx, dword [esi]
mov dword [esp + 0x20], 6
cmp ecx, edi
jne 0x43a696
inc ecx
test edi, edi
je 0x43a684
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x43a689
mov al, byte [eax + edi + 8]
mov edi, dword [esp + 0x18]
jmp 0x43a63b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041cf00
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 ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x43a780
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x43a8fb.527
movzx edi, cx
mov eax, edi
test ax, ax
jne 0x43a6f5
cmp word [esi + 0x3764], ax
je case.0x43a8fb.527
cmp byte [esi + 0x3761], 0
je case.0x43a8fb.527
movzx edx, word [esi + 0x3764]
mov ecx, eax
and ecx, 0xfc00
mov dword [esp + 0x1c], 0xd800
cmp cx, word [esp + 0x1c]
jne 0x43a740
test dx, dx
je 0x43a731
push 0xfffd
mov ecx, esi
call fcn.00403540
mov word [esi + 0x3764], di
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x43a76d
mov eax, 0xdc00
cmp cx, ax
je 0x43a75f
push 0xfffd
mov ecx, esi
call fcn.00403540
mov eax, edi
jmp 0x43a764
mov eax, 0xfffd
xor ecx, ecx
mov word [esi + 0x3764], 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]
mov ecx, dword [0x5b1f10]
movzx edi, word [esp + 0x1c]
mov dword [esp + 0x18], ecx
lea eax, [ecx + 8]
cmp eax, esi
je 0x43a7d1
push 0x4e7
push str.C:UsersMinoDesktop2imgui.cpp
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]
mov ecx, dword [esp + 0x24]
add esp, 0xc
test edi, edi
je case.0x43a8fb.527
cmp byte [esi + 0x3761], 0
je case.0x43a8fb.527
lea esi, [ecx + 0x3780]
mov dword [esp + 0x28], edi
mov ecx, dword [esi]
xorps xmm0, xmm0
mov edi, dword [esi + 4]
movlpd qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 5
mov dword [esp + 0x24], 2
cmp ecx, edi
jne 0x43a83c
inc ecx
test edi, edi
je 0x43a82a
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x43a82f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041cf00
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
movq xmm0, qword [esp + 0x30]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x43a8fb.527
call fcn.00438ec0
test al, al
je case.0x43a8fb.527
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edi + 8], 0
mov dword [edi + 4], eax
jne 0x43a8ba
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x28], 2
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [edi + 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.004038c0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x43a8fb.527
movzx eax, byte [eax + 0x43abbc]
jmp dword [eax*4 + 0x43aba0]
mov ecx, dword [esp + 0x14]
cmp dword [edi + 4], ecx
jne 0x43a912
mov dword [edi + 4], 0
movss xmm1, dword [0x44e6b4]
mov ecx, esi
movaps xmm2, xmm1
mov byte [edi + 8], 0
call fcn.004038c0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp edx, 0x204
je 0x43a942
cmp edx, 0x206
jne 0x43a947
mov edi, 1
cmp edx, 0x207
je 0x43a957
cmp edx, 0x209
jne 0x43a95c
mov edi, 2
cmp edx, 0x20b
je 0x43a96c
cmp edx, 0x20d
jne 0x43a97c
mov edi, dword [ebp + 8]
shr edi, 0x10
dec edi
neg edi
sbb edi, edi
neg edi
add edi, 3
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0xc], 0
jne 0x43a99f
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x43a99b
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xc]
bts eax, edi
push 1
mov dword [ecx + 0xc], eax
mov ecx, esi
push edi
call fcn.00403ab0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp edx, 0x205
sete cl
mov dword [esp + 0x18], ecx
cmp edx, 0x208
jne 0x43a9d8
mov ecx, 2
jmp 0x43a9f0
cmp edx, 0x20c
jne 0x43a9f4
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 eax, dword [edi + 0xc]
btr eax, ecx
mov dword [edi + 0xc], eax
test eax, eax
jne 0x43aa17
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x14]
jne 0x43aa13
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x18]
push 0
push ecx
mov ecx, esi
call fcn.00403ab0
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 [0x44e610]
call fcn.00403bc0
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 [0x44e610]
call fcn.00403bc0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x43a8fb.527
mov byte [edi + 0x25], 1
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret