Function at 0x442830
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, ecx
mov ecx, dword [0x726468]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
push esi
push edi
test ecx, ecx
je case.0x44306b.527
mov edi, dword [ecx + 0x74]
lea esi, [ecx + 8]
mov dword [esp + 0x18], edi
cmp edx, 0x200
ja 0x443053
je 0x442ff6
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x44306b.527
movzx eax, byte [eax + 0x443210]
jmp dword [eax*4 + 0x4431fc]
cmp edx, 0x100
je 0x4428a0
mov byte [esp + 0x14], 0
cmp edx, 0x104
jne 0x4428a5
mov byte [esp + 0x14], 1
cmp dword [ebp + 8], 0x100
jae case.0x44306b.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 0x4428ef
test al, al
je 0x4428dc
movss xmm3, dword [0x4605b0]
jmp 0x4428df
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x1000
call fcn.004036a0
push 0x10
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x1c], al
je 0x442926
test al, al
je 0x442913
movss xmm3, dword [0x4605b0]
jmp 0x442916
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x2000
call fcn.004036a0
push 0x12
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x1c], al
je 0x44295d
test al, al
je 0x44294a
movss xmm3, dword [0x4605b0]
jmp 0x44294d
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x4000
call fcn.004036a0
push 0x5d
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x1c], al
je 0x442994
test al, al
je 0x442981
movss xmm3, dword [0x4605b0]
jmp 0x442984
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x8000
call fcn.004036a0
mov esi, dword [ebp + 8]
cmp esi, 0xd
jne 0x4429af
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.004422f0
test eax, eax
je 0x4429ca
mov dl, byte [esp + 0x14]
push ecx
push esi
mov ecx, eax
call fcn.004417a0
add esp, 8
cmp esi, 0x10
jne 0x442ae0
push 0xa0
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x442a52
mov eax, dword [0x726468]
test eax, eax
jne 0x442a11
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 [0x726468]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x442a3e
test cl, cl
je 0x442a2b
movss xmm3, dword [0x4605b0]
jmp 0x442a2e
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x210
call fcn.004036a0
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.0x44306b.527
mov esi, dword [0x726468]
test esi, esi
jne 0x442a96
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 [0x726468]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3769], 0
je 0x442ac4
test cl, cl
je 0x442aad
movss xmm0, dword [0x4605b0]
jmp 0x442ab0
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.004036a0
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 0x442bf6
push 0xa2
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x442b68
mov eax, dword [0x726468]
test eax, eax
jne 0x442b27
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 [0x726468]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x442b54
test cl, cl
je 0x442b41
movss xmm3, dword [0x4605b0]
jmp 0x442b44
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x20f
call fcn.004036a0
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.0x44306b.527
mov esi, dword [0x726468]
test esi, esi
jne 0x442bac
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 [0x726468]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3769], 0
je 0x442bda
test cl, cl
je 0x442bc3
movss xmm0, dword [0x4605b0]
jmp 0x442bc6
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.004036a0
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.0x44306b.527
push 0xa4
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x442c7e
mov eax, dword [0x726468]
test eax, eax
jne 0x442c3d
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 [0x726468]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x442c6a
test cl, cl
je 0x442c57
movss xmm3, dword [0x4605b0]
jmp 0x442c5a
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x211
call fcn.004036a0
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.0x44306b.527
mov esi, dword [0x726468]
test esi, esi
jne 0x442cc2
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 [0x726468]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3769], 0
je 0x442cf0
test cl, cl
je 0x442cd9
movss xmm0, dword [0x4605b0]
jmp 0x442cdc
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.004036a0
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 0x442d49
push 0x5e7
push str.C:UsersMinoDesktop2imgui.cpp
push str.g.IO__this___Can_only_add_events_to_current_context._
call eax
mov ecx, dword [0x726468]
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 0x442da1
lea edi, [esi + esi*2]
shl edi, 3
nop word [eax + eax]
test esi, esi
js 0x442d6c
cmp esi, dword [ecx + 0x3780]
jl 0x442d84
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 0x442dea
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
sub edi, 0x18
sub esi, 1
jns 0x442d60
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x3768], 0
sete al
mov cl, byte [esp + 0x13]
cmp al, cl
je case.0x44306b.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 0x442e06
inc ecx
test edi, edi
je 0x442df4
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x442df9
mov al, byte [eax + edi + 8]
mov edi, dword [esp + 0x18]
jmp 0x442dab
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041d410
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 0x442ef0
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x44306b.527
movzx edi, cx
mov eax, edi
test ax, ax
jne 0x442e65
cmp word [esi + 0x3764], ax
je case.0x44306b.527
cmp byte [esi + 0x3761], 0
je case.0x44306b.527
movzx edx, word [esi + 0x3764]
mov ecx, eax
and ecx, 0xfc00
mov dword [esp + 0x1c], 0xd800
cmp cx, word [esp + 0x1c]
jne 0x442eb0
test dx, dx
je 0x442ea1
push 0xfffd
mov ecx, esi
call fcn.00403550
mov word [esi + 0x3764], di
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x442edd
mov eax, 0xdc00
cmp cx, ax
je 0x442ecf
push 0xfffd
mov ecx, esi
call fcn.00403550
mov eax, edi
jmp 0x442ed4
mov eax, 0xfffd
xor ecx, ecx
mov word [esi + 0x3764], cx
movzx eax, ax
mov ecx, esi
push eax
call fcn.00403550
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 [0x726468]
movzx edi, word [esp + 0x1c]
mov dword [esp + 0x18], ecx
lea eax, [ecx + 8]
cmp eax, esi
je 0x442f41
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.0x44306b.527
cmp byte [esi + 0x3761], 0
je case.0x44306b.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 0x442fac
inc ecx
test edi, edi
je 0x442f9a
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x442f9f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041d410
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.0x44306b.527
call fcn.00441650
test al, al
je case.0x44306b.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 0x44302a
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.004038d0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x44306b.527
movzx eax, byte [eax + 0x44332c]
jmp dword [eax*4 + 0x443310]
mov ecx, dword [esp + 0x14]
cmp dword [edi + 4], ecx
jne 0x443082
mov dword [edi + 4], 0
movss xmm1, dword [0x460740]
mov ecx, esi
movaps xmm2, xmm1
mov byte [edi + 8], 0
call fcn.004038d0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp edx, 0x204
je 0x4430b2
cmp edx, 0x206
jne 0x4430b7
mov edi, 1
cmp edx, 0x207
je 0x4430c7
cmp edx, 0x209
jne 0x4430cc
mov edi, 2
cmp edx, 0x20b
je 0x4430dc
cmp edx, 0x20d
jne 0x4430ec
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 0x44310f
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x44310b
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.00403ac0
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 0x443148
mov ecx, 2
jmp 0x443160
cmp edx, 0x20c
jne 0x443164
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 0x443187
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x14]
jne 0x443183
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x18]
push 0
push ecx
mov ecx, esi
call fcn.00403ac0
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 [0x460694]
call fcn.00403bd0
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 [0x460694]
call fcn.00403bd0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x44306b.527
mov byte [edi + 0x25], 1
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret