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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140055038]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp byte [rdx + 0x38], 0
lea rbp, [rdx + 0x3c]
mov rsi, rdx
lea r14, [rdx + 8]
mov rbx, rcx
jne 0x14001d7ae
mov byte [rdx + 0x38], 1
lea r8, [rdx + 0x24]
mov rdx, r14
mov r9, rbp
call fcn.14001e9b8
test al, al
je 0x14001d7bb
mov ecx, dword [rsi + 0x30]
mov edx, dword [rsi + 0x24]
add ecx, edx
cmp dword [r14], ecx
jle 0x14001d7c9
mov byte [rsi + 0x2cdc], 1
xor al, al
jmp 0x14001dabd
mov r10d, dword [rsi + 0x2c]
mov r13d, dword [rsi + 0x2cd8]
dec r10d
add r10d, edx
sub r13d, 0x10
cmp r10d, r13d
mov dword [rsp + 0x20], r10d
mov r11d, r13d
cmovl r11d, r10d
mov dword [rsp + 0x24], r11d
mov rdx, qword [rbx + 0xb8]
mov rcx, rbx
call fcn.14001f828
cmp qword [rbx + 0xc0], rax
mov r9, rax
mov qword [rbx + 0xb8], rax
seta cl
mov qword [rbx + 0xc0], rax
or byte [rbx + 0xc8], cl
mov ecx, dword [r14]
cmp ecx, r11d
jl 0x14001d85f
cmp ecx, r10d
jg 0x14001dabb
jne 0x14001d841
mov eax, dword [rsi + 0x28]
cmp dword [rsi + 0xc], eax
jge 0x14001dabb
cmp ecx, r13d
jl 0x14001d853
cmp byte [rsi + 0x2cde], 0
je 0x14001dab4
cmp ecx, dword [rsi + 0x2cd8]
jge 0x14001dab4
mov r10, qword [rbx + 0x2d90]
mov rcx, rbx
mov rdx, r10
sub rdx, r9
call fcn.14001f72c
cmp rax, 0x1004
ja 0x14001d89a
cmp r10, r9
je 0x14001d89a
call fcn.14001e1f4
mov rax, qword [rbx + 0x2fb0]
cmp qword [rbx + 0x2fc0], rax
jg 0x14001d7c2
mov r8, rbp
mov rdx, r14
call fcn.14001ca78
cmp eax, 0x100
jae 0x14001d8d3
mov rcx, qword [rbx + 0xb8]
mov rdx, qword [rbx + 0x2d98]
mov byte [rdx + rcx], al
inc qword [rbx + 0xb8]
mov r10d, dword [rsp + 0x20]
mov r11d, dword [rsp + 0x24]
jmp 0x14001d7f2
cmp eax, 0x106
jb 0x14001d9ee
lea r8d, [rax - 0x106]
mov rdx, r14
call fcn.14001cb40
lea r8, [rsi + 0x928]
mov rdx, r14
mov r15d, eax
call fcn.14001ca78
mov ebp, eax
mov eax, eax
cmp ebp, 4
jae 0x14001d911
lea rdi, [rbp + 1]
jmp 0x14001d9a4
and eax, 1
shr ebp, 1
dec ebp
or rax, 2
mov ecx, ebp
shl rax, cl
lea r12, [rax + 1]
mov rdi, r12
test ebp, ebp
je 0x14001d9a4
cmp ebp, 4
jb 0x14001d983
jbe 0x14001d96d
mov rcx, r14
cmp ebp, 0x24
jbe 0x14001d94a
call fcn.14001f788
mov rdi, rax
mov ecx, 0x44
jmp 0x14001d956
call fcn.14001f740
mov edi, eax
mov ecx, 0x24
sub ecx, ebp
lea edx, [rbp - 4]
shr rdi, cl
mov rcx, r14
call fcn.140012180
shl rdi, 4
add rdi, r12
lea r8, [rsi + 0x1214]
mov rdx, r14
call fcn.14001ca78
mov eax, eax
add rdi, rax
jmp 0x14001d9a4
mov rcx, r14
call fcn.14001f740
mov ecx, 0x20
mov edi, eax
sub ecx, ebp
mov edx, ebp
shr rdi, cl
mov rcx, r14
add rdi, r12
call fcn.140012180
cmp rdi, 0x100
jbe 0x14001d9c8
inc r15d
cmp rdi, 0x2000
jbe 0x14001d9c8
inc r15d
cmp rdi, 0x40000
jbe 0x14001d9c8
inc r15d
mov rdx, rdi
mov rcx, rbx
call fcn.14001c85c
mov r8, rdi
mov dword [rbx + 0xb0], r15d
mov edx, r15d
call fcn.14001c890
lea rbp, [rsi + 0x3c]
jmp 0x14001d8c4
cmp eax, 0x100
jne 0x14001da27
lea r8, [rsp + 0x28]
mov rdx, r14
mov rcx, rbx
call fcn.14001dfb8
test al, al
je 0x14001dabb
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14001e05c
test al, al
je 0x14001dabb
jmp 0x14001d8c4
cmp eax, 0x101
jne 0x14001da4f
mov edx, dword [rbx + 0xb0]
mov r10d, dword [rsp + 0x20]
mov r11d, dword [rsp + 0x24]
test edx, edx
je 0x14001d7f2
mov r8, qword [rbx + 0x88]
jmp 0x14001daa7
lea edx, [rax - 0x102]
mov r9d, edx
add r9, 0x11
lea r9, [rbx + r9*8]
mov rdi, qword [r9]
test edx, edx
je 0x14001da7b
sub edx, 1
mov rcx, qword [rbx + rdx*8 + 0x88]
mov qword [r9], rcx
lea r9, [r9 - 8]
jne 0x14001da67
lea r8, [rsi + 0x1b00]
mov qword [rbx + 0x88], rdi
mov rdx, r14
call fcn.14001ca78
mov r8d, eax
mov rdx, r14
call fcn.14001cb40
mov dword [rbx + 0xb0], eax
mov r8, rdi
mov edx, eax
mov rcx, rbx
call fcn.14001c890
jmp 0x14001d8c4
mov byte [rsi + 0x2cdf], 1
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140028990
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret