Function at 0x440f5b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, ecx
mov ecx, dword [0x4a5318]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
push esi
push edi
test ecx, ecx
je case.0x441742.527
mov edi, dword [ecx + 0x74]
lea esi, [ecx + 8]
mov dword [esp + 0x18], edi
cmp edx, 0x200
ja 0x44172a
je 0x4416cd
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x441742.527
movzx eax, byte [eax + 0x4418e8]
jmp dword [eax*4 + 0x4418d4]
cmp edx, 0x100
je 0x440f70
mov byte [esp + 0x14], 0
cmp edx, 0x104
jne 0x440f75
mov byte [esp + 0x14], 1
cmp dword [ebp + 8], 0x100
jae case.0x441742.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 0x440fbf
test al, al
je 0x440fac
movss xmm3, dword [0x455030]
jmp 0x440faf
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x1000
call fcn.004035c0
push 0x10
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x1c], al
je 0x440ff6
test al, al
je 0x440fe3
movss xmm3, dword [0x455030]
jmp 0x440fe6
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x2000
call fcn.004035c0
push 0x12
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x1c], al
je 0x44102d
test al, al
je 0x44101a
movss xmm3, dword [0x455030]
jmp 0x44101d
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x4000
call fcn.004035c0
push 0x5d
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x1c], al
je 0x441064
test al, al
je 0x441051
movss xmm3, dword [0x455030]
jmp 0x441054
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x8000
call fcn.004035c0
mov esi, dword [ebp + 8]
cmp esi, 0xd
jne 0x44107f
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.004409c0
test eax, eax
je 0x44109a
mov dl, byte [esp + 0x14]
push ecx
push esi
mov ecx, eax
call fcn.0043fe70
add esp, 8
cmp esi, 0x10
jne 0x4411b0
push 0xa0
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x441122
mov eax, dword [0x4a5318]
test eax, eax
jne 0x4410e1
push 0xf74
push str.C:Users_snapsDownloads100__loader__1_100__loaderimgui.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 [0x4a5318]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x44110e
test cl, cl
je 0x4410fb
movss xmm3, dword [0x455030]
jmp 0x4410fe
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x210
call fcn.004035c0
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.0x441742.527
mov esi, dword [0x4a5318]
test esi, esi
jne 0x441166
push 0xf74
push str.C:Users_snapsDownloads100__loader__1_100__loaderimgui.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 [0x4a5318]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3769], 0
je 0x441194
test cl, cl
je 0x44117d
movss xmm0, dword [0x455030]
jmp 0x441180
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.004035c0
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 0x4412c6
push 0xa2
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x441238
mov eax, dword [0x4a5318]
test eax, eax
jne 0x4411f7
push 0xf74
push str.C:Users_snapsDownloads100__loader__1_100__loaderimgui.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 [0x4a5318]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x441224
test cl, cl
je 0x441211
movss xmm3, dword [0x455030]
jmp 0x441214
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x20f
call fcn.004035c0
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.0x441742.527
mov esi, dword [0x4a5318]
test esi, esi
jne 0x44127c
push 0xf74
push str.C:Users_snapsDownloads100__loader__1_100__loaderimgui.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 [0x4a5318]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3769], 0
je 0x4412aa
test cl, cl
je 0x441293
movss xmm0, dword [0x455030]
jmp 0x441296
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.004035c0
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.0x441742.527
push 0xa4
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x44134e
mov eax, dword [0x4a5318]
test eax, eax
jne 0x44130d
push 0xf74
push str.C:Users_snapsDownloads100__loader__1_100__loaderimgui.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 [0x4a5318]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x44133a
test cl, cl
je 0x441327
movss xmm3, dword [0x455030]
jmp 0x44132a
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x211
call fcn.004035c0
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.0x441742.527
mov esi, dword [0x4a5318]
test esi, esi
jne 0x441392
push 0xf74
push str.C:Users_snapsDownloads100__loader__1_100__loaderimgui.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 [0x4a5318]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3769], 0
je 0x4413c0
test cl, cl
je 0x4413a9
movss xmm0, dword [0x455030]
jmp 0x4413ac
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.004035c0
mov dword [esi + 0x350], 0x215
xor eax, eax
mov dword [esi + 0x910], 0xa5
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 7
mov eax, ecx
mov dword [esp + 0x18], eax
sete byte [esp + 0x13]
add eax, 8
cmp eax, esi
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
je 0x441419
push 0x5e8
push str.C:Users_snapsDownloads100__loader__1_100__loaderimgui.cpp
push str.g.IO__this___Can_only_add_events_to_current_context._
call eax
mov ecx, dword [0x4a5318]
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 0x44146e
lea edi, [esi + esi*2]
shl edi, 3
nop word [eax + eax]
test esi, esi
js 0x44143c
cmp esi, dword [ecx + 0x3780]
jl 0x441454
push 0x708
push str.C:Users_snapsDownloads100__loader__1_100__loaderimgui.h
push str.i___0__i___Size
call eax
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [ecx + 0x3788]
add eax, edi
cmp dword [eax], 6
je 0x4414be
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
sub edi, 0x18
sub esi, 1
jns 0x441430
mov esi, dword [esp + 0x18]
cmp byte [esi + 0x3768], 0
sete al
mov cl, byte [esp + 0x13]
cmp al, cl
je case.0x441742.527
mov edi, dword [esi + 0x3784]
add esi, 0x3780
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov byte [esp + 0x28], cl
mov ecx, dword [esi]
mov dword [esp + 0x20], 6
cmp ecx, edi
jne 0x4414dd
inc ecx
test edi, edi
je 0x4414cb
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x4414d0
test eax, eax
je 0x44146e
mov al, byte [eax + 8]
mov esi, dword [esp + 0x18]
jmp 0x44147c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041db90
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 0x4415c7
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x441742.527
movzx edi, cx
mov eax, edi
test ax, ax
jne 0x44153c
cmp word [esi + 0x3764], ax
je case.0x441742.527
cmp byte [esi + 0x3761], 0
je case.0x441742.527
movzx edx, word [esi + 0x3764]
mov ecx, eax
and ecx, 0xfc00
mov dword [esp + 0x1c], 0xd800
cmp cx, word [esp + 0x1c]
jne 0x441587
test dx, dx
je 0x441578
push 0xfffd
mov ecx, esi
call fcn.00403480
mov word [esi + 0x3764], di
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x4415b4
mov eax, 0xdc00
cmp cx, ax
je 0x4415a6
push 0xfffd
mov ecx, esi
call fcn.00403480
mov eax, edi
jmp 0x4415ab
mov eax, 0xfffd
xor ecx, ecx
mov word [esi + 0x3764], cx
movzx eax, ax
mov ecx, esi
push eax
call fcn.00403480
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 [0x4a5318]
movzx edi, word [esp + 0x1c]
mov dword [esp + 0x18], ecx
lea eax, [ecx + 8]
cmp eax, esi
je 0x441618
push 0x4e8
push str.C:Users_snapsDownloads100__loader__1_100__loaderimgui.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.0x441742.527
cmp byte [esi + 0x3761], 0
je case.0x441742.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 0x441683
inc ecx
test edi, edi
je 0x441671
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x441676
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041db90
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.0x441742.527
call fcn.0043fd20
test al, al
je case.0x441742.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 0x441701
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.004037f0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x441742.527
movzx eax, byte [eax + 0x441a04]
jmp dword [eax*4 + 0x4419e8]
mov ecx, dword [esp + 0x14]
cmp dword [edi + 4], ecx
jne 0x441759
mov dword [edi + 4], 0
movss xmm1, dword [0x4551b0]
mov ecx, esi
movaps xmm2, xmm1
mov byte [edi + 8], 0
call fcn.004037f0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp edx, 0x204
je 0x441789
cmp edx, 0x206
jne 0x44178e
mov edi, 1
cmp edx, 0x207
je 0x44179e
cmp edx, 0x209
jne 0x4417a3
mov edi, 2
cmp edx, 0x20b
je 0x4417b3
cmp edx, 0x20d
jne 0x4417c3
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 0x4417e6
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x4417e2
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.004039d0
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 0x44181f
mov ecx, 2
jmp 0x441837
cmp edx, 0x20c
jne 0x44183b
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 0x44185e
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x14]
jne 0x44185a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x18]
push 0
push ecx
mov ecx, esi
call fcn.004039d0
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 [0x45511c]
call fcn.00403b40
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 [0x45511c]
call fcn.00403b40
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x441742.527
mov byte [edi + 0x25], 1
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret