Function at 0x68296cd0
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, 0x58
xor r13d, r13d
mov eax, dword [rcx + 0x50]
mov edi, dword [rcx + 0x4c]
mov ebp, dword [rcx + 0x48]
mov qword [rsp + 0xa8], rdx
mov rbx, rcx
mov r14d, r8d
mov dword [rsp + 0x34], eax
test r8d, r8d
je 0x68296d22
mov r13d, dword [rcx]
cmp r13d, 1
je 0x68296f98
cmp r13d, 2
je 0x68296d48
test r13d, r13d
je 0x68296df8
xor r13d, r13d
mov eax, dword [rsp + 0x34]
mov dword [rbx + 0x48], ebp
mov dword [rbx + 0x4c], edi
mov dword [rbx + 0x50], eax
mov eax, r13d
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r13d, r13d
cmp qword [rsp + 0xa8], 0
mov rcx, qword [rsp + 0xa8]
je 0x68296deb
mov eax, dword [rbx + 0x78]
test eax, eax
je 0x68296d94
nop dword [rax]
mov rdx, qword [rbx + 0x70]
sub eax, 1
mov dword [rbx + 0x78], eax
movzx edx, byte [rdx + rax]
mov eax, r13d
add r13d, 1
mov byte [rcx + rax], dl
cmp r14d, r13d
je 0x68296d22
mov eax, dword [rbx + 0x78]
test eax, eax
jne 0x68296d70
mov eax, dword [rbx + 0x40]
cmp eax, dword [rbx + 0x38]
jae 0x68296dc2
mov r12d, dword [rbx + 0x68]
cmp eax, r12d
jae 0x68297320
mov rdx, qword [rbx + 0x58]
mov word [rdx + rax*2], bp
mov rdx, qword [rbx + 0x60]
mov byte [rdx + rax], dil
mov eax, dword [rbx + 0x40]
add eax, 1
mov dword [rbx + 0x40], eax
mov dword [rbx], 1
mov ebp, dword [rsp + 0x34]
jmp 0x68296f9e
sub eax, 1
add r13d, 1
mov dword [rbx + 0x78], eax
cmp r14d, r13d
je 0x68296d22
mov eax, dword [rbx + 0x78]
test eax, eax
jne 0x68296dd8
jmp 0x68296d94
mov rcx, qword [rcx + 0xc8]
mov edx, 2
call fcn.680f6470
test eax, eax
jne 0x68297150
mov rcx, qword [rbx + 0xc8]
lea rdx, [rsp + 0x4c]
mov r8d, 1
call fcn.680f6510
cmp eax, 1
jne 0x68297150
movzx edx, byte [rsp + 0x4c]
mov ecx, edx
mov r8d, edx
and edx, 0xffffff80
and ecx, 0x1f
and r8d, 0x1f
movzx edx, dl
shl eax, cl
mov dword [rbx + 0x30], r8d
lea r8d, [rax - 0x100]
mov dword [rbx + 0x34], edx
mov dword [rbx + 0x38], r8d
cmp cl, 0x10
ja 0x68297150
xor r8d, r8d
test edx, edx
movzx r9d, byte [rbx + 0x20]
mov edx, dword [rbx + 0x18]
setne r8b
mov dword [rbx + 0x3c], 9
mov dword [rbx + 0x40], r8d
cmp cl, 9
ja 0x6829746c
sub eax, 0xff
mov dword [rbx + 0x44], eax
test r9b, r9b
jne 0x68297576
cmp dword [rbx + 0x1c], edx
jbe 0x682975a8
cmp r8d, eax
jb 0x68297491
mov dword [rbx + 0x3c], 0xa
cmp cl, 0xa
jbe 0x682975b8
mov dword [rbx + 0x44], 0x300
mov esi, 3
mov r12d, 0xa
nop
mov eax, dword [rbx + 4]
test eax, eax
jne 0x6829759b
mov rcx, qword [rbx + 0xc8]
mov r8d, dword [rbx + 0x3c]
lea rdx, [rbx + 8]
call fcn.680f6510
xor ecx, ecx
mov dword [rbx + 0x18], 0
mov edx, eax
add qword [rbx + 0x28], rdx
mov edx, dword [rbx + 0x3c]
cmp eax, edx
setb cl
mov dword [rbx + 4], ecx
lea ecx, [rax*8]
cmp edx, ecx
jae 0x68297598
sub ecx, edx
lea edx, [rcx + 1]
mov dword [rbx + 0x1c], edx
test eax, eax
je 0x6829759b
mov dword [rbx + 0x18], r12d
movzx r8d, byte [rbx + 8]
lea r10, [rbx + 9]
mov r9d, 8
movzx eax, byte [r10]
mov ecx, r9d
and esi, eax
shl esi, cl
or esi, r8d
mov edx, esi
mov eax, esi
cmp edx, 0xff
ja 0x6829759b
cmp qword [rsp + 0xa8], 0
je 0x68296f6e
mov rdi, qword [rsp + 0xa8]
mov byte [rdi], al
cmp r14d, 1
jbe 0x682975cb
mov dword [rbx], 1
mov eax, dword [rbx + 0x40]
mov ebp, edx
mov edi, edx
mov dword [rsp + 0x34], 0
mov r13d, 1
jmp 0x68296f9e
mov eax, dword [rcx + 0x40]
xor r13d, r13d
mov r10d, dword [rbx + 0x18]
movzx r8d, byte [rbx + 0x20]
lea r15, [rbx + 8]
mov edx, dword [rbx + 0x3c]
jmp 0x68297063
cmp dword [rbx + 0x1c], r10d
jbe 0x682971b0
cmp eax, ecx
jae 0x6829707a
mov ecx, r10d
mov r11d, r10d
mov r9d, 8
add r10d, edx
shr ecx, 3
and r11d, 7
sub r9d, r11d
lea rax, [rcx + 8]
nop word [rax + rax]
mov dword [rbx + 0x18], r10d
movzx esi, byte [rbx + rcx + 8]
add r12d, r11d
mov ecx, r11d
add rax, rbx
sar esi, cl
lea ecx, [r12 - 8]
cmp ecx, 7
ja 0x68297160
lea r8, [rax + 1]
test ecx, ecx
je 0x682971d0
mov eax, 0xffffffff
shl eax, cl
movzx ecx, byte [r8]
not eax
and eax, ecx
mov ecx, r9d
shl eax, cl
or esi, eax
mov eax, esi
cmp eax, 0x100
jne 0x68297122
mov eax, dword [rbx + 0x34]
test eax, eax
je 0x68297208
mov dword [rbx + 0x40], 0
xor eax, eax
xor ebp, ebp
xor edi, edi
mov byte [rbx + 0x20], 1
mov r8d, 1
mov ecx, dword [rbx + 0x44]
mov r12d, edx
test r8b, r8b
je 0x68296fb8
cmp eax, ecx
jb 0x68297190
lea r12d, [rdx + 1]
mov dword [rbx + 0x3c], r12d
cmp r12d, 0x10
ja 0x68297150
cmp r12d, dword [rbx + 0x30]
jae 0x682971c0
mov eax, 1
mov ecx, r12d
shl eax, cl
sub eax, 0x100
mov dword [rbx + 0x44], eax
test r8b, r8b
jne 0x68297190
mov eax, dword [rbx + 4]
test eax, eax
jne 0x68297150
mov rcx, qword [rbx + 0xc8]
mov r8d, r12d
mov rdx, r15
call fcn.680f6510
xor ecx, ecx
mov dword [rbx + 0x18], 0
mov edx, eax
add qword [rbx + 0x28], rdx
mov edx, dword [rbx + 0x3c]
lea r8d, [rax*8]
cmp eax, edx
setb cl
mov dword [rbx + 4], ecx
cmp edx, r8d
jae 0x68297463
mov ecx, 1
sub ecx, edx
add ecx, r8d
mov dword [rbx + 0x1c], ecx
test eax, eax
je 0x68297150
mov r10d, r12d
mov eax, 8
mov r9d, 8
xor ecx, ecx
xor r11d, r11d
jmp 0x68296ff0
cmp esi, 0xff
jbe 0x682971d0
lea eax, [rsi - 0x100]
cmp dword [rbx + 0x40], eax
mov dword [rsp + 0x34], esi
ja 0x68297220
jae 0x6829738d
nop word [rax + rax]
mov dword [rbx], 3
jmp 0x68296d22
lea r8, [rax + 2]
movzx eax, byte [rax + 1]
mov ecx, r9d
mov r9d, 0x10
sub r9d, r11d
shl eax, cl
mov ecx, r12d
or eax, esi
mov esi, eax
sub ecx, 0x10
je 0x68297036
jmp 0x6829701e
mov dword [rbx + 0x3c], 9
mov r12d, 9
mov dword [rbx + 0x44], 0x100
mov byte [rbx + 0x20], 0
jmp 0x682970b1
cmp eax, ecx
jb 0x682970b1
jmp 0x6829707a
mov eax, dword [rbx + 0x38]
add eax, 1
jmp 0x682970a5
mov dword [rsp + 0x34], esi
mov edi, esi
mov edx, dword [rbx + 0x78]
mov rsi, qword [rbx + 0x80]
mov rcx, qword [rbx + 0x70]
mov rax, rdx
cmp rdx, rsi
jae 0x682974e0
add eax, 1
mov dword [rbx + 0x78], eax
mov byte [rcx + rdx], dil
mov dword [rbx], 2
jmp 0x68296d4b
mov eax, dword [rbx + 0x40]
mov dword [rsp + 0x34], 0x100
mov esi, 0x100
test eax, eax
je 0x6829738d
lea r10, [rbx + 0x88]
lea rdx, [rsp + 0x4c]
mov dword [rsp + 0xb0], r14d
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x38], rdx
mov r15, r10
jmp 0x68297278
mov r9, qword [rbx + 0x60]
lea r8d, [rsi - 0x100]
add edx, 1
mov dword [rbx + 0x78], edx
add r9, r8
movzx edx, byte [r9]
mov byte [rax + rcx], dl
mov rax, qword [rbx + 0x58]
movzx esi, word [rax + r8*2]
cmp esi, 0xff
jbe 0x68297454
test rax, rax
je 0x68297150
mov ecx, dword [rbx + 0x78]
mov r14, qword [rbx + 0x80]
mov rax, qword [rbx + 0x70]
mov rdx, rcx
cmp rcx, r14
jb 0x68297248
mov rdx, r14
mov rcx, qword [rbx + 0xd0]
shr rdx, 1
lea r12, [r14 + rdx + 4]
cmp r15, rax
je 0x682973c8
mov r9d, r12d
cmp r12, 0x10000
jbe 0x682972d7
cmp r14, 0x10000
je 0x68297150
mov r9d, 0x10000
mov r12d, 0x10000
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r8d, r14d
mov qword [rsp + 0x28], rdx
mov edx, 1
call fcn.68297910
mov r10d, dword [rsp + 0x4c]
mov qword [rbx + 0x70], rax
test r10d, r10d
jne 0x68297150
test r14, r14
je 0x68297415
mov ecx, dword [rbx + 0x78]
mov qword [rbx + 0x80], r12
mov rdx, rcx
jmp 0x68297248
mov rcx, qword [rbx + 0xd0]
test r12d, r12d
je 0x68297444
mov esi, r12d
shr esi, 2
add esi, r12d
mov r9d, esi
lea rax, [rsp + 0x4c]
mov edx, 3
mov r8d, r12d
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x20], rax
call fcn.682979e0
mov edx, dword [rsp + 0x4c]
mov qword [rbx + 0x58], rax
test edx, edx
jne 0x68297150
mov edx, esi
mov r8d, r12d
lea rcx, [rax + rdx*2]
lea rdx, [rax + r8*2]
mov qword [rbx + 0x60], rcx
call sub.msvcrt.dll_memmove
mov dword [rbx + 0x68], esi
mov eax, dword [rbx + 0x40]
jmp 0x68296da9
mov ecx, dword [rbx + 0x78]
mov rsi, qword [rbx + 0x80]
mov rdx, qword [rbx + 0x70]
mov rax, rcx
cmp rcx, rsi
jae 0x68297667
add eax, 1
mov dword [rbx + 0x78], eax
mov byte [rdx + rcx], dil
cmp ebp, 0xff
jbe 0x682976f0
mov esi, ebp
jmp 0x68297220
cmp r12, 0x10000
mov eax, 0x10000
mov qword [rbx + 0x70], 0
mov edx, 1
mov qword [rsp + 0x20], 0
cmova r12, rax
xor r8d, r8d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov r9d, r12d
call fcn.68297910
mov r11d, dword [rsp + 0x4c]
mov qword [rbx + 0x70], rax
test r11d, r11d
jne 0x68297150
movdqu xmm0, xmmword [r15]
movups xmmword [rax], xmm0
movdqu xmm1, xmmword [r15 + 0x10]
movups xmmword [rax + 0x10], xmm1
movdqu xmm2, xmmword [r15 + 0x20]
movups xmmword [rax + 0x20], xmm2
movdqu xmm3, xmmword [r15 + 0x30]
movups xmmword [rax + 0x30], xmm3
mov rax, qword [rbx + 0x70]
jmp 0x6829730e
mov r9d, 0x200
mov esi, 0x200
jmp 0x6829733c
mov r14d, dword [rsp + 0xb0]
mov edi, esi
jmp 0x682971d6
mov dword [rbx + 0x1c], r8d
jmp 0x68297150
mov dword [rbx + 0x44], 0x100
test r9b, r9b
jne 0x68297576
cmp dword [rbx + 0x1c], edx
ja 0x68297491
mov esi, 1
mov r12d, 9
jmp 0x68296ed0
lea eax, [rdx + 9]
mov r9d, 8
mov dword [rbx + 0x18], eax
mov eax, edx
and edx, 7
shr eax, 3
mov ecx, edx
sub r9d, edx
lea r10, [rbx + rax + 8]
movzx eax, byte [rbx + rax + 8]
sar eax, cl
lea ecx, [rdx + 1]
mov r8d, eax
cmp edx, 7
jne 0x68297776
movzx eax, byte [r10 + 1]
mov ecx, r9d
shl eax, cl
or eax, r8d
mov edx, eax
jmp 0x68296f4d
mov rax, rsi
lea r15, [rbx + 0x88]
mov r10, qword [rbx + 0xd0]
shr rax, 1
lea r12, [rsi + rax + 4]
cmp r15, rcx
je 0x682975e2
mov r9d, r12d
cmp r12, 0x10000
jbe 0x68297527
cmp rsi, 0x10000
je 0x68297150
mov r9d, 0x10000
mov r12d, 0x10000
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rcx
mov r8d, esi
mov rcx, r10
mov qword [rsp + 0x28], rax
mov edx, 1
call fcn.68297910
mov r8d, dword [rsp + 0x4c]
mov qword [rbx + 0x70], rax
mov rcx, rax
test r8d, r8d
jne 0x68297150
test rsi, rsi
je 0x68297635
mov edx, dword [rbx + 0x78]
mov qword [rbx + 0x80], r12
mov rax, rdx
jmp 0x682971f0
mov byte [rbx + 0x20], 0
mov esi, 1
mov r12d, 9
mov dword [rbx + 0x3c], 9
mov dword [rbx + 0x44], 0x100
jmp 0x68296ed0
mov dword [rbx + 0x1c], ecx
mov dword [rsp + 0x34], 0
jmp 0x68297150
cmp r8d, eax
jb 0x68297481
mov dword [rbx + 0x3c], 0xa
mov dword [rbx + 0x44], eax
mov esi, 3
mov r12d, 0xa
jmp 0x68296ed0
mov dword [rsp + 0x34], 0
mov ebp, edx
mov edi, edx
mov r13d, 1
jmp 0x68296d22
cmp r12, 0x10000
mov eax, 0x10000
mov qword [rbx + 0x70], 0
mov rcx, r10
cmova r12, rax
lea rax, [rsp + 0x4c]
xor r8d, r8d
mov edx, 1
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, r12d
call fcn.68297910
mov r9d, dword [rsp + 0x4c]
mov qword [rbx + 0x70], rax
mov rcx, rax
test r9d, r9d
jne 0x68297150
movdqu xmm4, xmmword [rbx + 0x88]
movups xmmword [rcx], xmm4
movdqu xmm5, xmmword [r15 + 0x10]
movups xmmword [rcx + 0x10], xmm5
movdqu xmm4, xmmword [r15 + 0x20]
movups xmmword [rcx + 0x20], xmm4
movdqu xmm5, xmmword [r15 + 0x30]
movups xmmword [rcx + 0x30], xmm5
mov rcx, qword [rbx + 0x70]
jmp 0x68297564
mov rax, rsi
lea r15, [rbx + 0x88]
mov rcx, qword [rbx + 0xd0]
shr rax, 1
lea r12, [rsi + rax + 4]
cmp r15, rdx
je 0x682976f7
mov r9d, r12d
cmp r12, 0x10000
jbe 0x682976aa
cmp rsi, 0x10000
je 0x68297150
mov r9d, 0x10000
mov r12d, 0x10000
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rdx
mov r8d, esi
mov edx, 1
mov qword [rsp + 0x28], rax
call fcn.68297910
mov qword [rbx + 0x70], rax
mov rdx, rax
mov eax, dword [rsp + 0x4c]
test eax, eax
jne 0x68297150
test rsi, rsi
je 0x68297744
mov ecx, dword [rbx + 0x78]
mov qword [rbx + 0x80], r12
mov rax, rcx
jmp 0x682973a7
mov edi, ebp
jmp 0x682971d6
cmp r12, 0x10000
mov eax, 0x10000
mov qword [rbx + 0x70], 0
mov edx, 1
mov qword [rsp + 0x20], 0
cmova r12, rax
xor r8d, r8d
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
mov r9d, r12d
call fcn.68297910
cmp dword [rsp + 0x4c], 0
mov qword [rbx + 0x70], rax
mov rdx, rax
jne 0x68297150
movdqu xmm4, xmmword [rbx + 0x88]
movups xmmword [rdx], xmm4
movdqu xmm5, xmmword [r15 + 0x10]
movups xmmword [rdx + 0x10], xmm5
movdqu xmm4, xmmword [r15 + 0x20]
movups xmmword [rdx + 0x20], xmm4
movdqu xmm5, xmmword [r15 + 0x30]
movups xmmword [rdx + 0x30], xmm5
mov rdx, qword [rbx + 0x70]
jmp 0x682976de
or eax, 0xffffffff
add r10, 1
shl eax, cl
not eax
mov esi, eax
jmp 0x68296f3b