Function at 0x40434b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, ecx
mov ecx, dword [0x52d99c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
push esi
push edi
test ecx, ecx
je case.0x404b2b.527
mov edi, dword [ecx + 0x74]
lea esi, [ecx + 8]
mov dword [esp + 0x18], edi
cmp edx, 0x200
ja 0x404b13
je 0x404ab6
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x404b2b.527
movzx eax, byte [eax + 0x404cd0]
jmp dword [eax*4 + 0x404cbc]
cmp edx, 0x100
je 0x404360
mov byte [esp + 0x14], 0
cmp edx, 0x104
jne 0x404365
mov byte [esp + 0x14], 1
cmp dword [ebp + 8], 0x100
jae case.0x404b2b.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 0x4043af
test al, al
je 0x40439c
movss xmm3, dword [0x465ab8]
jmp 0x40439f
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x1000
call fcn.00418410
push 0x10
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x1c], al
je 0x4043e6
test al, al
je 0x4043d3
movss xmm3, dword [0x465ab8]
jmp 0x4043d6
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x2000
call fcn.00418410
push 0x12
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x1c], al
je 0x40441d
test al, al
je 0x40440a
movss xmm3, dword [0x465ab8]
jmp 0x40440d
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x4000
call fcn.00418410
push 0x5d
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x1c], al
je 0x404454
test al, al
je 0x404441
movss xmm3, dword [0x465ab8]
jmp 0x404444
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, esi
push 0x8000
call fcn.00418410
mov esi, dword [ebp + 8]
cmp esi, 0xd
jne 0x40446f
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.00403db0
test eax, eax
je 0x40448a
mov dl, byte [esp + 0x14]
push ecx
push esi
mov ecx, eax
call fcn.004031e0
add esp, 8
cmp esi, 0x10
jne 0x4045a0
push 0xa0
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x404512
mov eax, dword [0x52d99c]
test eax, eax
jne 0x4044d1
push 0xfe1
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.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 [0x52d99c]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x4044fe
test cl, cl
je 0x4044eb
movss xmm3, dword [0x465ab8]
jmp 0x4044ee
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x210
call fcn.00418410
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.0x404b2b.527
mov esi, dword [0x52d99c]
test esi, esi
jne 0x404556
push 0xfe1
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.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 [0x52d99c]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3769], 0
je 0x404584
test cl, cl
je 0x40456d
movss xmm0, dword [0x465ab8]
jmp 0x404570
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.00418410
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 0x4046b6
push 0xa2
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x404628
mov eax, dword [0x52d99c]
test eax, eax
jne 0x4045e7
push 0xfe1
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.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 [0x52d99c]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x404614
test cl, cl
je 0x404601
movss xmm3, dword [0x465ab8]
jmp 0x404604
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x20f
call fcn.00418410
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.0x404b2b.527
mov esi, dword [0x52d99c]
test esi, esi
jne 0x40466c
push 0xfe1
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.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 [0x52d99c]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3769], 0
je 0x40469a
test cl, cl
je 0x404683
movss xmm0, dword [0x465ab8]
jmp 0x404686
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.00418410
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.0x404b2b.527
push 0xa4
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x40473e
mov eax, dword [0x52d99c]
test eax, eax
jne 0x4046fd
push 0xfe1
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.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 [0x52d99c]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x40472a
test cl, cl
je 0x404717
movss xmm3, dword [0x465ab8]
jmp 0x40471a
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x211
call fcn.00418410
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.0x404b2b.527
mov esi, dword [0x52d99c]
test esi, esi
jne 0x404782
push 0xfe1
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.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 [0x52d99c]
add esp, 0xc
mov cl, byte [esp + 0x14]
cmp byte [esi + 0x3769], 0
je 0x4047b0
test cl, cl
je 0x404799
movss xmm0, dword [0x465ab8]
jmp 0x40479c
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.00418410
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 0x404809
push 0x5d8
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.cpp
push str.g.IO__this___Can_only_add_events_to_current_context._
call eax
mov ecx, dword [0x52d99c]
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 0x404861
lea edi, [esi + esi*2]
shl edi, 3
nop word [eax + eax]
test esi, esi
js 0x40482c
cmp esi, dword [ecx + 0x3780]
jl 0x404844
push 0x6fb
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.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 0x4048aa
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
sub edi, 0x18
sub esi, 1
jns 0x404820
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x3768], 0
sete al
mov cl, byte [esp + 0x13]
cmp al, cl
je case.0x404b2b.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 0x4048c6
inc ecx
test edi, edi
je 0x4048b4
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x4048b9
mov al, byte [eax + edi + 8]
mov edi, dword [esp + 0x18]
jmp 0x40486b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00430d40
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 0x4049b0
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x404b2b.527
movzx edi, cx
mov eax, edi
test ax, ax
jne 0x404925
cmp word [esi + 0x3764], ax
je case.0x404b2b.527
cmp byte [esi + 0x3761], 0
je case.0x404b2b.527
movzx edx, word [esi + 0x3764]
mov ecx, eax
and ecx, 0xfc00
mov dword [esp + 0x1c], 0xd800
cmp cx, word [esp + 0x1c]
jne 0x404970
test dx, dx
je 0x404961
push 0xfffd
mov ecx, esi
call fcn.004182c0
mov word [esi + 0x3764], di
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x40499d
mov eax, 0xdc00
cmp cx, ax
je 0x40498f
push 0xfffd
mov ecx, esi
call fcn.004182c0
mov eax, edi
jmp 0x404994
mov eax, 0xfffd
xor ecx, ecx
mov word [esi + 0x3764], cx
movzx eax, ax
mov ecx, esi
push eax
call fcn.004182c0
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 [0x52d99c]
movzx edi, word [esp + 0x1c]
mov dword [esp + 0x18], ecx
lea eax, [ecx + 8]
cmp eax, esi
je 0x404a01
push 0x4d8
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.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.0x404b2b.527
cmp byte [esi + 0x3761], 0
je case.0x404b2b.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 0x404a6c
inc ecx
test edi, edi
je 0x404a5a
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x404a5f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00430d40
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.0x404b2b.527
call fcn.00403090
test al, al
je case.0x404b2b.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 0x404aea
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.00418640
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x404b2b.527
movzx eax, byte [eax + 0x404dec]
jmp dword [eax*4 + 0x404dd0]
mov ecx, dword [esp + 0x14]
cmp dword [edi + 4], ecx
jne 0x404b42
mov dword [edi + 4], 0
movss xmm1, dword [0x465bcc]
mov ecx, esi
movaps xmm2, xmm1
mov byte [edi + 8], 0
call fcn.00418640
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp edx, 0x204
je 0x404b72
cmp edx, 0x206
jne 0x404b77
mov edi, 1
cmp edx, 0x207
je 0x404b87
cmp edx, 0x209
jne 0x404b8c
mov edi, 2
cmp edx, 0x20b
je 0x404b9c
cmp edx, 0x20d
jne 0x404bac
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 0x404bcf
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x404bcb
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.00418840
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 0x404c08
mov ecx, 2
jmp 0x404c20
cmp edx, 0x20c
jne 0x404c24
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 0x404c47
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x14]
jne 0x404c43
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x18]
push 0
push ecx
mov ecx, esi
call fcn.00418840
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 [0x465b60]
call fcn.00418950
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 [0x465b60]
call fcn.00418950
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x404b2b.527
mov byte [edi + 0x25], 1
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret