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

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x50], 1
lea rax, [0x1401ac6ca]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xae
je 0x1401166a9
cmp dword [rsp + 0x38], 0xb5
jne 0x1401166bf
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x88], rax
jmp 0x140116686
cmp dword [rsp + 0x38], 0xb0
jne 0x1401166d9
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 2]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x24
jne 0x140116797
xor edx, edx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 8]
call fcn.1400d78c0
mov byte [rsp + 0x3c], al
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
movzx r9d, byte [rsp + 0x3c]
movzx r8d, byte [rsp + 0x90]
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x80]
call fcn.140116640
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xa0]
cmp qword [rax], 0
je 0x14011678e
movzx r8d, byte [rsp + 0x90]
movzx edx, byte [rsp + 0x3c]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.1400edbc0
movzx r8d, byte [rsp + 0x90]
movzx edx, byte [rsp + 0x98]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.1400d3270
mov eax, dword [rsp + 0x40]
jmp 0x140116c22
cmp dword [rsp + 0x38], 0xad
jne 0x140116804
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
movzx eax, byte [rax]
cmp eax, 0x9b
je 0x1401167cd
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
movzx eax, byte [rax]
cmp eax, 0x99
jne 0x140116804
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x50], 0xffffffff
lea rax, [0x1401a5308]
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0x38], 0x75
je 0x140116823
cmp dword [rsp + 0x38], 0x99
je 0x140116823
cmp dword [rsp + 0x38], 0x9b
jne 0x140116972
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x80]
call fcn.140116610
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14011684a
jmp 0x140116bf4
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
and eax, 0x800
test eax, eax
je 0x140116882
mov rax, qword [rsp + 0x88]
movsxd rax, dword [rax + 8]
movsxd rcx, dword [rsp + 0x50]
imul rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.1400ed2a0
jmp 0x1401168dc
mov rax, qword [rsp + 0x88]
mov r9, qword [rax + 8]
mov r8, qword [rsp + 0x60]
lea rdx, str._s_s
mov rcx, qword [rsp + 0x80]
call fcn.1400a4d50
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1401168b9
jmp 0x140116bf4
lea rax, [fcn.1400d9380]
mov qword [rsp + 0x20], rax
mov r9b, 1
mov r8, qword [rsp + 0x48]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x30]
call fcn.1400d2fd0
cmp dword [rsp + 0x38], 0x9b
je 0x1401168f0
cmp dword [rsp + 0x38], 0x99
jne 0x14011690e
movzx eax, byte [rsp + 0x98]
cmp eax, 0x41
jne 0x14011690e
mov r8b, 1
mov dl, 0x43
mov rcx, qword [rsp + 0x30]
call fcn.1400d3270
jmp 0x140116923
mov r8b, 1
movzx edx, byte [rsp + 0x98]
mov rcx, qword [rsp + 0x30]
call fcn.1400d3270
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
and eax, 0x2c
test eax, eax
je 0x140116948
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
and eax, 0xfffffffd
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
movzx eax, byte [rsp + 0x90]
cmp eax, 1
je 0x14011696d
movzx eax, byte [rsp + 0x90]
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.1400ecc70
mov dword [rsp + 0x40], eax
jmp 0x140116bde
cmp dword [rsp + 0x38], 0xad
jne 0x140116a7f
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
movzx r9d, byte [rsp + 0x98]
movzx r8d, byte [rsp + 0x90]
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x80]
call fcn.140116640
test eax, eax
jne 0x140116a7a
cmp qword [rsp + 0x30], 0
je 0x140116a7a
mov rcx, qword [rsp + 0x30]
call fcn.1400edab0
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
and eax, 8
test eax, eax
je 0x140116a0b
mov rax, qword [rsp + 0x30]
movsd xmm0, qword [rax]
xorps xmm0, xmmword [0x14017a420]
mov rax, qword [rsp + 0x30]
movsd qword [rax], xmm0
jmp 0x140116a5f
mov rax, qword [rsp + 0x30]
movabs rcx, 0x8000000000000000
cmp qword [rax], rcx
jne 0x140116a4c
mov rax, qword [rsp + 0x30]
movsd xmm0, qword [0x14017a3c0]
movsd qword [rax], xmm0
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
and eax, 0xfffff240
or eax, 8
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
jmp 0x140116a5f
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
neg rax
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
movzx r8d, byte [rsp + 0x90]
movzx edx, byte [rsp + 0x98]
mov rcx, qword [rsp + 0x30]
call fcn.1400d3270
jmp 0x140116bde
cmp dword [rsp + 0x38], 0x79
jne 0x140116abc
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x80]
call fcn.140116610
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140116aad
jmp 0x140116bf4
mov rcx, qword [rsp + 0x30]
call fcn.1400ed440
jmp 0x140116bde
cmp dword [rsp + 0x38], 0x9a
jne 0x140116b68
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x80]
call fcn.140116610
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140116af1
jmp 0x140116bf4
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
add rax, qword [rcx + 8]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400a3cb0
dec eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
cdq
sub eax, edx
sar eax, 1
cdqe
mov qword [rsp + 0x68], rax
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
call fcn.1400d1f10
lea rcx, [fcn.1400d9380]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov rcx, qword [rsp + 0x68]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.1400ecf70
jmp 0x140116bde
cmp dword [rsp + 0x38], 0xaa
jne 0x140116bde
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x80]
call fcn.140116610
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140116bde
mov eax, 4
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x140116bc9
mov dword [rsp + 0x58], 1
jmp 0x140116bd1
mov dword [rsp + 0x58], 0
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov eax, dword [rsp + 0x40]
jmp 0x140116c22
mov rcx, qword [rsp + 0x80]
call fcn.1400d92c0
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
call fcn.1400a46a0
mov rcx, qword [rsp + 0x30]
call fcn.1400d3050
mov eax, 7
add rsp, 0x78
ret