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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
je 0x140116a11
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x5c], 0x25
jne 0x140116a0c
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x25
jne 0x140116245
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x1401161f5
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
call fcn.140117110
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x140116279
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jle 0x14011628b
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x3c], 0
mov rcx, qword [rsp + 0x28]
call fcn.140116fc0
movzx eax, al
test eax, eax
je 0x140116589
mov r8d, 3
lea rdx, [0x14015c02c]
mov rcx, qword [rsp + 0x28]
call fcn.1400a9e40
test eax, eax
jne 0x1401162e9
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 3
mov qword [rsp + 0x28], rax
jmp case.0x14011636c.0
mov r8d, 3
lea rdx, [0x14015c004]
mov rcx, qword [rsp + 0x28]
call fcn.1400a9e40
test eax, eax
jne 0x140116322
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 3
mov qword [rsp + 0x28], rax
jmp case.0x14011636c.0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x7a
ja case.0x14011636c.0
movsxd rax, dword [rsp + 0x50]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x116e94]
mov eax, dword [rcx + rax*4 + 0x116e30]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
jmp case.0x14011636c.0
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
jmp case.0x14011636c.0
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
btr eax, 8
mov dword [rsp + 0x20], eax
jmp case.0x14011636c.0
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
jmp case.0x14011636c.0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x2a
jne 0x14011642a
mov eax, dword [rsp + 0x20]
bts eax, 0x10
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
call fcn.140117110
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14011640e
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x3c], eax
jmp 0x140116416
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x3c], eax
jle 0x140116428
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x44], eax
jmp 0x14011644f
mov eax, dword [rsp + 0x20]
bts eax, 0xf
mov dword [rsp + 0x20], eax
mov r8d, 0xa
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
call fcn.1400b9f18
mov dword [rsp + 0x3c], eax
jmp case.0x14011636c.0
mov eax, dword [rsp + 0x20]
or eax, 0x10
mov dword [rsp + 0x20], eax
jmp case.0x14011636c.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x14011636c.0
mov eax, dword [rsp + 0x20]
and eax, 0x20
test eax, eax
je 0x14011648c
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp 0x140116497
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
jmp case.0x14011636c.0
mov eax, dword [rsp + 0x20]
bts eax, 7
mov dword [rsp + 0x20], eax
jmp case.0x14011636c.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x14011636c.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x14011636c.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x14011636c.0
mov eax, dword [rsp + 0x20]
and eax, 4
test eax, eax
jne case.0x14011636c.48
mov eax, dword [rsp + 0x20]
bts eax, 8
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
bts eax, 0xd
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
dec rax
mov r8d, 0xa
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.1400b9f18
mov dword [rsp + 0x34], eax
jmp case.0x14011636c.0
mov eax, dword [rsp + 0x20]
bts eax, 0xe
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
call fcn.140117110
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14011655b
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x34], eax
jmp 0x140116563
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jle 0x140116575
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x44], eax
jmp case.0x14011636c.0
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
jmp 0x14011629b
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x1401165a4
cmp dword [rsp + 0x24], 0x80
jl 0x1401165ae
mov eax, 1
jmp 0x140116e2b
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
sub eax, 0x45
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x33
ja case.0x1401165ee.70
movsxd rax, dword [rsp + 0x4c]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x116f54]
mov eax, dword [rcx + rax*4 + 0x116f10]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 1
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 4
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 2
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
bts eax, 9
mov dword [rsp + 0x20], eax
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
bts eax, 0xa
mov dword [rsp + 0x20], eax
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
or eax, 0xa00
mov dword [rsp + 0x20], eax
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
or eax, 0x1a00
mov dword [rsp + 0x20], eax
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
bts eax, 0x11
mov dword [rsp + 0x20], eax
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
mov eax, dword [rsp + 0x20]
bts eax, 0x12
mov dword [rsp + 0x20], eax
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
mov eax, dword [rsp + 0x20]
or eax, 0x41000
mov dword [rsp + 0x20], eax
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
mov eax, dword [rsp + 0x20]
bts eax, 0x13
mov dword [rsp + 0x20], eax
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
mov eax, dword [rsp + 0x20]
or eax, 0x81000
mov dword [rsp + 0x20], eax
jmp 0x140116810
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax + 4], edx
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x34]
mov dword [rcx + rax + 8], edx
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax + 0xc], edx
mov eax, dword [rsp + 0x20]
and eax, 0x4000
test eax, eax
je 0x14011690d
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x140116887
cmp dword [rsp + 0x38], 0x80
jl 0x140116891
mov eax, 1
jmp 0x140116e2b
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax + 8], edx
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 9
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 4], 0
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 0xc], 0
mov eax, dword [rsp + 0x20]
and eax, 0x10000
test eax, eax
je 0x1401169bf
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x140116939
cmp dword [rsp + 0x40], 0x80
jl 0x140116943
mov eax, 1
jmp 0x140116e2b
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax + 0xc], edx
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 9
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 4], 0
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 0xc], 0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
jne 0x1401169d5
mov dword [rsp + 0x54], 0
jmp 0x1401169dd
mov dword [rsp + 0x54], 1
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x90], rax
jmp 0x1401161f5
mov dword [rsp + 0x24], 0
jmp 0x140116a25
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x24], eax
jge 0x140116e29
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x4000
test eax, eax
je 0x140116a98
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
movsxd rcx, dword [rdx + rcx + 8]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x10000
test eax, eax
je 0x140116afd
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
movsxd rcx, dword [rdx + rcx + 0xc]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 9
ja case.0x140116b36.5
movsxd rax, dword [rsp + 0x58]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x116f88]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx - 8]
mov qword [rcx + rax + 0x10], rdx
jmp case.0x140116b36.5
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx - 8]
mov qword [rcx + rax + 0x10], rdx
jmp case.0x140116b36.5
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x40
test eax, eax
je 0x140116c23
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x200
test eax, eax
je 0x140116c23
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx - 8]
mov qword [rcx + rax + 0x10], rdx
jmp 0x140116dd0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x40
test eax, eax
je 0x140116c7a
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx - 8]
mov qword [rcx + rax + 0x10], rdx
jmp 0x140116dd0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x20
test eax, eax
je 0x140116cee
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x200
test eax, eax
je 0x140116cee
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
jmp 0x140116dd0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x20
test eax, eax
je 0x140116d45
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
jmp 0x140116dd0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x200
test eax, eax
je 0x140116d9a
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
jmp 0x140116dd0
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
jmp case.0x140116b36.5
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsd xmm0, qword [rax - 8]
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
movsd qword [rcx + rax + 0x10], xmm0
jmp case.0x140116b36.5
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
jmp 0x140116a1b
xor eax, eax
add rsp, 0x78
ret