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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x18]
and eax, 0x40
test eax, eax
jne 0x140031383
mov rcx, qword [rsp + 0xb0]
call fcn.1400213f0
cmp eax, 0xffffffff
je 0x140031220
mov rcx, qword [rsp + 0xb0]
call fcn.1400213f0
cmp eax, 0xfffffffe
je 0x140031220
mov rcx, qword [rsp + 0xb0]
call fcn.1400213f0
sar eax, 5
cdqe
mov qword [rsp + 0x90], rax
lea rcx, [0x1400bc340]
mov qword [rsp + 0x80], rcx
mov rcx, qword [rsp + 0xb0]
call fcn.1400213f0
and eax, 0x1f
cdqe
imul rax, rax, 0x58
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x90]
add rax, qword [rdx + rcx*8]
mov qword [rsp + 0x70], rax
jmp 0x14003122c
lea rax, [0x1400b9d40]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x38]
shl al, 1
sar al, 1
movsx eax, al
test eax, eax
je 0x140031383
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 8]
dec eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 8], ecx
cmp dword [rsp + 0x40], 0
jl 0x1400312a7
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsx eax, byte [rax]
and eax, 0xff
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
jmp 0x1400312b8
mov rcx, qword [rsp + 0xb0]
call fcn.140029ea0
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x1400312d1
mov eax, 0xffff
jmp 0x140031650
mov rax, qword [rsp + 0x60]
movzx ecx, byte [rsp + 0x20]
mov byte [rax], cl
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 8]
dec eax
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 8], ecx
cmp dword [rsp + 0x44], 0
jl 0x140031343
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsx eax, byte [rax]
and eax, 0xff
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
jmp 0x140031354
mov rcx, qword [rsp + 0xb0]
call fcn.140029ea0
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14003136d
mov eax, 0xffff
jmp 0x140031650
mov rax, qword [rsp + 0x60]
movzx ecx, byte [rsp + 0x20]
mov byte [rax], cl
movzx eax, word [rsp + 0x30]
jmp 0x140031650
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x18]
and eax, 0x40
test eax, eax
jne 0x1400315e2
mov rcx, qword [rsp + 0xb0]
call fcn.1400213f0
cmp eax, 0xffffffff
je 0x140031417
mov rcx, qword [rsp + 0xb0]
call fcn.1400213f0
cmp eax, 0xfffffffe
je 0x140031417
mov rcx, qword [rsp + 0xb0]
call fcn.1400213f0
sar eax, 5
cdqe
mov qword [rsp + 0x98], rax
lea rcx, [0x1400bc340]
mov qword [rsp + 0x88], rcx
mov rcx, qword [rsp + 0xb0]
call fcn.1400213f0
and eax, 0x1f
cdqe
imul rax, rax, 0x58
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x98]
add rax, qword [rdx + rcx*8]
mov qword [rsp + 0x68], rax
jmp 0x140031423
lea rax, [0x1400b9d40]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movsx eax, byte [rax + 8]
and eax, 0x80
test eax, eax
je 0x1400315e2
mov dword [rsp + 0x3c], 1
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 8]
dec eax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 8], ecx
cmp dword [rsp + 0x4c], 0
jl 0x14003149a
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsx eax, byte [rax]
and eax, 0xff
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
jmp 0x1400314ab
mov rcx, qword [rsp + 0xb0]
call fcn.140029ea0
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x1400314c4
mov eax, 0xffff
jmp 0x140031650
mov eax, 1
imul rax, rax, 0
movzx ecx, byte [rsp + 0x24]
mov byte [rsp + rax + 0x28], cl
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x28]
mov ecx, eax
call fcn.1400298a0
test eax, eax
je 0x1400315ad
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 8]
dec eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x48]
mov dword [rax + 8], ecx
cmp dword [rsp + 0x48], 0
jl 0x14003154c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsx eax, byte [rax]
and eax, 0xff
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
jmp 0x14003155d
mov rcx, qword [rsp + 0xb0]
call fcn.140029ea0
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x140031593
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x28]
mov rdx, qword [rsp + 0xb0]
mov ecx, eax
call fcn.140050cb0
mov eax, 0xffff
jmp 0x140031650
mov eax, 1
imul rax, rax, 1
movzx ecx, byte [rsp + 0x24]
mov byte [rsp + rax + 0x28], cl
mov dword [rsp + 0x3c], 2
movsxd rax, dword [rsp + 0x3c]
mov r8, rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x34]
call fcn.140051be0
cmp eax, 0xffffffff
jne 0x1400315db
call fcn.1400196b0
mov dword [rax], 0x2a
mov eax, 0xffff
jmp 0x140031650
movzx eax, word [rsp + 0x34]
jmp 0x140031650
mov rax, qword [rsp + 0xb0]
movsxd rax, dword [rax + 8]
sub rax, 2
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x78]
mov dword [rax + 8], ecx
cmp dword [rsp + 0x78], 0
jl 0x140031643
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movzx eax, word [rax]
mov word [rsp + 0x2c], ax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
add rax, 2
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
movzx eax, word [rsp + 0x2c]
jmp 0x140031650
mov rcx, qword [rsp + 0xb0]
call fcn.140051c10
add rsp, 0xa8
ret