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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x38
mov rdi, qword [rdx + 0x18]
mov r10, qword [rcx]
mov r12d, r8d
mov r8d, dword [rcx + 0x54]
mov r14, rdx
mov rsi, rcx
lea r13d, [r8 + 1]
mov qword [rsp + 0x88], rdi
mov ebx, 0xfff0bdc0
lea eax, [r13 + 1]
mov dword [rsp + 0x70], r8d
mov dword [rsp + 0x78], r13d
mov dword [rcx + 0x54], eax
mov r9, qword [rdx + 0x30]
test r9, r9
je 0x1400d0705
movsxd rdx, dword [r10 + 0x28]
xor ebx, ebx
xor ecx, ecx
test rdx, rdx
jle 0x1400d0705
mov rax, qword [r10 + 0x20]
add rax, 0x18
cmp qword [rax], r9
je 0x1400d0705
inc rcx
inc ebx
add rax, 0x20
cmp rcx, rdx
jl 0x1400d06f2
mov rax, qword [r10 + 0x20]
mov r8, qword [r14]
xor r9d, r9d
movsxd rcx, ebx
lea edx, [r9 + 0x1b]
shl rcx, 5
mov rcx, qword [rcx + rax]
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call fcn.1400cc430
test eax, eax
jne 0x1400d0b75
mov rax, qword [rdi]
mov r8d, dword [rdi + 0x3c]
mov r9b, 1
mov edx, ebx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.1400cc4f0
mov rcx, rsi
call fcn.1400e9f90
mov rdi, rax
test rax, rax
je 0x1400d0b75
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x30], r15
test r12d, r12d
js 0x1400d0777
mov ebp, r12d
jmp 0x1400d0796
mov ebp, dword [r14 + 0x48]
mov r9d, ebx
mov edx, 0x67
mov rcx, rax
mov r8d, ebp
mov dword [rsp + 0x20], 0
call fcn.1400b0840
mov rdx, r14
mov rcx, rsi
call fcn.1400d2fa0
mov r9d, ebp
mov r8d, r13d
mov edx, 0x28
mov rcx, rdi
mov dword [rsp + 0x20], ebx
mov r15, rax
call fcn.1400b0840
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
test r8, r8
je 0x1400d0810
cmp byte [rcx + 0x50], 0
jne 0x1400d0810
test eax, eax
jns 0x1400d07d6
mov eax, dword [rdi + 0x34]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbp, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbp + 0x10]
call fcn.1400b0d20
xor edx, edx
mov qword [rbp + 0x10], rdx
test r15, r15
jne 0x1400d0803
mov qword [rbp + 0x10], rdx
mov byte [rbp + 1], dl
jmp 0x1400d081f
mov qword [rbp + 0x10], r15
mov byte [rbp + 1], 0xfa
jmp 0x1400d081f
mov r8, r15
mov edx, 0xfffffff0
call fcn.1400b0d20
xor edx, edx
mov r8, qword [rdi + 8]
mov eax, 2
test r8, r8
je 0x1400d0843
test r12d, r12d
cmovns edx, eax
movsxd rax, dword [rdi + 0x34]
lea rcx, [rax + rax*2]
or dl, 1
mov byte [r8 + rcx*8 - 0x15], dl
mov r13d, dword [rsi + 0x54]
xor r12d, r12d
xor r9d, r9d
lea eax, [r13 + 1]
lea edx, [r12 + 0x2b]
mov r8d, r13d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
mov dword [rsi + 0x54], eax
call fcn.1400b0840
lea r9d, [r12 - 6]
mov r8, r15
mov edx, eax
mov rcx, rdi
call fcn.1400b0ee0
mov r15d, dword [rsp + 0x70]
mov r9, qword [rsp + 0x88]
mov edx, r15d
mov r8d, ebx
mov rcx, rsi
mov dword [rsp + 0x20], 0x27
call fcn.1400dbfa0
lea edx, [r12 + 0x48]
xor r9d, r9d
mov r8d, r15d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.1400b0840
mov ebx, eax
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x1400d08c8
inc dword [rsi + 0x58]
mov ebp, dword [rsi + 0x58]
jmp 0x1400d08d4
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov ebp, dword [rsi + rax*4 + 0x28]
mov r9d, ebp
mov r8d, r15d
mov rdx, r14
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.1400d4e90
mov r9d, ebp
mov r8d, r13d
mov edx, 0x60
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.1400b0840
lea r9d, [rbx + 1]
mov r8d, r15d
mov edx, 0x5f
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.1400b0840
test ebx, ebx
js 0x1400d0935
mov edx, dword [rdi + 0x34]
cmp edx, ebx
jbe 0x1400d0935
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
xor r9d, r9d
mov r8d, r13d
mov rcx, rdi
lea edx, [r9 + 0x46]
mov dword [rsp + 0x20], r12d
call fcn.1400b0840
mov r15d, eax
cmp byte [r14 + 0x4e], r12b
je 0x1400d0a63
mov ebx, dword [rdi + 0x34]
xor r8d, r8d
mov rcx, rdi
lea r9d, [rbx + 3]
lea edx, [r8 + 1]
mov dword [rsp + 0x20], r12d
call fcn.1400b0840
mov r12d, dword [rdi + 0x34]
lea r9d, [rbx + 3]
mov r8d, r13d
mov edx, 0x3d
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.1400b0840
mov rcx, rsi
call fcn.1400e9f90
mov rcx, qword [rsi + 0x1d0]
mov rdx, rsi
test rcx, rcx
mov rbx, rax
cmovne rdx, rcx
mov byte [rdx + 0x24], 1
movsxd r14, dword [rax + 0x34]
cmp dword [rax + 0x38], r14d
jg 0x1400d09ce
mov rcx, rax
call fcn.1400b07a0
test eax, eax
je 0x1400d09ce
mov r14d, 1
jmp 0x1400d09fc
inc dword [rbx + 0x34]
mov rax, qword [rbx + 8]
lea rcx, [r14 + r14*2]
xor edx, edx
mov word [rax + rcx*8], 6
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 0x813
mov qword [rax + rcx*8 + 8], 2
mov qword [rax + rcx*8 + 0x10], rdx
mov r8, qword [rbx + 8]
mov rcx, qword [rbx]
test r8, r8
je 0x1400d0a50
cmp byte [rcx + 0x50], 0
jne 0x1400d0a50
test r14d, r14d
jns 0x1400d0a1a
mov r14d, dword [rbx + 0x34]
dec r14d
movsxd rax, r14d
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.1400b0d20
lea r8, [0x1401dfff0]
mov byte [rbx + 1], 0xfe
mov qword [rbx + 0x10], r8
jmp 0x1400d0a67
lea r8, [0x1401dfff0]
mov edx, 0xfffffffe
call fcn.1400b0d20
jmp 0x1400d0a67
mov r12d, dword [rdi + 0x34]
xor r14d, r14d
mov r9d, ebp
mov r8d, r13d
lea edx, [r14 + 0x3e]
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call fcn.1400b0840
mov ebx, dword [rsp + 0x78]
lea edx, [r14 + 0x61]
mov r8d, ebx
mov r9d, ebp
mov rcx, rdi
mov dword [rsp + 0x20], 1
call fcn.1400b0840
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x1400d0ab5
movsxd rax, dword [rdi + 0x34]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x10
test ebp, ebp
je 0x1400d0af0
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x1400d0af0
mov ecx, r14d
lea rax, [rsi + 0x70]
nop dword [rax]
cmp dword [rax + 0x10], ebp
je 0x1400d0aec
inc ecx
add rax, 0x18
cmp ecx, 0xa
jl 0x1400d0ad0
movzx eax, dl
mov dword [rsi + rax*4 + 0x28], ebp
inc byte [rsi + 0x1f]
jmp 0x1400d0af0
mov byte [rax + 8], 1
mov r9d, r12d
mov r8d, r13d
mov edx, 0x51
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call fcn.1400b0840
mov rbp, qword [rsp + 0x80]
test r15d, r15d
js 0x1400d0b29
mov edx, dword [rdi + 0x34]
cmp edx, r15d
jbe 0x1400d0b29
mov rax, qword [rdi + 8]
lea rcx, [r15 + r15*2]
mov dword [rax + rcx*8 + 8], edx
mov r8d, dword [rsp + 0x70]
xor r9d, r9d
mov rcx, rdi
lea edx, [r9 + 0x2d]
mov dword [rsp + 0x20], r14d
call fcn.1400b0840
xor r9d, r9d
mov r8d, ebx
lea edx, [r9 + 0x2d]
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call fcn.1400b0840
xor r9d, r9d
mov r8d, r13d
lea edx, [r9 + 0x2d]
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call fcn.1400b0840
mov r15, qword [rsp + 0x30]
add rsp, 0x38
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret