Function at 0x76f570
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, 0x78
mov rax, qword [rdx + 0x138]
mov r12d, dword [rdx + 0x34]
mov esi, dword [rdx + 0x38]
mov rbx, qword [rcx]
mov qword [rcx + 0xb0], rax
mov r15, rcx
mov rdi, rdx
movzx eax, word [rdx + 0x120]
mov qword [rdx + 0x138], 0
add esi, r12d
test r12d, r12d
mov word [rsp + 0x3e], ax
mov eax, dword [rdx + 0x80]
mov dword [rsp + 0x4c], eax
jne 0x76f5d1
test esi, esi
setg al
cmp al, 1
sbb esi, 0xffffffff
mov eax, dword [r15 + 0x90]
mov ecx, dword [rdi + 0x3c]
lea eax, [rax + rax*2]
shl eax, 3
movsxd rdx, eax
add rdx, qword [r15 + 0x88]
sub ecx, eax
mov eax, ecx
mov rcx, r15
and eax, 0xfffffff8
cdqe
mov qword [rsp + 0x50], rdx
lea rdx, [rsp + 0x4c]
mov qword [rsp + 0x58], rax
call fcn.00741160
xor eax, eax
cmp byte [rdi + 0x20], 0
je 0x76f61a
cmp byte [rdi + 0x21], 0
setne al
shl eax, 5
mov edx, eax
movzx eax, byte [r15 + 0xc8]
and eax, 0xffffffdf
or eax, edx
mov byte [r15 + 0xc8], al
movzx edx, byte [rdi + 0x123]
test dl, dl
je 0x76f6d0
cmp esi, 0xa
mov ecx, 0xa
cmovl esi, ecx
mov ecx, edx
and eax, 0xfffffff3
and ecx, 3
shl ecx, 2
or eax, ecx
cmp dl, 2
mov byte [r15 + 0xc8], al
je 0x76f870
mov edx, 8
mov rcx, r15
mov edi, 8
call fcn.00756fd0
lea r9, str.addr
xor ebp, ebp
lea r14d, [rbp + 1]
not ebp
lea r13, str.addr
movsxd r14, r14d
jmp 0x76f6a9
mov r9, qword [r13 + r14*8]
add r14, 1
mov rax, qword [r15]
cmp byte [rax + 0x67], 0
jne 0x76f6cb
lea edx, [rbp + r14]
xor r8d, r8d
mov rcx, r15
mov qword [rsp + 0x20], 0
call fcn.0076f530
cmp edi, r14d
jg 0x76f6a0
and byte [r15 + 0xc8], 0xfc
movsxd r14, esi
movsxd rbp, r12d
mov qword [rsp + 0x60], 0
shl rbp, 3
imul r14, r14, 0x38
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov rdx, r14
call fcn.007450b0
movsx r13, word [rsp + 0x3e]
mov qword [r15 + 0x68], rax
imul r13, r13, 0x38
mov rdx, r13
call fcn.007450b0
movsxd rdx, dword [rsp + 0x4c]
mov qword [r15 + 0x80], rax
shl rdx, 3
call fcn.007450b0
mov rdx, rbp
mov qword [r15 + 0x70], rax
call fcn.007450b0
mov rdx, qword [rsp + 0x60]
mov qword [r15 + 0x78], rax
test rdx, rdx
jne 0x76f7f0
cmp byte [rbx + 0x67], 0
jne 0x76f814
movzx eax, word [rsp + 0x3e]
mov dword [r15 + 0x28], r12d
test ax, ax
mov word [r15 + 0x20], ax
jle 0x76f79f
movsx edx, word [rsp + 0x3e]
mov rax, qword [r15 + 0x80]
sub edx, 1
add rdx, 1
imul rdx, rdx, 0x38
add rdx, rax
nop
mov r8d, 1
mov qword [rax + 0x18], rbx
add rax, 0x38
mov word [rax - 0x24], r8w
mov dword [rax - 0x18], 0
cmp rax, rdx
jne 0x76f780
test esi, esi
mov dword [r15 + 0x24], esi
jle 0x76f7da
lea edx, [rsi - 1]
mov rax, qword [r15 + 0x68]
add rdx, 1
imul rdx, rdx, 0x38
add rdx, rax
nop dword [rax]
xor ecx, ecx
mov qword [rax + 0x18], rbx
add rax, 0x38
mov word [rax - 0x24], cx
mov dword [rax - 0x18], 0
cmp rax, rdx
jne 0x76f7c0
mov rcx, qword [r15 + 0x78]
mov r8, rbp
xor edx, edx
call sub.msvcrt.dll_memset
jmp 0x76f824
mov rcx, rbx
call fcn.00754760
mov qword [r15 + 0x100], rax
cmp byte [rbx + 0x67], 0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
je 0x76f893
xor r9d, r9d
mov qword [r15 + 0x24], 0
mov word [r15 + 0x20], r9w
mov eax, 0xffffff02
mov byte [r15 + 0xc5], 1
mov word [r15 + 0xc2], ax
movabs rax, 0xffffffff00000001
mov qword [r15 + 0x2c], rax
mov qword [r15 + 0x34], 0
mov qword [r15 + 0x3c], 0
mov qword [r15 + 0x50], 0
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, 4
mov rcx, r15
mov edi, 0xc
call fcn.00756fd0
mov ebp, 8
lea r9, [0x00b4b794]
jmp 0x76f685
mov rax, qword [r15 + 0x68]
test rax, rax
je 0x76f8d2
mov qword [r15 + 0x68], rax
mov rax, qword [r15 + 0x80]
test rax, rax
je 0x76f903
mov qword [r15 + 0x80], rax
mov rax, qword [r15 + 0x70]
test rax, rax
je 0x76f8f0
mov qword [r15 + 0x70], rax
mov rax, qword [r15 + 0x78]
test rax, rax
je 0x76f8e0
mov qword [r15 + 0x78], rax
jmp 0x76f748
mov rdx, r14
mov rcx, rdi
call fcn.007450b0
jmp 0x76f89c
mov rdx, rbp
mov rcx, rdi
call fcn.007450b0
jmp 0x76f8c9
movsxd rdx, dword [rsp + 0x4c]
mov rcx, rdi
shl rdx, 3
call fcn.007450b0
jmp 0x76f8bc
mov rdx, r13
mov rcx, rdi
call fcn.007450b0
jmp 0x76f8ac