Function at 0x140021390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
xor esi, esi
mov rbx, r8
mov r14, rdx
mov edi, esi
cmp byte [rcx], sil
je 0x1400213d4
nop dword [rax]
inc rdi
cmp byte [rdi + rcx], sil
jne 0x1400213c0
cmp rdi, 0x7f
jb 0x1400213d4
mov edi, 0x7f
mov rdx, rcx
mov r8, rdi
lea rcx, [rbp + 0x340]
call fcn.140039560
mov byte [rbp + rdi + 0x340], sil
lea rax, [rbp + 0x340]
movzx ecx, byte [rbp + 0x340]
test cl, cl
je 0x140021413
cmp cl, 0x2c
jne 0x140021408
mov byte [rax], 0x20
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
jne 0x140021400
lea r9, [rbp + 0x340]
mov edx, 0x400
lea r8, str.none__s_
lea rcx, [rsp + 0x40]
call fcn.14003b010
cmp dword [rbx], esi
je 0x1400214f0
mov r8d, 0x400
lea rdx, str.abxy
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx]
sub ecx, 1
je 0x1400214a9
sub ecx, 1
je 0x1400214a0
cmp ecx, 1
jne 0x1400214c4
movzx r9d, byte [rbx + 4]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x1400214c4
lea r8, [0x140158ec4]
jmp 0x1400214b0
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 4]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 8], esi
je 0x1400215b2
mov r8d, 0x400
lea rdx, [0x140158d0c]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 8]
sub ecx, 1
je 0x14002156b
sub ecx, 1
je 0x140021562
cmp ecx, 1
jne 0x140021586
movzx r9d, byte [rbx + 0xc]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x140021586
lea r8, [0x140158ec4]
jmp 0x140021572
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0xc]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x10], esi
je 0x140021674
mov r8d, 0x400
lea rdx, [0x140158d10]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x10]
sub ecx, 1
je 0x14002162d
sub ecx, 1
je 0x140021624
cmp ecx, 1
jne 0x140021648
movzx r9d, byte [rbx + 0x14]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x140021648
lea r8, [0x140158ec4]
jmp 0x140021634
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x14]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x18], esi
je 0x140021736
mov r8d, 0x400
lea rdx, [0x140158d14]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x18]
sub ecx, 1
je 0x1400216ef
sub ecx, 1
je 0x1400216e6
cmp ecx, 1
jne 0x14002170a
movzx r9d, byte [rbx + 0x1c]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x14002170a
lea r8, [0x140158ec4]
jmp 0x1400216f6
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x1c]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x20], esi
je 0x1400217f8
mov r8d, 0x400
lea rdx, [0x140158d18]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x20]
sub ecx, 1
je 0x1400217b1
sub ecx, 1
je 0x1400217a8
cmp ecx, 1
jne 0x1400217cc
movzx r9d, byte [rbx + 0x24]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x1400217cc
lea r8, [0x140158ec4]
jmp 0x1400217b8
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x24]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x28], esi
je 0x1400218ba
mov r8d, 0x400
lea rdx, str.guide
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x28]
sub ecx, 1
je 0x140021873
sub ecx, 1
je 0x14002186a
cmp ecx, 1
jne 0x14002188e
movzx r9d, byte [rbx + 0x2c]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x14002188e
lea r8, [0x140158ec4]
jmp 0x14002187a
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x2c]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x30], esi
je 0x14002197c
mov r8d, 0x400
lea rdx, str.start
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x30]
sub ecx, 1
je 0x140021935
sub ecx, 1
je 0x14002192c
cmp ecx, 1
jne 0x140021950
movzx r9d, byte [rbx + 0x34]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x140021950
lea r8, [0x140158ec4]
jmp 0x14002193c
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x34]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x38], esi
je 0x140021a3e
mov r8d, 0x400
lea rdx, str.leftstick
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x38]
sub ecx, 1
je 0x1400219f7
sub ecx, 1
je 0x1400219ee
cmp ecx, 1
jne 0x140021a12
movzx r9d, byte [rbx + 0x3c]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x140021a12
lea r8, [0x140158ec4]
jmp 0x1400219fe
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x3c]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x40], esi
je 0x140021b00
mov r8d, 0x400
lea rdx, str.rightstick
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x40]
sub ecx, 1
je 0x140021ab9
sub ecx, 1
je 0x140021ab0
cmp ecx, 1
jne 0x140021ad4
movzx r9d, byte [rbx + 0x44]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x140021ad4
lea r8, [0x140158ec4]
jmp 0x140021ac0
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x44]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x48], esi
je 0x140021bc2
mov r8d, 0x400
lea rdx, str.leftshoulder
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x48]
sub ecx, 1
je 0x140021b7b
sub ecx, 1
je 0x140021b72
cmp ecx, 1
jne 0x140021b96
movzx r9d, byte [rbx + 0x4c]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x140021b96
lea r8, [0x140158ec4]
jmp 0x140021b82
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x4c]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x50], esi
je 0x140021c84
mov r8d, 0x400
lea rdx, str.rightshoulder
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x50]
sub ecx, 1
je 0x140021c3d
sub ecx, 1
je 0x140021c34
cmp ecx, 1
jne 0x140021c58
movzx r9d, byte [rbx + 0x54]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x140021c58
lea r8, [0x140158ec4]
jmp 0x140021c44
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x54]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x58], esi
je 0x140021d46
mov r8d, 0x400
lea rdx, str.dpup
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x58]
sub ecx, 1
je 0x140021cff
sub ecx, 1
je 0x140021cf6
cmp ecx, 1
jne 0x140021d1a
movzx r9d, byte [rbx + 0x5c]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x140021d1a
lea r8, [0x140158ec4]
jmp 0x140021d06
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x5c]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x60], esi
je 0x140021e08
mov r8d, 0x400
lea rdx, str.dpdown
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x60]
sub ecx, 1
je 0x140021dc1
sub ecx, 1
je 0x140021db8
cmp ecx, 1
jne 0x140021ddc
movzx r9d, byte [rbx + 0x64]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x140021ddc
lea r8, [0x140158ec4]
jmp 0x140021dc8
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x64]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x68], esi
je 0x140021eca
mov r8d, 0x400
lea rdx, str.dpleft
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x68]
sub ecx, 1
je 0x140021e83
sub ecx, 1
je 0x140021e7a
cmp ecx, 1
jne 0x140021e9e
movzx r9d, byte [rbx + 0x6c]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x140021e9e
lea r8, [0x140158ec4]
jmp 0x140021e8a
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x6c]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x70], esi
je 0x140021f8c
mov r8d, 0x400
lea rdx, str.dpright
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x70]
sub ecx, 1
je 0x140021f45
sub ecx, 1
je 0x140021f3c
cmp ecx, 1
jne 0x140021f60
movzx r9d, byte [rbx + 0x74]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x140021f60
lea r8, [0x140158ec4]
jmp 0x140021f4c
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x74]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x78], esi
je 0x14002204e
mov r8d, 0x400
lea rdx, str.leftx
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x78]
sub ecx, 1
je 0x140022007
sub ecx, 1
je 0x140021ffe
cmp ecx, 1
jne 0x140022022
movzx r9d, byte [rbx + 0x7c]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x140022022
lea r8, [0x140158ec4]
jmp 0x14002200e
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x7c]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x80], esi
je 0x14002211c
mov r8d, 0x400
lea rdx, str.lefty
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x80]
sub ecx, 1
je 0x1400220d2
sub ecx, 1
je 0x1400220c9
cmp ecx, 1
jne 0x1400220f0
movzx r9d, byte [rbx + 0x84]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x1400220f0
lea r8, [0x140158ec4]
jmp 0x1400220d9
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x84]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x88], esi
je 0x1400221ea
mov r8d, 0x400
lea rdx, str.rightx
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x88]
sub ecx, 1
je 0x1400221a0
sub ecx, 1
je 0x140022197
cmp ecx, 1
jne 0x1400221be
movzx r9d, byte [rbx + 0x8c]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x1400221be
lea r8, [0x140158ec4]
jmp 0x1400221a7
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x8c]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x90], esi
je 0x1400222b8
mov r8d, 0x400
lea rdx, str.righty
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x90]
sub ecx, 1
je 0x14002226e
sub ecx, 1
je 0x140022265
cmp ecx, 1
jne 0x14002228c
movzx r9d, byte [rbx + 0x94]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x14002228c
lea r8, [0x140158ec4]
jmp 0x140022275
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x94]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0x98], esi
je 0x140022386
mov r8d, 0x400
lea rdx, str.lefttrigger
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0x98]
sub ecx, 1
je 0x14002233c
sub ecx, 1
je 0x140022333
cmp ecx, 1
jne 0x14002235a
movzx r9d, byte [rbx + 0x9c]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x14002235a
lea r8, [0x140158ec4]
jmp 0x140022343
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0x9c]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp dword [rbx + 0xa0], esi
je 0x140022454
mov r8d, 0x400
lea rdx, str.righttrigger
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ebc]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov ecx, dword [rbx + 0xa0]
sub ecx, 1
je 0x14002240a
sub ecx, 1
je 0x140022401
cmp ecx, 1
jne 0x140022428
movzx r9d, byte [rbx + 0xa4]
lea edx, [rcx + 0xf]
mov eax, r9d
lea r8, str.h_i._i
and eax, 0xf
shr r9d, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.14003b010
jmp 0x140022428
lea r8, [0x140158ec4]
jmp 0x140022411
lea r8, [0x140158ec0]
movzx r9d, byte [rbx + 0xa4]
lea rcx, [rsp + 0x30]
mov edx, 0x10
call fcn.14003b010
mov r8d, 0x400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140039d10
mov r8d, 0x400
lea rdx, [0x140158ed0]
lea rcx, [rsp + 0x40]
call fcn.140039d10
cmp byte [rsp + 0x40], sil
je 0x14002246a
nop dword [rax + rax]
inc rsi
cmp byte [rsp + rsi + 0x40], 0
jne 0x140022460
test esi, esi
jle 0x14002247d
movsxd rax, esi
cmp byte [rsp + rax + 0x3f], 0x2c
jne 0x14002247d
mov byte [rsp + rax + 0x3f], 0
movaps xmm0, xmmword [r14]
lea r8, [rbp + 0x3e0]
xor r9d, r9d
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140021020
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret