Function at 0x140085d40
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 0x1400865ab
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 0x1400865a6
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x25
jne 0x140085dc5
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x140085d75
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.140085b40
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x140085df9
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jle 0x140085e0b
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.140085bf0
movzx eax, al
test eax, eax
je 0x140086123
mov r8d, 3
lea rdx, [0x140146d84]
mov rcx, qword [rsp + 0x28]
call fcn.1400cfc90
test eax, eax
jne 0x140085e69
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.0x140085eec.0
mov r8d, 3
lea rdx, [0x140146d88]
mov rcx, qword [rsp + 0x28]
call fcn.1400cfc90
test eax, eax
jne 0x140085ea2
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.0x140085eec.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.0x140085eec.0
movsxd rax, dword [rsp + 0x50]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x86a30]
mov eax, dword [rcx + rax*4 + 0x869cc]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
jmp case.0x140085eec.0
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
jmp case.0x140085eec.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.0x140085eec.0
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
jmp case.0x140085eec.0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x2a
jne 0x140085faa
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.140085b40
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140085f8e
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x3c], eax
jmp 0x140085f96
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x3c], eax
jle 0x140085fa8
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x44], eax
jmp 0x140085fcf
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.1400d20d8
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
and eax, 0x18000
cmp eax, 0x18000
jne 0x140085fe9
mov eax, 1
jmp 0x1400869c5
jmp case.0x140085eec.0
mov eax, dword [rsp + 0x20]
or eax, 0x10
mov dword [rsp + 0x20], eax
jmp case.0x140085eec.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x140085eec.0
mov eax, dword [rsp + 0x20]
and eax, 0x20
test eax, eax
je 0x140086026
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp 0x140086031
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
jmp case.0x140085eec.0
mov eax, dword [rsp + 0x20]
bts eax, 7
mov dword [rsp + 0x20], eax
jmp case.0x140085eec.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x140085eec.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x140085eec.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x140085eec.0
mov eax, dword [rsp + 0x20]
and eax, 4
test eax, eax
jne case.0x140085eec.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.1400d20d8
mov dword [rsp + 0x34], eax
jmp case.0x140085eec.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.140085b40
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1400860f5
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x34], eax
jmp 0x1400860fd
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jle 0x14008610f
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x44], eax
jmp case.0x140085eec.0
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
jmp 0x140085e1b
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14008613e
cmp dword [rsp + 0x24], 0x80
jl 0x140086148
mov eax, 1
jmp 0x1400869c5
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.0x140086188.70
movsxd rax, dword [rsp + 0x4c]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x86af0]
mov eax, dword [rcx + rax*4 + 0x86aac]
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 0x1400863aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 4
jmp 0x1400863aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 2
jmp 0x1400863aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
jmp 0x1400863aa
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 0x1400863aa
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 0x1400863aa
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 0x1400863aa
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 0x1400863aa
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 0x1400863aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
jmp 0x1400863aa
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 0x1400863aa
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 0x1400863aa
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 0x1400863aa
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 0x1400863aa
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 0x1400864a7
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x140086421
cmp dword [rsp + 0x38], 0x80
jl 0x14008642b
mov eax, 1
jmp 0x1400869c5
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 0x140086559
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1400864d3
cmp dword [rsp + 0x40], 0x80
jl 0x1400864dd
mov eax, 1
jmp 0x1400869c5
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 0x14008656f
mov dword [rsp + 0x54], 0
jmp 0x140086577
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 0x140085d75
mov dword [rsp + 0x24], 0
jmp 0x1400865bf
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x24], eax
jge 0x1400869c3
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 0x140086632
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 0x140086697
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.0x1400866d0.5
movsxd rax, dword [rsp + 0x58]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x86b24]
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.0x1400866d0.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.0x1400866d0.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 0x1400867bd
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 0x1400867bd
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 0x14008696a
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 0x140086814
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 0x14008696a
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 0x140086888
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 0x140086888
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 0x14008696a
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 0x1400868df
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 0x14008696a
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 0x140086934
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 0x14008696a
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.0x1400866d0.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.0x1400866d0.5
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
jmp 0x1400865b5
xor eax, eax
add rsp, 0x78
ret