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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x28], ecx
push 0xc
mov ecx, 0x104e1ca8
call fcn.100b63d0
movzx eax, al
test eax, eax
jne 0x1007c442
mov ecx, 0x40
imul edx, ecx, 0xf2
movzx eax, byte [edx + 0x104e1d65]
cmp eax, 1
jne 0x1007c442
mov ecx, 0x40
imul edx, ecx, 0x2d
mov byte [edx + 0x104e1d65], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x40
imul edx, ecx, 0xf0
sub eax, dword [edx + 0x104e1d60]
cmp eax, 0x64
jae 0x1007c470
mov eax, 0x40
imul ecx, eax, 0xf2
mov byte [ecx + 0x104e1d65], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 0x40
imul ecx, edx, 0xf1
sub eax, dword [ecx + 0x104e1d60]
cmp eax, 0x64
jae 0x1007c49e
mov edx, 0x40
imul eax, edx, 0xf2
mov byte [eax + 0x104e1d65], 0
mov ecx, 0x40
imul edx, ecx, 0xf2
movzx eax, byte [edx + 0x104e1d65]
test eax, eax
je 0x1007c4bd
cmp dword [0x10213fc8], 0
jne 0x1007c4c2
jmp 0x1007c930
mov dword [ebp - 0xc], 0
cmp dword [0x1020e0bc], 0
je 0x1007c4f9
cvtsi2ss xmm0, dword [0xe61e58]
divss xmm0, dword [0xe7c3d8]
divss xmm0, dword [0x101f98d0]
subss xmm0, dword [0x101fa4dc]
cvttss2si ecx, xmm0
mov dword [ebp - 0xc], ecx
cvtsi2ss xmm0, dword [ebp - 0xc]
addss xmm0, dword [0x101fa050]
movss dword [ebp - 4], xmm0
movss xmm0, dword [0x101fa3ec]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [0x101fa280]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [0x101fa1b8]
movss dword [ebp - 8], xmm0
movss xmm0, dword [0x101fa1b8]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x10]
divss xmm0, dword [0x101f9a98]
addss xmm0, dword [ebp - 4]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x1c]
subss xmm0, dword [0x101fa004]
movss dword [ebp - 0x2c], xmm0
push 0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x10]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x24]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 4]
movss dword [esp], xmm0
mov ecx, 0x1024e4b8
call fcn.10052a40
push str.Muun_System
push 3
push 0xd2
cvttss2si edx, dword [ebp - 8]
add edx, 0xa
push edx
cvttss2si eax, dword [ebp - 4]
add eax, 0xa
push eax
push 0xff2d5fe1
push 0x104e1ca8
call fcn.100b62d0
add esp, 0x1c
cmp dword [0x10213fc8], 1
jne 0x1007c614
push str.Do_you_want_to_sell_this_item_
push 3
push 0xd2
cvttss2si ecx, dword [ebp - 8]
add ecx, 0x28
push ecx
cvttss2si edx, dword [ebp - 4]
add edx, 0xa
push edx
push 0xff19bdff
push 0x104e1ca8
call fcn.100b62d0
add esp, 0x1c
jmp 0x1007c644
push str.Do_you_want_to_drop_this_item_
push 3
push 0xd2
cvttss2si eax, dword [ebp - 8]
add eax, 0x28
push eax
cvttss2si ecx, dword [ebp - 4]
add ecx, 0xa
push ecx
push 0xff19bdff
push 0x104e1ca8
call fcn.100b62d0
add esp, 0x1c
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
cvttss2si edx, dword [ebp - 8]
add edx, 0x46
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
cvttss2si eax, dword [ebp - 4]
add eax, 0x28
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
push 0xf0
mov ecx, 0x104e1ca8
call fcn.100b73e0
push 0xf0
mov ecx, 0x104e1ca8
call fcn.100b6460
movzx ecx, al
test ecx, ecx
je 0x1007c7f2
mov dword [ebp - 0x14], 0x1e
mov edx, 0x40
imul eax, edx, 0xf0
movzx ecx, byte [eax + 0x104e1d64]
test ecx, ecx
je 0x1007c6c7
mov dword [ebp - 0x14], 0x3c
cvtsi2ss xmm0, dword [ebp - 0x14]
push ecx
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
cvttss2si edx, dword [ebp - 8]
add edx, 0x46
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
cvttss2si eax, dword [ebp - 4]
add eax, 0x28
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
push 0xf0
mov ecx, 0x104e1ca8
call fcn.100b73e0
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x1007c7f2
cmp dword [0x10213fc8], 1
jne 0x1007c740
movzx edx, byte [0x1020abc0]
push edx
mov ecx, 0x10294ec0
call fcn.1007c2f0
cmp dword [0x10213fc8], 2
jne 0x1007c795
cvttss2si eax, dword [0x1020abb8]
movzx ecx, al
push ecx
cvttss2si edx, dword [0x1020abbc]
movzx eax, dl
push eax
movzx ecx, byte [0x1020abc0]
push ecx
mov ecx, 0x10294ec0
call fcn.1007c340
mov edx, 0x7dd1b0
call edx
mov dword [0x81c03b4], 0
mov dword [0xe616d0], 6
mov eax, 0x83c080
call eax
mov dword [0x10213fc8], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x40
imul edx, ecx, 0xf0
mov dword [edx + 0x104e1d60], eax
mov eax, 0x40
imul ecx, eax, 0xf2
mov byte [ecx + 0x104e1d65], 0
mov dword [0x1020abc0], 0xffffffff
movss xmm0, dword [0x101fa810]
movss dword [0x1020abbc], xmm0
movss xmm0, dword [0x101fa810]
movss dword [0x1020abb8], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
cvttss2si edx, dword [ebp - 8]
add edx, 0x46
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
cvttss2si eax, dword [ebp - 4]
add eax, 0x8c
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
push 0xf1
mov ecx, 0x104e1ca8
call fcn.100b73e0
push 0xf1
mov ecx, 0x104e1ca8
call fcn.100b6460
movzx ecx, al
test ecx, ecx
je 0x1007c930
mov dword [ebp - 0x18], 0x1e
mov edx, 0x40
imul eax, edx, 0xf1
movzx ecx, byte [eax + 0x104e1d64]
test ecx, ecx
je 0x1007c877
mov dword [ebp - 0x18], 0x3c
cvtsi2ss xmm0, dword [ebp - 0x18]
push ecx
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
cvttss2si edx, dword [ebp - 8]
add edx, 0x46
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
cvttss2si eax, dword [ebp - 4]
add eax, 0x8c
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
push 0xf1
mov ecx, 0x104e1ca8
call fcn.100b73e0
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x1007c930
mov dword [0x10213fc8], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 0x40
imul ecx, edx, 0xf1
mov dword [ecx + 0x104e1d60], eax
mov edx, 0x40
imul eax, edx, 0xf2
mov byte [eax + 0x104e1d65], 0
mov dword [0x1020abc0], 0xffffffff
movss xmm0, dword [0x101fa810]
movss dword [0x1020abbc], xmm0
movss xmm0, dword [0x101fa810]
movss dword [0x1020abb8], xmm0
mov esp, ebp
pop ebp
ret