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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, qword [rax]
mov rax, qword [rcx]
mov r15d, 7
cmp byte [rax + 0x61], 0
jne 0x140069283
mov rsi, r8
mov r12, rdx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r9
mov rdi, qword [rbx + 0x18]
mov r13d, dword [rdi + 0x28]
test r13b, 0x20
mov eax, 0x1bf
mov ecx, Ordinal_26
cmove ecx, eax
mov eax, ecx
and eax, 0xffffff83
test byte [r8 + 0x64], 4
cmove eax, ecx
movzx ecx, word [rdi + 0x18]
mov word [rsp + 0x30], cx
movzx r9d, cx
movzx ecx, word [rdi + 0x1a]
mov word [rsp + 0x36], cx
movzx ecx, word [rdi + 0x1c]
mov word [rsp + 0x34], cx
movzx ecx, word [rdi + 0x2e]
mov word [rsp + 0x5a], cx
movzx ecx, word [rdi + 0x2c]
mov word [rsp + 0x32], cx
mov rcx, qword [rdi]
mov qword [rsp + 0xa0], rcx
movzx ecx, word [rdi + 0x16]
mov dword [rsp + 0x44], ecx
mov r8d, dword [rdx + 0x44]
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xb8]
mov qword [rsp + 0x38], r9
call fcn.140067854
mov rbp, rax
mov word [rdi + 0x12], 0
mov rax, qword [rsi + 0x10]
movzx eax, word [rax]
xor r15d, r15d
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x98], rax
cmp ax, 0xb
jl 0x140068b44
mov rcx, qword [rsp + 0x98]
call fcn.14003ed77
add eax, 0xffffffdf
mov dword [rsp + 0x54], eax
movzx eax, word [rsp + 0x32]
mov qword [rsp + 0x90], rax
test rbp, rbp
je 0x140069170
mov rax, qword [rsp + 0x90]
inc eax
mov dword [rsp + 0x84], eax
movsx eax, word [rsp + 0x54]
mov qword [rsp + 0xb0], rax
xor eax, eax
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x5c], r13d
movzx r14d, word [rbp + 0x14]
cmp r14d, 0x100
jne 0x140068bdf
mov rax, qword [rsi + 8]
mov rcx, qword [rsp + 0x38]
movzx eax, word [rax + rcx*2]
test ax, ax
js 0x140068bcb
mov rcx, qword [rsi + 0x18]
mov rcx, qword [rcx + 8]
shl rax, 5
movzx ecx, byte [rcx + rax + 0x18]
jmp 0x140068bd4
xor ecx, ecx
cmp ax, 0xffff
sete cl
xor r15d, r15d
test ecx, ecx
jne 0x140069062
mov rax, qword [rdi + 8]
xor r15d, r15d
test qword [rbp + 0x30], rax
jne 0x140069062
cmp r14w, 0x10
jne 0x140068c09
movzx eax, word [rbp + 0x12]
and eax, 0x100
test ax, ax
jne 0x140069062
test byte [r12 + 0x3c], 8
je 0x140068c1f
mov rax, qword [rbp]
test byte [rax + 4], 1
je 0x140069062
cmp byte [rsi + 0x62], 0
je 0x140068c36
movzx ecx, word [rsi + 0x5e]
dec ecx
mov eax, 2
cmp ecx, dword [rsp + 0x38]
je 0x140068c3b
mov eax, 1
or dword [rbx + 0x28], eax
mov dword [rdi + 0x28], r13d
movzx eax, word [rsp + 0x30]
mov word [rdi + 0x18], ax
movzx eax, word [rsp + 0x36]
mov word [rdi + 0x1a], ax
movzx eax, word [rsp + 0x34]
mov word [rdi + 0x1c], ax
movzx eax, word [rsp + 0x32]
mov word [rdi + 0x2c], ax
mov rcx, qword [rsp + 0x70]
mov rdx, rdi
mov r8d, dword [rsp + 0x84]
call fcn.1400695bd
xor r15d, r15d
test eax, eax
jne 0x140069170
mov rax, qword [rdi + 0x38]
movzx ecx, word [rdi + 0x2c]
lea edx, [rcx + 1]
mov word [rdi + 0x2c], dx
mov qword [rax + rcx*8], rbp
mov rax, qword [rbp + 0x30]
or rax, qword [rsp + 0xa0]
mov rcx, qword [rdi + 8]
not rcx
and rcx, rax
mov qword [rdi], rcx
test r14b, 1
jne 0x140068d49
test r14b, 0x82
je 0x140068e98
mov rax, qword [rsi + 8]
mov rcx, qword [rsp + 0x38]
movzx ecx, word [rax + rcx*2]
mov eax, dword [rdi + 0x28]
mov ebx, eax
or ebx, 1
mov dword [rdi + 0x28], ebx
cmp cx, 0xffff
mov r15, qword [rsp + 0x60]
je 0x140068d37
xor r13d, r13d
cmp word [rsp + 0x78], 0
jne 0x140068e19
test cx, cx
js 0x140068e19
movzx ecx, word [rsi + 0x5e]
lea edx, [rcx - 1]
cmp edx, dword [rsp + 0x38]
jne 0x140068e19
test byte [rsi + 0x64], 8
jne 0x140068d37
cmp cx, 1
jne 0x140069136
cmp r14w, 2
jne 0x140069136
cmp byte [rsi + 0x62], 0
je 0x140069136
or eax, 0x1001
mov dword [rdi + 0x28], eax
xor r13d, r13d
mov ebx, eax
jmp 0x140068e19
mov rax, qword [rbp]
test byte [rax + 5], 8
jne 0x140068d75
mov r15, rsi
mov rax, qword [rax + 0x20]
xor r13d, r13d
test rax, rax
je 0x140068dba
movsxd rcx, dword [rax]
test rcx, rcx
je 0x140068dba
call fcn.14003ed77
movsx r13d, ax
jmp 0x140068dba
mov r15, rsi
movzx ecx, word [rdi + 0x2c]
mov r13d, 0x2e
cmp ecx, 2
jb 0x140068dba
mov edx, 2
cmovbe ecx, edx
mov rdx, qword [rdi + 0x38]
dec ecx
mov r13d, 0x2e
xor ebx, ebx
mov rsi, qword [rdx + rbx*8]
test rsi, rsi
je 0x140068db2
cmp qword [rsi], rax
mov esi, 0
cmove r13d, esi
inc rbx
cmp rcx, rbx
jne 0x140068d9d
mov rsi, r15
cmp byte [r15 + 0x64], 0
jns 0x140068e0b
mov rax, qword [rsi + 0x10]
mov rcx, qword [rsp + 0x38]
movsx ebx, word [rax + rcx*2]
xor r15d, r15d
mov eax, 0
cmp r13w, 0xb
jl 0x140068dec
movzx ecx, r13w
call fcn.14003ed77
add eax, 0xffffffdf
cwde
add eax, ebx
add eax, 0xa
mov rcx, qword [rsp + 0xb0]
add ecx, r13d
cmp eax, ecx
jge 0x140068e0b
mov rbx, qword [rsp + 0x68]
jmp 0x14006905d
mov ebx, dword [rdi + 0x28]
or ebx, 4
mov dword [rdi + 0x28], ebx
mov r15, qword [rsp + 0x60]
test bl, 2
jne 0x140068e6b
mov eax, dword [rdi + 0x18]
inc eax
mov word [rdi + 0x18], ax
movzx r12d, word [rbp + 0x10]
test r12w, r12w
jle 0x140068ef8
movzx eax, ax
mov rcx, qword [rsi + 0x10]
movzx r12d, word [rcx + rax*2]
sub r12w, word [rcx + rax*2 - 2]
add r12w, word [rdi + 0x16]
mov word [rdi + 0x16], r12w
bt r14d, 8
mov rbp, qword [rsp + 0x48]
jae 0x140068f93
add r12d, 0xa
jmp 0x140068f89
movzx eax, word [rdi + 0x16]
mov r12d, eax
test r15, r15
mov rbp, qword [rsp + 0x48]
je 0x140068f1e
movzx r12d, word [r15 + 0x10]
test r12w, r12w
jle 0x140068f1b
lea r12d, [rax - 0x14]
jmp 0x140068f1e
bt r14d, 8
jb 0x140069089
mov eax, dword [rdi + 0x28]
test r14b, 0x24
je 0x14006909a
or eax, 0x22
mov dword [rdi + 0x28], eax
mov edx, dword [r12 + 0x44]
mov qword [rsp + 0x20], rbp
mov rcx, qword [rsp + 0x88]
mov r8, rsi
mov r9, qword [rsp + 0x38]
call fcn.140069693
mov word [rdi + 0x1a], ax
test byte [rbp + 0x13], 1
jne 0x1400690e4
mov ebx, dword [rdi + 0x28]
xor r13d, r13d
mov r15, rbp
xor eax, eax
mov qword [rsp + 0x48], rax
jmp 0x140068e19
mov rcx, qword [rsi + 8]
mov rdx, qword [rsp + 0x38]
cmp word [rcx + rdx*2], 0
js 0x140068e36
sub r12d, r13d
add r12w, word [rdi + 0x16]
mov rbp, qword [rsp + 0x48]
jmp 0x140068f89
add r12d, eax
test rbp, rbp
je 0x140068f32
movzx ecx, word [rbp + 0x10]
test cx, cx
jle 0x140068f36
add r12d, 0xffffffec
jmp 0x140068f3c
xor ebp, ebp
jmp 0x140068f3c
add ecx, r12d
mov r12d, ecx
test r15, r15
je 0x140068f5f
test rbp, rbp
je 0x140068f5f
cmp word [r15 + 0x10], 0
jle 0x140068f5f
lea ecx, [r12 - 0x14]
cmp word [rbp + 0x10], 0
cmovle ecx, r12d
mov r12d, ecx
mov rcx, rbp
neg rcx
sbb ecx, ecx
cwde
cmp r15, 1
adc ecx, 0xffffffff
add ecx, eax
cmp r12w, 0xa
mov eax, 0xa
cmovle r12d, eax
movzx eax, r12w
cmp ecx, eax
cmovle r12d, ecx
mov word [rdi + 0x16], r12w
mov qword [rsp + 0x48], rbp
movsx eax, word [rsi + 0x5c]
lea eax, [rax + rax*4]
lea eax, [rax + rax*2]
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx + 0x20]
movsx ecx, word [rcx + 0x4a]
cdq
idiv ecx
lea edx, [r12 + rax]
inc edx
mov ecx, dword [rsp + 0x54]
call fcn.1400689cc
mov word [rdi + 0x14], ax
test ebx, 0x140
mov rbp, qword [rsp + 0x78]
mov qword [rsp + 0x60], r15
jne 0x140068fe5
lea edx, [r12 + 0x10]
mov ecx, eax
call fcn.1400689cc
mov word [rdi + 0x14], ax
mov rbx, qword [rsp + 0x68]
add r13d, ebp
add eax, r13d
mov word [rdi + 0x14], ax
lea eax, [r12 + r13]
mov word [rdi + 0x16], ax
mov rcx, qword [rbx + 8]
mov rdx, rdi
mov r8, qword [rsp + 0x98]
call fcn.1400685db
mov rcx, rbx
mov rdx, rdi
call fcn.14006870f
mov r15d, eax
mov eax, dword [rdi + 0x28]
test al, 2
cmovne r12d, dword [rsp + 0x44]
mov word [rdi + 0x16], r12w
test al, 0x10
mov r12, qword [rsp + 0xa8]
jne 0x140069055
movzx eax, word [rdi + 0x18]
cmp ax, word [rsi + 0x60]
jae 0x140069055
mov rcx, rbx
mov rdx, r12
mov r8, rsi
mov r9d, r13d
call fcn.140068a33
mov eax, dword [rsp + 0x44]
mov word [rdi + 0x16], ax
mov r13d, dword [rsp + 0x5c]
lea rcx, [rsp + 0xb8]
call fcn.14006790e
test r15d, r15d
jne 0x140069170
mov rbp, rax
test rax, rax
jne 0x140068b98
jmp 0x140069170
mov ebx, dword [rdi + 0x28]
or ebx, 8
mov dword [rdi + 0x28], ebx
xor r13d, r13d
jmp 0x140068e14
or eax, 0x12
mov dword [rdi + 0x28], eax
mov edx, dword [r12 + 0x44]
mov qword [rsp + 0x20], rbp
mov rcx, qword [rsp + 0x88]
mov r8, rsi
mov r9, qword [rsp + 0x38]
call fcn.140069693
mov word [rdi + 0x1c], ax
mov ebx, dword [rdi + 0x28]
test bl, 0x20
jne 0x140069143
test bl, 2
jne 0x14006915d
xor r15d, r15d
mov qword [rsp + 0x48], rbp
xor r13d, r13d
jmp 0x140068e1e
movzx r8d, word [rdi + 0x2c]
inc r8d
mov rcx, qword [rsp + 0x70]
mov rdx, rdi
call fcn.1400695bd
test eax, eax
jne 0x140069170
lea rbx, [rbp + 0x40]
mov rax, qword [rdi + 0x38]
movzx ecx, word [rdi + 0x2c]
lea edx, [rcx + 1]
mov word [rdi + 0x2c], dx
mov rdx, rbx
mov qword [rsp + 0x48], rbx
mov qword [rax + rcx*8], rbx
mov ebx, dword [rdi + 0x28]
or ebx, 0x10
mov dword [rdi + 0x28], ebx
mov word [rdi + 0x1c], 1
xor r13d, r13d
mov r15, rbp
jmp 0x140068e19
or eax, 0x10001
mov dword [rdi + 0x28], eax
jmp 0x140068d42
mov rax, qword [rdi + 0x38]
movzx ecx, word [rdi + 0x2c]
mov r15, qword [rax + rcx*8 - 0x10]
xor r13d, r13d
mov qword [rsp + 0x48], rbp
jmp 0x140068e19
movzx r12d, word [rdi + 0x16]
xor r15d, r15d
xor r13d, r13d
mov eax, r12d
jmp 0x140068f23
mov rax, qword [rsp + 0xa0]
mov qword [rdi], rax
movzx eax, word [rsp + 0x30]
mov word [rdi + 0x18], ax
movzx ecx, word [rsp + 0x36]
mov word [rdi + 0x1a], cx
movzx ecx, word [rsp + 0x34]
mov word [rdi + 0x1c], cx
movzx edx, word [rsp + 0x5a]
mov word [rdi + 0x2e], dx
mov dword [rdi + 0x28], r13d
mov ecx, dword [rsp + 0x44]
mov word [rdi + 0x16], cx
movzx ecx, word [rsp + 0x32]
mov word [rdi + 0x2c], cx
cmp ax, dx
jne 0x140069283
mov r14, qword [rsp + 0x38]
lea eax, [r14 + 1]
movzx ecx, word [rsi + 0x5e]
cmp eax, ecx
jae 0x140069283
test byte [rsi + 0x64], 0x40
jne 0x140069283
mov rcx, qword [rsp + 0x70]
test byte [rcx + 0x5d], 0x40
jne 0x140069283
mov rax, qword [rsi + 0x10]
cmp word [rax + r14*2 + 2], 0x2a
mov rbp, qword [rsp + 0x78]
jl 0x140069283
mov r8, qword [rsp + 0x90]
inc r8d
mov rdx, rdi
call fcn.1400695bd
mov r15d, eax
test eax, eax
jne 0x140069283
inc word [rdi + 0x18]
inc word [rdi + 0x2e]
mov rax, qword [rdi + 0x38]
movzx ecx, word [rdi + 0x2c]
lea edx, [rcx + 1]
mov word [rdi + 0x2c], dx
mov qword [rax + rcx*8], 0
or byte [rdi + 0x29], 0x80
mov rax, qword [rsi + 0x10]
movzx ecx, word [rax + r14*2]
sub cx, word [rax + r14*2 + 2]
sub word [rdi + 0x16], cx
lea r9d, [rcx + rbp]
add r9d, 5
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call fcn.140068a33
mov eax, dword [rsp + 0x44]
mov word [rdi + 0x16], ax
movzx eax, word [rsp + 0x30]
mov word [rdi + 0x18], ax
mov word [rdi + 0x2e], ax
mov dword [rdi + 0x28], r13d
xor r15d, r15d
mov eax, r15d
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret