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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
movzx edi, byte [rdx + 0x24]
mov r15d, dword [rsp + 0xe0]
mov r13, qword [rcx + 0x10]
and edi, 1
mov eax, edi
mov rbx, rdx
mov rdx, qword [rdx]
xor eax, 1
mov r14d, r9d
movzx eax, al
mov qword [rsp + 0xc0], r8
mov r12, rcx
mov r9d, dword [rsp + 0xd0]
mov esi, dword [rdx]
mov dword [rsp + 0x48], eax
add eax, esi
add eax, dword [rsp + 0xd8]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x58], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x3c], eax
test r15d, r15d
je 0x1401e6ef0
mov ebp, r14d
sub ebp, r15d
mov rax, qword [rsp + 0xc0]
mov esi, dword [rax + 0xc]
test esi, esi
je 0x1401e6ee0
add esi, 1
mov eax, dword [r12 + 0x44]
mov r8d, ebp
mov rcx, r12
sub eax, 1
cmp r9d, 1
mov dword [r12 + 0x44], eax
mov dword [rbx + 0x1c], eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 5
mov dword [rsp + 0x20], eax
call fcn.1401e5000
test dil, dil
je 0x1401e6f08
test r15d, r15d
jne 0x1401e6c22
mov edx, dword [rsp + 0xd8]
test edx, edx
jg 0x1401e6d40
mov eax, dword [rsp + 0x3c]
test eax, eax
jg 0x1401e6d77
test esi, esi
je 0x1401e6e60
mov edi, dword [rsp + 0x3c]
mov eax, dword [r13 + 0x90]
xor r14d, r14d
add edi, ebp
mov r8d, esi
lea r9d, [rax + 4]
mov edx, 0x3b
mov rcx, r13
mov dword [rsp + 0x20], 0
mov r15d, dword [rbx + 0xc]
call fcn.140181750
xor r9d, r9d
mov r8d, r15d
mov edx, 0x1f
mov dword [rsp + 0x20], 0
mov rcx, r13
call fcn.140181750
mov eax, dword [rsp + 0x40]
sub eax, dword [rsp + 0x3c]
xor r9d, r9d
mov dword [rsp + 0x28], eax
mov r8d, r15d
mov edx, 0x27
mov rcx, r13
mov dword [rsp + 0x20], edi
call fcn.140182760
xor r9d, r9d
mov r8d, r15d
mov edx, 0x82
mov dword [rsp + 0x20], 0
mov rcx, r13
mov esi, eax
call fcn.140181750
test r14d, r14d
je 0x1401e6e68
movzx edx, byte [rbx + 0x24]
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], edi
mov r9d, r14d
sub eax, dword [rsp + 0x3c]
mov r8d, dword [rbx + 0xc]
mov rcx, r13
and edx, 1
mov dword [rsp + 0x28], eax
sub edx, 0x76
movzx edx, dl
call fcn.140182760
test esi, esi
je 0x1401e6d2b
mov edx, dword [rbx + 0x20]
test edx, edx
je 0x1401e7190
test esi, esi
jns 0x1401e6d13
mov eax, dword [r13 + 0x90]
lea esi, [rax - 1]
mov rcx, qword [r13]
lea rax, [0x140438260]
cmp byte [rcx + 0x67], 0
je 0x1401e7178
mov dword [rax + 8], edx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [rsp + 0xd8]
mov eax, dword [rsp + 0x40]
mov r8d, r14d
mov rcx, qword [r12 + 0x10]
mov dword [rsp + 0x20], edx
mov edx, dword [rsp + 0x48]
add eax, ebp
lea r9d, [rax + rdx]
mov edx, 0x4f
call fcn.140181750
mov eax, dword [rsp + 0x3c]
test eax, eax
jle 0x1401e6c2e
mov ecx, dword [r12 + 0x38]
mov rax, qword [rbx + 0x28]
mov r15d, dword [rbx + 8]
mov r11, qword [r12 + 0x10]
lea r14d, [rcx + 1]
mov dword [r12 + 0x38], r14d
test rax, rax
je 0x1401e6dc3
mov rcx, qword [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x50], r11
mov rdx, qword [rcx + 0x20]
movzx ecx, byte [rax + 4]
mov dword [rsp + 0x20], ecx
mov r8d, dword [rax]
mov rcx, r12
call fcn.1401e5000
mov r11, qword [rsp + 0x50]
mov r9d, dword [rsp + 0x58]
mov dword [rsp + 0x20], r14d
mov rcx, r11
lea r8d, [rbp + r15]
mov edx, 0x61
sub r9d, r15d
call fcn.140181750
mov eax, dword [r12 + 0x38]
mov r11d, dword [rbx + 8]
lea ecx, [rax + 1]
add eax, r11d
mov dword [rsp + 0x50], ecx
mov dword [r12 + 0x38], eax
test dil, dil
jne 0x1401e6f30
mov eax, dword [rsp + 0x40]
mov edi, dword [r13 + 0x90]
lea r8d, [rbp + rax]
cmp edi, dword [r13 + 0x94]
jge 0x1401e71f8
lea eax, [rdi + 1]
mov dword [r13 + 0x90], eax
movsxd rax, edi
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], r8d
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x10
mov eax, r11d
jmp 0x1401e6f81
mov eax, dword [rsp + 0x3c]
lea edi, [rbp + rax]
mov ecx, dword [r12 + 0x38]
mov rax, qword [rbx + 0x28]
mov r15d, dword [rbx + 8]
mov r11, qword [r12 + 0x10]
lea r14d, [rcx + 1]
mov dword [r12 + 0x38], r14d
test rax, rax
je 0x1401e6eb4
mov rcx, qword [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x40], r11
mov rdx, qword [rcx + 0x20]
movzx ecx, byte [rax + 4]
mov dword [rsp + 0x20], ecx
mov r8d, dword [rax]
mov rcx, r12
call fcn.1401e5000
mov r11, qword [rsp + 0x40]
mov r9d, dword [rsp + 0x58]
mov dword [rsp + 0x20], r14d
lea r8d, [rbp + r15]
mov rcx, r11
mov edx, 0x61
sub r9d, r15d
call fcn.140181750
jmp 0x1401e6cca
mov rax, qword [rsp + 0xc0]
mov esi, dword [rax + 8]
jmp 0x1401e6bda
mov eax, dword [rcx + 0x38]
lea ebp, [rax + 1]
add eax, dword [rsp + 0x58]
mov dword [rcx + 0x38], eax
jmp 0x1401e6bc4
mov eax, dword [rsp + 0x40]
mov r8d, dword [rbx + 0xc]
mov edx, 0x7e
mov rcx, r13
mov dword [rsp + 0x20], 0
lea r9d, [rbp + rax]
call fcn.140181750
jmp 0x1401e6c0e
mov r8d, dword [rbx + 0xc]
mov edi, dword [r13 + 0x90]
cmp edi, dword [r13 + 0x94]
jge 0x1401e71c8
lea eax, [rdi + 1]
mov dword [r13 + 0x90], eax
movsxd rax, edi
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], r8d
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x78
mov eax, r11d
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x50]
mov r9d, ebp
mov rcx, r13
mov edx, 0x5a
mov dword [rsp + 0x5c], r11d
call fcn.140181750
mov eax, dword [rbx + 0x18]
mov r11d, dword [rsp + 0x5c]
test eax, eax
jns 0x1401e6fb5
mov eax, dword [r13 + 0x90]
sub eax, 1
mov rdx, qword [r13]
lea r15, [0x140438260]
cmp byte [rdx + 0x67], 0
jne 0x1401e6fd7
cdqe
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
lea r15, [rax + rdx*8]
mov rax, qword [r12]
cmp byte [rax + 0x67], 0
jne 0x1401e6d2b
mov eax, dword [rsp + 0x40]
xor edx, edx
sub eax, r11d
mov r11, qword [r15 + 0x10]
add eax, dword [rsp + 0x48]
add eax, dword [rsp + 0xd8]
mov rcx, qword [r11 + 0x18]
movzx r8d, word [r11 + 6]
mov dword [r15 + 8], eax
mov qword [rsp + 0x48], r11
call sub.msvcrt.dll_memset
mov r11, qword [rsp + 0x48]
mov edx, 0xffffffff
mov rcx, r13
mov r9d, 0xfffffff8
mov r8, r11
call fcn.140176120
mov r11, qword [rsp + 0x48]
mov rdx, qword [rbx]
mov rcx, r12
mov r8d, dword [rsp + 0x3c]
movzx r9d, word [r11 + 8]
movzx eax, word [r11 + 6]
sub r9d, eax
sub r9d, 1
call fcn.14018bf60
xor r9d, r9d
mov edx, 0xd
mov rcx, r13
mov qword [r15 + 0x10], rax
mov r15d, dword [r13 + 0x90]
lea r8d, [r15 + 1]
mov dword [rsp + 0x20], r8d
call fcn.140181750
mov eax, dword [r12 + 0x44]
mov edx, 9
mov rcx, r13
mov dword [rsp + 0x20], 0
lea r9d, [rax - 1]
mov eax, dword [r12 + 0x38]
mov dword [r12 + 0x44], r9d
lea r8d, [rax + 1]
mov dword [rbx + 0x14], r9d
mov dword [r12 + 0x38], r8d
mov dword [rbx + 0x10], r8d
call fcn.140181750
mov r8d, dword [rbx + 0xc]
xor r9d, r9d
mov rcx, r13
mov dword [rsp + 0x20], 0
mov edx, 0x92
call fcn.140181750
test esi, esi
jne 0x1401e71a0
mov eax, dword [r13 + 0x90]
mov rcx, qword [r13]
test edi, edi
lea edx, [rax - 1]
cmovs edi, edx
cmp byte [rcx + 0x67], 0
lea rdx, [0x140438260]
jne 0x1401e7108
mov rdx, qword [r13 + 0x88]
movsxd rdi, edi
lea rcx, [rdi + rdi*2]
lea rdx, [rdx + rcx*8]
mov rcx, qword [r12 + 0x10]
mov r9d, dword [rsp + 0x50]
mov dword [rdx + 8], eax
mov r8d, ebp
mov eax, dword [rbx + 8]
mov edx, 0x4f
mov dword [rsp + 0x20], eax
call fcn.140181750
mov eax, dword [r13 + 0x90]
mov rcx, qword [r13]
test r15d, r15d
lea edx, [rax - 1]
cmovs r15d, edx
cmp byte [rcx + 0x67], 0
lea rdx, [0x140438260]
jne 0x1401e715d
mov rdx, qword [r13 + 0x88]
movsxd r15, r15d
lea rcx, [r15 + r15*2]
lea rdx, [rdx + rcx*8]
mov edi, dword [rsp + 0x3c]
mov dword [rdx + 8], eax
add edi, ebp
test esi, esi
je 0x1401e6cc1
jmp 0x1401e6c46
mov rax, qword [r13 + 0x88]
movsxd rsi, esi
lea rcx, [rsi + rsi*2]
lea rax, [rax + rcx*8]
jmp 0x1401e6d28
mov edx, dword [r13 + 0x90]
jmp 0x1401e6d05
mov r9d, dword [rbx + 0x1c]
mov r8d, esi
mov edx, 0x10
mov rcx, r13
mov dword [rsp + 0x20], 0
call fcn.140181750
jmp 0x1401e70d6
mov dword [rsp + 0x5c], r11d
xor r9d, r9d
mov edx, 0x78
mov dword [rsp + 0x20], 0
mov rcx, r13
call fcn.1401816c0
mov r11d, dword [rsp + 0x5c]
mov edi, eax
mov eax, dword [rbx + 8]
jmp 0x1401e6f81
mov dword [rsp + 0x5c], r11d
xor r9d, r9d
mov edx, 0x10
mov dword [rsp + 0x20], 0
jmp 0x1401e71dd