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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14019ac40]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12d, dword [rcx + 0x24]
cmp r12d, dword [rcx + 0x20]
jne 0x140113823
mov rax, qword [rdi]
test rax, rax
je 0x1401137bc
and byte [rax + 0xec], 0xbf
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov dword [rsi + 0x10], 0
movzx eax, byte [rdi + 0x40]
and eax, 1
mov word [rsi + 0x12], ax
mov dl, byte [rdi + 0x40]
lea ecx, [rax + 2]
test dl, 6
mov ebp, eax
cmovne ebp, ecx
mov word [rsi + 0x12], bp
cmp dword [rdi + 0x24], 0
jne 0x1401137f9
test dl, 6
cmove ecx, eax
or ecx, 0x10
mov word [rsi + 0x12], cx
mov rdi, qword [rdi + 0x10]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14016a260
mov rcx, rdi
mov rdx, rsi
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.1400ed5f0
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
mov r14, qword [rax + 0x58]
lea eax, [r12 + 1]
mov dword [rdi + 0x24], eax
lea rax, [r12 + r12*2]
mov rdx, qword [rcx + rax*8 + 0x10]
mov qword [rsi + 0x10], rdx
movups xmm0, xmmword [rcx + rax*8]
movups xmmword [rsi], xmm0
test byte [rdi + 0x40], 0x20
je 0x140113855
or byte [rsi + 0x13], 8
mov eax, dword [rdi + 0x20]
mov edx, dword [rdi + 0x24]
mov r15b, 1
cmp edx, eax
je 0x1401138e7
cmp qword [rdi], 0
je 0x1401138e7
mov rcx, qword [rdi + 0x18]
lea r9, [rdx + rdx*2]
movzx ebx, word [rcx + r9*8 + 0x10]
cmp bx, 0x43
jne 0x1401138ad
lea r9, [rdi + 0x24]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.140112a70
mov bl, 1
test al, al
jne 0x140113a3e
xor r15d, r15d
jmp 0x1401138e7
mov rdx, qword [rdi + 0x10]
mov rdx, qword [rdx + 0x38]
test byte [rdx], 0x10
je 0x1401138e7
cmp word [rsi + 0x10], 5
jne 0x1401138e7
mov rdx, qword [rsi + 8]
mov r8, qword [rdx + 0x10]
cmp dword [r8], 1
jne 0x1401138e7
add ebx, 0xfffffff9
cmp bx, 0xb
ja 0x1401138e7
cmp byte [r8 + 0x10], 0x4c
jne 0x1401138e7
test byte [rcx + r9*8 + 0x13], 1
jne 0x140113880
mov r9d, dword [rdi + 0x28]
test r9d, r9d
je 0x140113988
mov ecx, dword [rdi + 0x34]
mov r8d, dword [rsi]
mov eax, r8d
and eax, 0x7fffffff
mov edx, dword [r14 + 0xe4]
xor ebx, ebx
cmp eax, edx
setae bl
cmp edx, ecx
seta dl
xor dl, bl
xor ebp, ebp
cmp eax, ecx
setb bpl
test dl, dl
cmovne ebx, ebp
cmp bl, 1
jne 0x140113988
cmp word [rsi + 0x10], 4
jne 0x140113966
mov eax, dword [rsi + 4]
mov ecx, dword [rdi + 0x2c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x30], 1
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.140059df0
mov ecx, dword [rsp + 0x48]
jmp 0x140113986
mov edx, 0x7fffffff
and edx, dword [rdi + 0x38]
mov ecx, eax
sub ecx, edx
mov ebp, dword [rdi + 0x3c]
add ebp, edx
xor ebx, ebx
cmp eax, ebp
cmovae ecx, ebx
cmp eax, edx
cmovb ecx, ebx
add ecx, dword [rdi + 0x30]
mov dword [rsi], ecx
mov cl, byte [rdi + 0x40]
test r12d, r12d
je 0x1401139a7
test cl, 1
je 0x14011399c
or byte [rsi + 0x12], 1
mov cl, byte [rdi + 0x40]
test cl, 2
je 0x1401139d1
or byte [rsi + 0x12], 2
jmp 0x1401139d1
movzx eax, word [rsi + 0x12]
mov edx, eax
or edx, 1
and eax, 0xfffffffe
test cl, 1
cmovne eax, edx
mov word [rsi + 0x12], ax
test byte [rdi + 0x40], 2
jne 0x1401139ca
and eax, 0xfffd
jmp 0x1401139cd
or eax, 2
mov word [rsi + 0x12], ax
and byte [rdi + 0x40], 0xfc
movzx ecx, word [rsi + 0x10]
call fcn.140066be0
mov bl, 1
test al, al
jne 0x140113a3e
mov eax, dword [rsi + 0x10]
cmp ax, 1
je 0x140113a3e
add eax, 0xfffffff9
cmp ax, 0xc
jb 0x140113a3e
mov rbp, qword [rsi + 8]
test rbp, rbp
je 0x140113a3e
movzx eax, word [rbp]
and eax, 0x1ff
mov word [rsi + 0x10], ax
test byte [rbp + 3], 0x10
sete al
or r15b, al
jne 0x140113a24
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call fcn.1400dfd30
test byte [rdi + 0x40], 0x10
jne 0x140113a3e
test byte [rbp + 3], 0x40
je 0x140113a3e
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call fcn.1400e00e0
mov ebx, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14016a260
mov eax, ebx
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret