Function at 0x10050010
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0x861110
push ebx
push esi
push 0xc
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050046
movzx eax, byte [0x101e56d5]
xor ecx, ecx
cmp byte [0x101e8815], 1
cmove eax, ecx
mov byte [0x101e56d5], al
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101e8790]
xor edx, edx
movzx ecx, byte [0x101e8815]
cmp eax, 0x64
cmovb ecx, edx
mov byte [0x101e8815], cl
call esi
sub eax, dword [0x101e87d0]
cmp eax, 0x64
jb 0x100503b1
cmp byte [0x101e8815], 0
je 0x100503b8
cmp dword [0x10314b00], 0
je 0x100503b8
movss xmm3, dword [0x1018d4a0]
movss xmm2, dword [0x1018d2d4]
movss xmm1, dword [0x1018d19c]
push ecx
mov dword [esp], 0x43020000
call fcn.100103b0
push str.Muun_System
push 3
push 0xd2
push 0x64
push 0x23
push 0xff2d5fe1
push 0x101e4b18
call fcn.10077730
add esp, 0x1c
mov ecx, str.Do_you_want_to_drop_this_item_
cmp dword [0x10314b00], 1
mov eax, str.Do_you_want_to_sell_this_item_
cmovne eax, ecx
push eax
push 3
push 0xd2
push 0x82
push 0x23
push 0xff19bdff
push 0x101e4b18
call fcn.10077730
movss xmm3, dword [0x1018d3e8]
add esp, 0x14
movss xmm2, dword [0x1018d264]
mov ecx, 0x101e4b18
mov dword [esp + 4], 0
mov dword [esp], 0
push 0xef
call fcn.10078400
movd xmm1, dword [0x10317828]
mov ebx, 0x3c
movss xmm0, dword [0x101e8780]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100502a8
comiss xmm1, dword [0x101e8788]
ja 0x100502a8
movd xmm1, dword [0x10317830]
movss xmm0, dword [0x101e8784]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100502a8
comiss xmm1, dword [0x101e878c]
ja 0x100502a8
cmp byte [0x101e8794], 0
mov eax, 0x1e
movss xmm3, dword [0x1018d3e8]
mov ecx, 0x101e4b18
movss xmm2, dword [0x1018d264]
cmovne eax, ebx
sub esp, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0
push 0xef
call fcn.10078400
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x100502a8
mov eax, dword [0x10314b00]
cmp eax, 1
jne 0x10050219
mov al, byte [0x1019abbc]
lea edx, [ebx - 0x37]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0x94e05c1
mov byte [ebp - 4], al
call fcn.100bae10
mov eax, dword [0x10314b00]
cmp eax, 2
jne 0x10050272
mov al, byte [0x1019abbc]
lea ecx, [ebp - 8]
mov byte [ebp - 2], al
mov edx, 7
cvttss2si eax, dword [0x1019abb8]
mov dword [ebp - 8], 0x14e07c1
mov byte [ebp - 4], al
cvttss2si eax, dword [0x1019abb4]
mov byte [ebp - 3], al
call fcn.100bae10
mov eax, 0x7dd1b0
call eax
mov dword [0x81c03b4], 0
mov eax, 0x83c080
mov dword [0xe616d0], 6
call eax
mov dword [0x10314b00], 0
call esi
mov dword [0x101e8790], eax
mov byte [0x101e8815], 0
mov dword [0x1019abbc], 0xffffffff
mov dword [0x1019abb8], 0xbf800000
mov dword [0x1019abb4], 0xbf800000
movss xmm3, dword [0x1018d3e8]
sub esp, 8
movss xmm2, dword [0x1018d3f4]
mov ecx, 0x101e4b18
mov dword [esp + 4], 0
mov dword [esp], 0
push 0xf0
call fcn.10078400
movd xmm1, dword [0x10317828]
movss xmm0, dword [0x101e87c0]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100503b8
comiss xmm1, dword [0x101e87c8]
ja 0x100503b8
movd xmm1, dword [0x10317830]
movss xmm0, dword [0x101e87c4]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100503b8
comiss xmm1, dword [0x101e87cc]
ja 0x100503b8
cmp byte [0x101e87d4], 0
mov eax, 0x1e
movss xmm3, dword [0x1018d3e8]
mov ecx, 0x101e4b18
movss xmm2, dword [0x1018d3f4]
cmovne eax, ebx
sub esp, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0
push 0xf0
call fcn.10078400
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x100503b8
mov dword [0x10314b00], 0
call esi
mov dword [0x101e87d0], eax
mov dword [0x1019abbc], 0xffffffff
mov dword [0x1019abb8], 0xbf800000
mov dword [0x1019abb4], 0xbf800000
mov byte [0x101e8815], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret