Function at 0x1004cc40
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x11c
push str.renderMap__
call fcn.1006b60e
pop ecx
call fcn.1002b86b
test eax, eax
jne 0x1004d035
push ebp
xor ebp, ebp
push esi
cmp dword [0x101b32bc], ebp
je 0x1004ccb9
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 9
call esi
test ax, ax
jns 0x1004cc85
cmp dword [0x10196b22], ebp
jne 0x1004d033
mov eax, dword [0x101b32d4]
cmp dword [eax], ebp
jne 0x1004d033
push 0x70
call esi
test ax, ax
js 0x1004d033
push 0x74
call esi
test ax, ax
js 0x1004d033
push 0x79
call esi
test ax, ax
js 0x1004d033
push ebx
push 1
push 0xffffffffffffffff
call fcn.1002b373
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x1004d032
push edi
cmp dword [0x10171a28], ebp
je 0x1004cdeb
cmp dword [0x101b32bc], ebp
je 0x1004cd57
mov esi, ebp
lea eax, [esp + 0x20]
push eax
push esi
call fcn.10047d7d
pop ecx
pop ecx
test eax, eax
je 0x1004cd49
mov eax, dword [0x101b32c0]
cmp dword [eax + esi*4 + 0x26], ebp
je 0x1004cd49
push esi
push esi
call fcn.10047d44
pop ecx
push eax
push str._s__d_
lea eax, [esp + 0x38]
push 0xff
push eax
call fcn.1004a8fe
add esp, 0x14
lea eax, [esp + 0x2c]
push eax
push 0xff000000
push esi
call fcn.100485c0
pop ecx
pop ecx
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
call fcn.1004d03c
add esp, 0x10
inc esi
cmp esi, 0x3ec
jl 0x1004cce6
jmp 0x1004cdeb
mov ecx, dword [0x101c74dc]
mov eax, dword [ecx]
call dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [eax + 0x1f84]
call fcn.10017a20
jmp 0x1004cde1
mov edi, dword [esi + 4]
test edi, edi
je 0x1004cdd1
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
add eax, edi
cmp eax, dword [0x101c74e4]
je 0x1004cdd1
mov ecx, dword [ecx + 4]
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 0xb0]
push eax
push 0x10096694
lea eax, [esp + 0x34]
push 0xff
push eax
call fcn.1004a8fe
mov eax, dword [edi]
add esp, 0x10
mov ecx, dword [eax + 4]
lea eax, [esp + 0x2c]
add ecx, edi
push eax
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 0x28]
push eax
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
call fcn.1004d03c
add esp, 0x10
add esi, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call fcn.100179ef
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x1c]
jb 0x1004cd73
mov eax, dword [0x10171a30]
cmp dword [eax + 0x1ef51], ebp
je 0x1004cf92
cmp dword [0x101b32bc], ebp
je 0x1004cef6
mov eax, dword [0x101b32c4]
test eax, eax
je 0x1004cf92
mov edi, ebp
mov esi, 0x1134
cmp dword [esi + eax + 0x1f40], 1
jne 0x1004cedf
mov ecx, dword [esi + eax]
test ecx, ecx
je 0x1004cedf
mov ecx, dword [ecx + 0x4c]
test ecx, ecx
je 0x1004cedf
movzx eax, word [ecx + 0x22]
push eax
call fcn.1002b8fc
pop ecx
mov ecx, dword [0x101b32c0]
mov ebp, eax
mov ecx, dword [ecx + 0x1e]
movzx ecx, word [ecx + 0xfc]
cmp ecx, edi
je 0x1004ceda
mov ecx, dword [0x101b32c4]
mov ecx, dword [esi + ecx]
push dword [ecx + 0x4c]
call fcn.1002dc13
push eax
call fcn.1002b734
push edi
push dword [ebp + 8]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x3c]
push str._s__d_
push 0xff
push eax
call fcn.1004a8fe
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x30]
movzx ecx, al
movzx eax, ah
or ecx, 0xffffff00
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x32]
shl ecx, 8
or ecx, eax
mov eax, dword [0x101b32c4]
push ecx
mov eax, dword [esi + eax]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x14]
add eax, 0x30
push eax
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
call fcn.1004d03c
add esp, 0x2c
mov eax, dword [0x101b32c4]
add esi, 4
inc edi
cmp esi, 0x3074
jl 0x1004ce1c
xor ebp, ebp
jmp 0x1004cf92
mov eax, dword [0x10171a2c]
mov esi, ebp
cmp dword [eax + 8], ebp
jle 0x1004cf92
push 1
push esi
call fcn.1002dc65
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1004cf83
push edi
call fcn.1002dc13
push eax
call fcn.1002b734
mov dword [esp + 0x18], eax
movzx eax, word [edi + 0x22]
push eax
call fcn.1002b8fc
push esi
push dword [eax + 8]
lea eax, [esp + 0x40]
push 0x100a7890
push 0xff
push eax
call fcn.1004a8fe
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x34]
movzx ecx, al
or ecx, 0xffffff00
movzx eax, ah
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x36]
shl ecx, 8
or ecx, eax
mov eax, dword [edi + 0x14]
add eax, 0x30
push ecx
push eax
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
call fcn.1004d03c
add esp, 0x30
mov eax, dword [0x10171a2c]
inc esi
cmp esi, dword [eax + 8]
jl 0x1004cf06
mov eax, dword [0x10171a30]
cmp dword [eax + 0x1ef8d], ebp
je 0x1004d01e
mov edi, ebp
mov esi, ebp
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x10171a30]
add eax, 0x1f008
add eax, esi
push eax
call fcn.10046916
lea eax, [esp + 0x28]
push eax
call fcn.10046a0c
add esp, 0xc
test eax, eax
jne 0x1004d012
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
call fcn.10046926
fstp qword [esp]
push edi
push str.Teleport__d___0.1f_
lea eax, [esp + 0x3c]
push 0xff
push eax
call fcn.1004a8fe
lea eax, [esp + 0x44]
push eax
push 0xff00c8c8
lea eax, [esp + 0x40]
push eax
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
call fcn.1004d03c
add esp, 0x28
add esi, 0x48
inc edi
cmp esi, 0x2d0
jl 0x1004cfa3
mov eax, dword [ebx + 0x14]
push ebp
add eax, 0x30
push 0xffffffffffffffff
push eax
push eax
call fcn.1004d03c
add esp, 0x10
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x11c
ret