Function at 0x1003efc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x1006b00c]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, ecx
mov ecx, dword [0x100716dc]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
push esi
push edi
mov edi, edx
test ecx, ecx
je case.0x1003f78a.527
mov edx, dword [ecx + 0x74]
lea esi, [ecx + 8]
mov dword [esp + 0x54], esi
mov dword [esp + 0x18], edx
cmp edi, 0x200
ja 0x1003f772
je 0x1003f631
lea eax, [edi - 7]
cmp eax, 0xfe
ja case.0x1003f78a.527
movzx eax, byte [eax + 0x1003f9c8]
jmp dword [eax*4 + 0x1003f9b0]
cmp edi, 0x100
je 0x1003f041
mov byte [esp + 0x14], 0
cmp edi, 0x104
jne 0x1003f046
mov byte [esp + 0x14], 1
mov edi, dword [ebp + 8]
cmp edi, 0x100
jae case.0x1003f78a.527
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [esp + 0x18], al
je 0x1003f072
movss xmm3, dword [0x10067b2c]
jmp 0x1003f075
xorps xmm3, xmm3
push dword [esp + 0x18]
mov ecx, esi
push 0x281
call fcn.10004860
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [esp + 0x18], al
je 0x1003f0a2
movss xmm3, dword [0x10067b2c]
jmp 0x1003f0a5
xorps xmm3, xmm3
push dword [esp + 0x18]
mov ecx, esi
push 0x282
call fcn.10004860
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [esp + 0x18], al
je 0x1003f0d2
movss xmm3, dword [0x10067b2c]
jmp 0x1003f0d5
xorps xmm3, xmm3
push dword [esp + 0x18]
mov ecx, esi
push 0x283
call fcn.10004860
push 0x5d
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [esp + 0x18], al
je 0x1003f102
movss xmm3, dword [0x10067b2c]
jmp 0x1003f105
xorps xmm3, xmm3
push dword [esp + 0x18]
mov ecx, esi
push 0x284
call fcn.10004860
cmp edi, 0xd
jne 0x1003f12d
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne edi, eax
mov ecx, edi
call fcn.1003ea80
test eax, eax
je 0x1003f148
mov dl, byte [esp + 0x14]
push ecx
push edi
mov ecx, eax
call fcn.1003dc40
add esp, 8
cmp edi, 0x10
jne 0x1003f25b
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call esi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
shr eax, 0xf
and al, 1
cmp al, byte [esp + 0x14]
jne 0x1003f1d2
mov eax, dword [0x100716dc]
test eax, eax
jne 0x1003f191
push 0xed1
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_PRODIGALImGui_StandaloneImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov eax, dword [0x100716dc]
add esp, 0xc
cmp byte [esp + 0x14], 0
lea edi, [eax + 8]
je 0x1003f1a5
movss xmm3, dword [0x10067b2c]
jmp 0x1003f1a8
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x210
call fcn.10004860
mov dword [edi + 0x334], 0x210
mov dword [edi + 0x8f4], 0xa0
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push 0xa1
call esi
shr eax, 0xf
and al, 1
cmp al, byte [esp + 0x14]
jne case.0x1003f78a.527
mov esi, dword [0x100716dc]
test esi, esi
jne 0x1003f20c
push 0xed1
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_PRODIGALImGui_StandaloneImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x100716dc]
add esp, 0xc
cmp byte [esp + 0x14], 0
je 0x1003f21d
movss xmm0, dword [0x10067b2c]
jmp 0x1003f220
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.10004860
mov dword [esi + 0x340], 0x214
xor eax, eax
mov dword [esi + 0x90c], 0xa1
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055dc4
mov esp, ebp
pop ebp
ret
cmp edi, 0x11
jne 0x1003f36e
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call esi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
shr eax, 0xf
and al, 1
cmp al, byte [esp + 0x14]
jne 0x1003f2e5
mov eax, dword [0x100716dc]
test eax, eax
jne 0x1003f2a4
push 0xed1
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_PRODIGALImGui_StandaloneImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov eax, dword [0x100716dc]
add esp, 0xc
cmp byte [esp + 0x14], 0
lea edi, [eax + 8]
je 0x1003f2b8
movss xmm3, dword [0x10067b2c]
jmp 0x1003f2bb
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x20f
call fcn.10004860
mov dword [edi + 0x33c], 0x20f
mov dword [edi + 0x8f0], 0xa2
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push 0xa3
call esi
shr eax, 0xf
and al, 1
cmp al, byte [esp + 0x14]
jne case.0x1003f78a.527
mov esi, dword [0x100716dc]
test esi, esi
jne 0x1003f31f
push 0xed1
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_PRODIGALImGui_StandaloneImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x100716dc]
add esp, 0xc
cmp byte [esp + 0x14], 0
je 0x1003f330
movss xmm0, dword [0x10067b2c]
jmp 0x1003f333
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.10004860
mov dword [esi + 0x348], 0x213
xor eax, eax
mov dword [esi + 0x908], 0xa3
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055dc4
mov esp, ebp
pop ebp
ret
cmp edi, 0x12
jne case.0x1003f78a.527
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call esi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
shr eax, 0xf
and al, 1
cmp al, byte [esp + 0x14]
jne 0x1003f3f8
mov eax, dword [0x100716dc]
test eax, eax
jne 0x1003f3b7
push 0xed1
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_PRODIGALImGui_StandaloneImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov eax, dword [0x100716dc]
add esp, 0xc
cmp byte [esp + 0x14], 0
lea edi, [eax + 8]
je 0x1003f3cb
movss xmm3, dword [0x10067b2c]
jmp 0x1003f3ce
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x211
call fcn.10004860
mov dword [edi + 0x344], 0x211
mov dword [edi + 0x8f8], 0xa4
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push 0xa5
call esi
shr eax, 0xf
and al, 1
cmp al, byte [esp + 0x14]
jne case.0x1003f78a.527
mov esi, dword [0x100716dc]
test esi, esi
jne 0x1003f432
push 0xed1
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_PRODIGALImGui_StandaloneImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x100716dc]
add esp, 0xc
cmp byte [esp + 0x14], 0
je 0x1003f443
movss xmm0, dword [0x10067b2c]
jmp 0x1003f446
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.10004860
mov dword [esi + 0x350], 0x215
xor eax, eax
mov dword [esi + 0x910], 0xa5
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055dc4
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 8]
cmp eax, esi
je 0x1003f4a4
push 0x59a
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_PRODIGALImGui_StandaloneImGuiimgui.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 + 0x20]
add esp, 0xc
cmp edi, 7
lea esi, [ecx + 0x383c]
mov ecx, dword [esi]
xorps xmm0, xmm0
mov edi, dword [esi + 4]
movaps xmmword [esp + 0x20], xmm0
sete byte [esp + 0x28]
mov dword [esp + 0x20], 7
cmp ecx, edi
jne 0x1003f4ed
inc ecx
test edi, edi
je 0x1003f4db
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1003f4e0
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002b460
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 ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055dc4
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je case.0x1003f78a.527
cmp eax, 0x10000
jae case.0x1003f78a.527
movzx ecx, ax
lea edi, [esi + 0x37ac]
mov dword [esp + 0x1c], ecx
movzx eax, cx
test cx, cx
jne 0x1003f580
cmp word [edi], cx
je case.0x1003f78a.527
movzx edx, word [edi]
and eax, 0xfc00
movzx ecx, cx
mov dword [esp + 0x18], ecx
test dx, dx
je 0x1003f5ce
mov ecx, 0xdc00
cmp ax, cx
je 0x1003f5c4
push 0xfffd
mov ecx, esi
call fcn.100047b0
mov ecx, dword [esp + 0x18]
jmp 0x1003f5c9
movzx edx, word [edi]
mov eax, ecx
and eax, 0xfc00
mov dword [esp + 0x18], 0xd800
cmp ax, word [esp + 0x18]
jne 0x1003f558
test dx, dx
je 0x1003f5ae
push 0xfffd
mov ecx, esi
call fcn.100047b0
mov ecx, dword [esp + 0x1c]
mov word [edi], cx
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055dc4
mov esp, ebp
pop ebp
ret
mov ecx, 0xfffd
xor eax, eax
mov word [edi], ax
movzx eax, cx
mov ecx, esi
push eax
call fcn.100047b0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055dc4
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x1003f78a.527
call fcn.1003daf0
test al, al
je case.0x1003f78a.527
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055dc4
mov esp, ebp
pop ebp
ret
mov byte [edx + 0x26], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055dc4
mov esp, ebp
pop ebp
ret
cmp byte [edx + 8], 0
mov dword [edx + 4], eax
jne 0x1003f673
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], 0x10
mov dword [esp + 0x4c], 2
mov dword [esp + 0x54], 0
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x100716dc]
mov dword [esp + 0x14], ecx
mov byte [eax + 8], 1
mov eax, dword [ebp + 0xc]
movsx edi, ax
shr eax, 0x10
test dword [esi], 0x400
cwde
mov dword [esp + 0x54], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], eax
je 0x1003f6b7
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x58]
mov ecx, dword [0x100716dc]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
lea eax, [ecx + 8]
cmp eax, esi
je 0x1003f6da
push 0x562
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_PRODIGALImGui_StandaloneImGuiimgui.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 + 0x20]
add esp, 0xc
xorps xmm0, xmm0
mov dword [esp + 0x20], 1
movlpd qword [esp + 0x30], xmm0
lea esi, [ecx + 0x383c]
mov ecx, dword [esi]
movd xmm0, edi
mov edi, dword [esi + 4]
mov dword [esp + 0x24], 1
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x28], xmm0
movd xmm0, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x2c], xmm0
cmp ecx, edi
jne 0x1003f740
inc ecx
test edi, edi
je 0x1003f72e
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1003f733
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002b460
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 ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055dc4
mov esp, ebp
pop ebp
ret
lea eax, [edi - 0x201]
cmp eax, 0xa2
ja case.0x1003f78a.527
movzx eax, byte [eax + 0x1003fae4]
jmp dword [eax*4 + 0x1003fac8]
mov edi, dword [esp + 0x1c]
cmp dword [edx + 4], edi
jne 0x1003f7a1
mov dword [edx + 4], 0
lea eax, [ecx + 8]
mov byte [edx + 8], 0
cmp eax, esi
je 0x1003f7c8
push 0x562
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_PRODIGALImGui_StandaloneImGuiimgui.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 + 0x20]
add esp, 0xc
mov edi, dword [ecx + 0x3840]
lea esi, [ecx + 0x383c]
mov ecx, dword [esi]
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0xff7fffff
mov dword [esp + 0x2c], 0xff7fffff
cmp ecx, edi
jne 0x1003f740
inc ecx
test edi, edi
je 0x1003f72e
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1003f733
cmp edi, 0x204
je 0x1003f830
xor esi, esi
cmp edi, 0x206
jne 0x1003f835
mov esi, 1
cmp edi, 0x207
je 0x1003f845
cmp edi, 0x209
jne 0x1003f84a
mov esi, 2
cmp edi, 0x20b
je 0x1003f85a
cmp edi, 0x20d
jne 0x1003f86a
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 0x1003f889
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x1003f885
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x54]
bts eax, esi
push 1
push esi
mov dword [edx + 0xc], eax
call fcn.10004b00
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055dc4
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp edi, 0x205
sete cl
mov dword [esp + 0x14], ecx
cmp edi, 0x208
jne 0x1003f8cf
mov ecx, 2
jmp 0x1003f8e7
cmp edi, 0x20c
jne 0x1003f8eb
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 0x1003f90e
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x1c]
jne 0x1003f90a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x14]
push 0
push ecx
mov ecx, esi
call fcn.10004b00
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055dc4
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 [0x10067be0]
call fcn.10004be0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055dc4
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 [0x10067be0]
call fcn.10004be0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055dc4
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x1003f78a.527
mov byte [edx + 0x25], 1
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.10055dc4
mov esp, ebp
pop ebp
ret