Function at 0x1003ae6b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
push esi
push edi
mov edi, dword [0x100aad8c]
mov eax, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
test edi, edi
je case.0x1003b5c0.527
mov ecx, dword [edi + 0x6c]
lea esi, [edi + 8]
mov dword [esp + 0xc], ecx
cmp edx, 0x200
ja 0x1003b5a8
je 0x1003b4e8
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x1003b5c0.527
movzx eax, byte [eax + 0x1003b8a4]
jmp dword [eax*4 + 0x1003b890]
cmp edx, 0x100
je 0x1003ae80
mov byte [esp + 0xc], 0
cmp edx, 0x104
jne 0x1003ae85
mov byte [esp + 0xc], 1
mov edi, dword [ebp + 8]
cmp edi, 0x100
jae case.0x1003b5c0.527
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3759], 0
mov byte [esp + 0x14], al
je 0x1003aecf
test al, al
je 0x1003aebc
movss xmm3, dword [0x10094544]
jmp 0x1003aebf
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x281
call fcn.10010970
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3759], 0
mov byte [esp + 0x14], al
je 0x1003af0a
test al, al
je 0x1003aef7
movss xmm3, dword [0x10094544]
jmp 0x1003aefa
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x282
call fcn.10010970
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3759], 0
mov byte [esp + 0x14], al
je 0x1003af45
test al, al
je 0x1003af32
movss xmm3, dword [0x10094544]
jmp 0x1003af35
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x283
call fcn.10010970
push 0x5d
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3759], 0
mov byte [esp + 0x14], al
je 0x1003af80
test al, al
je 0x1003af6d
movss xmm3, dword [0x10094544]
jmp 0x1003af70
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x284
call fcn.10010970
cmp edi, 0xd
jne 0x1003af98
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne edi, eax
mov ecx, edi
call fcn.1003a8d0
test eax, eax
je 0x1003afb3
mov dl, byte [esp + 0xc]
push ecx
push edi
mov ecx, eax
call fcn.10039d10
add esp, 8
cmp edi, 0x10
jne 0x1003b0cd
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1003b040
mov esi, dword [0x100aad8c]
test esi, esi
jne 0x1003b001
push 0xebd
push str.E:Projects1MTA_DLL___Visualsimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.100660da
mov esi, dword [0x100aad8c]
add esp, 0xc
mov cl, byte [esp + 0xc]
cmp byte [esi + 0x3761], 0
je 0x1003b02c
test cl, cl
je 0x1003b018
movss xmm3, dword [0x10094544]
jmp 0x1003b01b
xorps xmm3, xmm3
push dword [esp + 0xc]
lea ecx, [esi + 8]
push 0x210
call fcn.10010970
mov dword [esi + 0x334], 0x210
mov dword [esi + 0x8f4], 0xa0
push 0xa1
call edi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1003b5c0.527
mov esi, dword [0x100aad8c]
test esi, esi
jne 0x1003b083
push 0xebd
push str.E:Projects1MTA_DLL___Visualsimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.100660da
mov esi, dword [0x100aad8c]
add esp, 0xc
mov cl, byte [esp + 0xc]
cmp byte [esi + 0x3761], 0
je 0x1003b0b1
test cl, cl
je 0x1003b09a
movss xmm0, dword [0x10094544]
jmp 0x1003b09d
xorps xmm0, xmm0
push dword [esp + 0xc]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.10010970
mov dword [esi + 0x338], 0x214
xor eax, eax
mov dword [esi + 0x904], 0xa1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 0x11
jne 0x1003b1e7
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call edi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1003b15a
mov esi, dword [0x100aad8c]
test esi, esi
jne 0x1003b11b
push 0xebd
push str.E:Projects1MTA_DLL___Visualsimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.100660da
mov esi, dword [0x100aad8c]
add esp, 0xc
mov cl, byte [esp + 0xc]
cmp byte [esi + 0x3761], 0
je 0x1003b146
test cl, cl
je 0x1003b132
movss xmm3, dword [0x10094544]
jmp 0x1003b135
xorps xmm3, xmm3
push dword [esp + 0xc]
lea ecx, [esi + 8]
push 0x20f
call fcn.10010970
mov dword [esi + 0x33c], 0x20f
mov dword [esi + 0x8f0], 0xa2
push 0xa3
call edi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1003b5c0.527
mov esi, dword [0x100aad8c]
test esi, esi
jne 0x1003b19d
push 0xebd
push str.E:Projects1MTA_DLL___Visualsimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.100660da
mov esi, dword [0x100aad8c]
add esp, 0xc
mov cl, byte [esp + 0xc]
cmp byte [esi + 0x3761], 0
je 0x1003b1cb
test cl, cl
je 0x1003b1b4
movss xmm0, dword [0x10094544]
jmp 0x1003b1b7
xorps xmm0, xmm0
push dword [esp + 0xc]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.10010970
mov dword [esi + 0x340], 0x213
xor eax, eax
mov dword [esi + 0x900], 0xa3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 0x12
jne case.0x1003b5c0.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call edi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1003b274
mov esi, dword [0x100aad8c]
test esi, esi
jne 0x1003b235
push 0xebd
push str.E:Projects1MTA_DLL___Visualsimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.100660da
mov esi, dword [0x100aad8c]
add esp, 0xc
mov cl, byte [esp + 0xc]
cmp byte [esi + 0x3761], 0
je 0x1003b260
test cl, cl
je 0x1003b24c
movss xmm3, dword [0x10094544]
jmp 0x1003b24f
xorps xmm3, xmm3
push dword [esp + 0xc]
lea ecx, [esi + 8]
push 0x211
call fcn.10010970
mov dword [esi + 0x344], 0x211
mov dword [esi + 0x8f8], 0xa4
push 0xa5
call edi
mov cl, byte [esp + 0xc]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1003b5c0.527
mov esi, dword [0x100aad8c]
test esi, esi
jne 0x1003b2b7
push 0xebd
push str.E:Projects1MTA_DLL___Visualsimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.100660da
mov esi, dword [0x100aad8c]
add esp, 0xc
mov cl, byte [esp + 0xc]
cmp byte [esi + 0x3761], 0
je 0x1003b2e5
test cl, cl
je 0x1003b2ce
movss xmm0, dword [0x10094544]
jmp 0x1003b2d1
xorps xmm0, xmm0
push dword [esp + 0xc]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.10010970
mov dword [esi + 0x348], 0x215
xor eax, eax
mov dword [esi + 0x908], 0xa5
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edi + 8]
cmp eax, esi
je 0x1003b323
push 0x57d
push str.E:Projects1MTA_DLL___Visualsimguiimgui.cpp
push str.g.IO__this___Can_only_add_events_to_current_context._
call fcn.100660da
mov edx, dword [esp + 0x1c]
add esp, 0xc
xorps xmm0, xmm0
lea eax, [esp + 0x30]
cmp edx, 7
movaps xmmword [esp + 0x30], xmm0
push eax
lea ecx, [edi + 0x3778]
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x34], 6
sete byte [esp + 0x3c]
call fcn.100283d0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
test ecx, ecx
je case.0x1003b5c0.527
cmp ecx, 0x10000
jae case.0x1003b5c0.527
movzx eax, cx
test ax, ax
jne 0x1003b385
cmp word [esi + 0x375c], ax
je case.0x1003b5c0.527
cmp byte [esi + 0x3759], 0
je case.0x1003b5c0.527
movzx edx, word [esi + 0x375c]
mov ecx, eax
and ecx, 0xfc00
mov dword [esp + 0x14], 0xd800
cmp cx, word [esp + 0x14]
jne 0x1003b427
test dx, dx
je 0x1003b415
lea eax, [edi + 8]
cmp eax, esi
je 0x1003b3d3
push 0x4a5
push str.E:Projects1MTA_DLL___Visualsimguiimgui.cpp
push str.g.IO__this___Can_only_add_events_to_current_context._
call fcn.100660da
add esp, 0xc
cmp byte [esi + 0x3759], 0
je 0x1003b415
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
mov dword [esp + 0x18], 5
push eax
lea ecx, [edi + 0x3778]
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], 0xfffd
call fcn.100283d0
mov eax, dword [ebp + 8]
mov word [esi + 0x375c], ax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x14], eax
test dx, dx
je 0x1003b4ab
mov eax, 0xdc00
cmp cx, ax
je 0x1003b4be
lea eax, [edi + 8]
cmp eax, esi
je 0x1003b45c
push 0x4a5
push str.E:Projects1MTA_DLL___Visualsimguiimgui.cpp
push str.g.IO__this___Can_only_add_events_to_current_context._
call fcn.100660da
add esp, 0xc
cmp byte [esi + 0x3759], 0
je 0x1003b49e
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
mov dword [esp + 0x18], 5
push eax
lea ecx, [edi + 0x3778]
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], 0xfffd
call fcn.100283d0
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov word [esi + 0x375c], cx
movzx eax, ax
mov ecx, esi
push eax
call fcn.100108f0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xfffd
jmp 0x1003b4a2
cmp word [ebp + 0xc], 1
jne case.0x1003b5c0.527
call fcn.10039bc0
test al, al
je case.0x1003b5c0.527
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [ecx + 8], 0
mov dword [ecx + 4], eax
jne 0x1003b526
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 2
mov dword [esp + 0x28], 0
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov edx, dword [esp + 0xc]
mov edi, dword [0x100aad8c]
mov byte [edx + 8], 1
lea eax, [edi + 8]
cmp eax, esi
je 0x1003b544
push 0x54e
push str.E:Projects1MTA_DLL___Visualsimguiimgui.cpp
push str.g.IO__this___Can_only_add_events_to_current_context._
call fcn.100660da
add esp, 0xc
cmp byte [esi + 0x3759], 0
je case.0x1003b5c0.527
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movsx eax, cx
movlpd qword [esp + 0x40], xmm0
shr ecx, 0x10
mov dword [esp + 0x30], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movsx eax, cx
lea ecx, [edi + 0x3778]
mov dword [esp + 0x34], 1
movss dword [esp + 0x38], xmm0
movd xmm0, eax
lea eax, [esp + 0x30]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esp + 0x40], xmm0
call fcn.100283d0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x1003b5c0.527
movzx eax, byte [eax + 0x1003b9c0]
jmp dword [eax*4 + 0x1003b9a4]
mov edx, dword [esp + 0x14]
cmp dword [ecx + 4], edx
jne 0x1003b5d7
mov dword [ecx + 4], 0
lea eax, [edi + 8]
mov byte [ecx + 8], 0
cmp eax, esi
je 0x1003b5f9
push 0x54e
push str.E:Projects1MTA_DLL___Visualsimguiimgui.cpp
push str.g.IO__this___Can_only_add_events_to_current_context._
call fcn.100660da
add esp, 0xc
cmp byte [esi + 0x3759], 0
je case.0x1003b5c0.527
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 1
xorps xmm0, xmm0
mov dword [esp + 0x34], 1
push eax
lea ecx, [edi + 0x3778]
movlpd qword [esp + 0x44], xmm0
mov dword [esp + 0x3c], 0xff7fffff
mov dword [esp + 0x40], 0xff7fffff
call fcn.100283d0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp edx, 0x201
je 0x1003b659
cmp edx, 0x203
jne 0x1003b65b
xor edi, edi
cmp edx, 0x204
je 0x1003b66b
cmp edx, 0x206
jne 0x1003b670
mov edi, 1
cmp edx, 0x207
je 0x1003b680
cmp edx, 0x209
jne 0x1003b685
mov edi, 2
cmp edx, 0x20b
je 0x1003b695
cmp edx, 0x20d
jne 0x1003b6a5
mov edi, dword [ebp + 8]
shr edi, 0x10
dec edi
neg edi
sbb edi, edi
neg edi
add edi, 3
cmp dword [ecx + 0xc], 0
jne 0x1003b6c4
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x1003b6c0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0xc]
bts eax, edi
push 1
mov dword [ecx + 0xc], eax
mov ecx, esi
push edi
call fcn.10010c00
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp edx, 0x205
sete cl
mov dword [esp + 0x10], ecx
cmp edx, 0x208
jne 0x1003b6fd
mov ecx, 2
jmp 0x1003b715
cmp edx, 0x20c
jne 0x1003b719
mov ecx, dword [ebp + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0xc]
btr eax, ecx
mov dword [edx + 0xc], eax
test eax, eax
jne 0x1003b740
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x14]
jne 0x1003b73c
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov ecx, esi
call fcn.10010c00
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
shr eax, 0x10
cwde
movd xmm1, eax
lea eax, [edi + 8]
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x10094608]
movss dword [esp + 0x14], xmm1
cmp eax, esi
je 0x1003b792
push 0x56e
push str.E:Projects1MTA_DLL___Visualsimguiimgui.cpp
push str.g.IO__this___Can_only_add_events_to_current_context._
call fcn.100660da
movss xmm1, dword [esp + 0x20]
add esp, 0xc
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp case.0x1003b5c0.527
cmp byte [esi + 0x3759], 0
je case.0x1003b5c0.527
lea eax, [esp + 0x30]
movlpd qword [esp + 0x40], xmm0
push eax
lea ecx, [edi + 0x3778]
mov dword [esp + 0x34], 2
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 0
movss dword [esp + 0x40], xmm1
call fcn.100283d0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
shr eax, 0x10
cwde
movd xmm1, eax
lea eax, [edi + 8]
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x10094608]
movss dword [esp + 0x14], xmm1
cmp eax, esi
je 0x1003b82b
push 0x56e
push str.E:Projects1MTA_DLL___Visualsimguiimgui.cpp
push str.g.IO__this___Can_only_add_events_to_current_context._
call fcn.100660da
movss xmm1, dword [esp + 0x20]
add esp, 0xc
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp case.0x1003b5c0.527
cmp byte [esi + 0x3759], 0
je case.0x1003b5c0.527
lea eax, [esp + 0x30]
movlpd qword [esp + 0x40], xmm0
push eax
lea ecx, [edi + 0x3778]
mov dword [esp + 0x34], 2
mov dword [esp + 0x38], 1
movss dword [esp + 0x3c], xmm1
mov dword [esp + 0x40], 0
call fcn.100283d0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x1003b5c0.527
mov byte [ecx + 0x25], 1
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret