Function at 0x140085d50
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 0x1400865bb
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 0x1400865b6
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x25
jne 0x140085dd5
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x140085d85
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.140085b50
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x140085e09
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jle 0x140085e1b
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.140085c00
movzx eax, al
test eax, eax
je 0x140086133
mov r8d, 3
lea rdx, [0x140146d84]
mov rcx, qword [rsp + 0x28]
call fcn.1400cfca0
test eax, eax
jne 0x140085e79
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.0x140085efc.0
mov r8d, 3
lea rdx, [0x140146d88]
mov rcx, qword [rsp + 0x28]
call fcn.1400cfca0
test eax, eax
jne 0x140085eb2
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.0x140085efc.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.0x140085efc.0
movsxd rax, dword [rsp + 0x50]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x86a40]
mov eax, dword [rcx + rax*4 + 0x869dc]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
jmp case.0x140085efc.0
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
jmp case.0x140085efc.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.0x140085efc.0
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
jmp case.0x140085efc.0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x2a
jne 0x140085fba
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.140085b50
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140085f9e
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x3c], eax
jmp 0x140085fa6
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x3c], eax
jle 0x140085fb8
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x44], eax
jmp 0x140085fdf
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.1400d20e8
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
and eax, 0x18000
cmp eax, 0x18000
jne 0x140085ff9
mov eax, 1
jmp 0x1400869d5
jmp case.0x140085efc.0
mov eax, dword [rsp + 0x20]
or eax, 0x10
mov dword [rsp + 0x20], eax
jmp case.0x140085efc.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x140085efc.0
mov eax, dword [rsp + 0x20]
and eax, 0x20
test eax, eax
je 0x140086036
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp 0x140086041
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
jmp case.0x140085efc.0
mov eax, dword [rsp + 0x20]
bts eax, 7
mov dword [rsp + 0x20], eax
jmp case.0x140085efc.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x140085efc.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x140085efc.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x140085efc.0
mov eax, dword [rsp + 0x20]
and eax, 4
test eax, eax
jne case.0x140085efc.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.1400d20e8
mov dword [rsp + 0x34], eax
jmp case.0x140085efc.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.140085b50
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140086105
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x34], eax
jmp 0x14008610d
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jle 0x14008611f
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x44], eax
jmp case.0x140085efc.0
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
jmp 0x140085e2b
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14008614e
cmp dword [rsp + 0x24], 0x80
jl 0x140086158
mov eax, 1
jmp 0x1400869d5
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.0x140086198.70
movsxd rax, dword [rsp + 0x4c]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x86b00]
mov eax, dword [rcx + rax*4 + 0x86abc]
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 0x1400863ba
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 4
jmp 0x1400863ba
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 2
jmp 0x1400863ba
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
jmp 0x1400863ba
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 0x1400863ba
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 0x1400863ba
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 0x1400863ba
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 0x1400863ba
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 0x1400863ba
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
jmp 0x1400863ba
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 0x1400863ba
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 0x1400863ba
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 0x1400863ba
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 0x1400863ba
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 0x1400864b7
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x140086431
cmp dword [rsp + 0x38], 0x80
jl 0x14008643b
mov eax, 1
jmp 0x1400869d5
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 0x140086569
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1400864e3
cmp dword [rsp + 0x40], 0x80
jl 0x1400864ed
mov eax, 1
jmp 0x1400869d5
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 0x14008657f
mov dword [rsp + 0x54], 0
jmp 0x140086587
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 0x140085d85
mov dword [rsp + 0x24], 0
jmp 0x1400865cf
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x24], eax
jge 0x1400869d3
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 0x140086642
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 0x1400866a7
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.0x1400866e0.5
movsxd rax, dword [rsp + 0x58]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x86b34]
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.0x1400866e0.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.0x1400866e0.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 0x1400867cd
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 0x1400867cd
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 0x14008697a
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 0x140086824
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 0x14008697a
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 0x140086898
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 0x140086898
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 0x14008697a
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 0x1400868ef
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 0x14008697a
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 0x140086944
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 0x14008697a
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.0x1400866e0.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.0x1400866e0.5
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
jmp 0x1400865c5
xor eax, eax
add rsp, 0x78
ret