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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
movsx rax, word [rdx + 0x110]
mov rbx, rcx
mov r14, qword [rcx]
mov rbp, rax
mov ecx, dword [rdx + 0x34]
mov r15, rdx
mov edi, dword [rdx + 0x38]
mov eax, dword [rdx + 0x80]
add edi, ecx
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x90], eax
test ecx, ecx
jne 0x14014910b
test edi, edi
jle 0x14014910b
inc edi
mov eax, dword [rbx + 0x90]
lea ecx, [rax + rax*2]
mov eax, dword [rdx + 0x3c]
shl ecx, 3
lea rdx, [rsp + 0x90]
sub eax, ecx
movsxd r13, ecx
add r13, qword [rbx + 0x88]
mov rcx, rbx
movsxd r12, eax
and r12, 0xfffffffffffffff8
call fcn.14010add0
xor r9d, r9d
mov r10d, 0x80
cmp byte [r15 + 0x20], r9b
je 0x140149155
mov ecx, r10d
cmp byte [r15 + 0x21], r9b
jne 0x140149158
mov ecx, r9d
mov eax, dword [rbx + 0xc8]
btr eax, 7
or eax, ecx
mov dword [rbx + 0xc8], eax
cmp byte [r15 + 0x113], r9b
je 0x14014917d
mov ecx, 0xa
cmp edi, ecx
cmovl edi, ecx
and eax, 0xfffffffc
mov rcx, r9
mov dword [rbx + 0xc8], eax
movsxd rax, edi
imul rax, rax, 0x38
mov qword [rsp + 0x98], rax
cmp rax, r12
jg 0x1401491a6
mov rcx, r12
sub rcx, rax
add rcx, r13
mov r8, r12
mov qword [rbx + 0x68], rcx
sub r8, rax
mov rsi, r9
cmp rax, r12
mov rcx, r9
cmovg r8, r12
cmovg rsi, rax
imul rax, rbp, 0x38
mov qword [rsp + 0x20], rax
cmp rax, r8
jg 0x1401491da
mov rcx, r13
sub rcx, rax
add rcx, r8
jmp 0x1401491dd
add rsi, rax
movsxd r12, dword [rsp + 0x90]
mov rdx, r8
sub rdx, rax
mov qword [rbx + 0x80], rcx
cmp rax, r8
mov rax, r9
cmovg rdx, r8
shl r12, 3
cmp r12, rdx
jg 0x140149210
mov rax, rdx
sub rax, r12
add rax, r13
jmp 0x140149213
add rsi, r12
movsxd r8, dword [rsp + 0x88]
mov rcx, rdx
sub rcx, r12
mov qword [rbx + 0x70], rax
cmp r12, rdx
mov rax, r9
cmovg rcx, rdx
mov rdx, r8
shl rdx, 3
mov qword [rsp + 0x90], rdx
cmp rdx, rcx
jg 0x14014924e
mov rax, rcx
sub rax, rdx
add rax, r13
jmp 0x140149251
add rsi, rdx
mov qword [rbx + 0x78], rax
test rsi, rsi
je 0x14014931a
mov rdx, rsi
mov rcx, r14
call fcn.140119d40
mov qword [rbx + 0xf8], rax
mov rcx, rax
cmp byte [r14 + 0x61], 0
jne 0x140149301
mov rax, qword [rbx + 0x68]
test rax, rax
jne 0x14014929b
mov rdx, qword [rsp + 0x98]
cmp rdx, rsi
jg 0x14014929b
sub rsi, rdx
lea rax, [rsi + rcx]
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x1401492bc
mov rdx, qword [rsp + 0x20]
cmp rdx, rsi
jg 0x1401492bc
sub rsi, rdx
lea rax, [rsi + rcx]
mov qword [rbx + 0x80], rax
mov rax, qword [rbx + 0x70]
test rax, rax
jne 0x1401492d8
cmp r12, rsi
jg 0x1401492d8
sub rsi, r12
lea rax, [rsi + rcx]
mov rdx, qword [rsp + 0x90]
mov qword [rbx + 0x70], rax
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x1401492fb
cmp rdx, rsi
jg 0x1401492fb
mov rax, rcx
sub rax, rdx
add rax, rsi
mov qword [rbx + 0x78], rax
jmp 0x140149309
mov rdx, qword [rsp + 0x90]
mov r8d, dword [rsp + 0x88]
mov r10d, 0x80
xor r9d, r9d
mov rax, qword [r15 + 0x128]
mov esi, 1
mov qword [rbx + 0xb0], rax
movzx eax, byte [r15 + 0x113]
shl eax, 2
mov qword [r15 + 0x128], r9
xor eax, dword [rbx + 0xc8]
and eax, 0xc
xor dword [rbx + 0xc8], eax
cmp byte [r14 + 0x61], 0
je 0x140149364
mov word [rbx + 0x20], r9w
mov qword [rbx + 0x28], 0
jmp 0x1401493d7
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x2c], r8d
mov word [rbx + 0x20], bp
test ebp, ebp
jle 0x140149395
add rax, 8
nop dword [rax + rax]
dec ebp
mov qword [rax + 0x20], r14
mov word [rax], si
mov dword [rax + 0x18], r9d
lea rax, [rax + 0x38]
test ebp, ebp
jg 0x140149380
mov rax, qword [rbx + 0x68]
mov dword [rbx + 0x28], edi
test edi, edi
jle 0x1401493c6
add rax, 8
nop dword [rax]
nop dword [rax + rax]
dec edi
mov qword [rax + 0x20], r14
mov word [rax], r10w
mov dword [rax + 0x18], r9d
lea rax, [rax + 0x38]
test edi, edi
jg 0x1401493b0
mov rcx, qword [rbx + 0x78]
mov r8, rdx
xor edx, edx
call fcn.140195ca0
xor r9d, r9d
mov dword [rbx + 0x24], 0x2df20da3
mov dword [rbx + 0x34], 0xffffffff
mov qword [rbx + 0x38], 0
mov word [rbx + 0xc2], 0xff02
mov dword [rbx + 0x30], esi
mov dword [rbx + 0x40], r9d
mov qword [rbx + 0x50], r9
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret