Function at 0x76d5d0
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 edi, dword [rdx + 0x38]
mov rsi, qword [rcx]
add edi, r12d
mov qword [rcx + 0xb0], rax
mov rbx, rcx
mov rbp, rdx
movzx eax, word [rdx + 0x120]
mov qword [rdx + 0x138], 0
mov word [rsp + 0x3e], ax
mov eax, dword [rdx + 0x80]
mov dword [rsp + 0x4c], eax
test r12d, r12d
jne 0x76d631
test edi, edi
setg al
cmp al, 1
sbb edi, 0xffffffff
mov eax, dword [rbx + 0x90]
mov ecx, dword [rbp + 0x3c]
lea eax, [rax + rax*2]
shl eax, 3
sub ecx, eax
movsxd rdx, eax
add rdx, qword [rbx + 0x88]
mov eax, ecx
mov qword [rsp + 0x50], rdx
mov rcx, rbx
lea rdx, [rsp + 0x4c]
and eax, 0xfffffff8
cdqe
mov qword [rsp + 0x58], rax
call fcn.0073d040
xor eax, eax
cmp byte [rbp + 0x20], 0
je 0x76d679
cmp byte [rbp + 0x21], 0
setne al
shl eax, 5
mov edx, eax
movzx eax, byte [rbx + 0xc8]
and eax, 0xffffffdf
or eax, edx
mov byte [rbx + 0xc8], al
movzx edx, byte [rbp + 0x123]
test dl, dl
je 0x76d727
cmp edi, 0xa
mov ecx, 0xa
cmovl edi, ecx
mov ecx, edx
and eax, 0xfffffff3
and ecx, 3
shl ecx, 2
or eax, ecx
mov byte [rbx + 0xc8], al
cmp dl, 2
je 0x76d8f8
mov edx, 8
mov rcx, rbx
mov ebp, 8
xor r13d, r13d
call fcn.00753a60
lea r9, str.addr
lea r10d, [r13 + 1]
lea r14, str.addr
not r13d
movsxd r15, r10d
jmp 0x76d700
mov r9, qword [r14 + r15*8]
add r15, 1
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x76d722
mov qword [rsp + 0x20], 0
lea edx, [r13 + r15]
xor r8d, r8d
mov rcx, rbx
call fcn.0076d580
cmp ebp, r15d
jg 0x76d6f8
movsxd rax, edi
and byte [rbx + 0xc8], 0xfc
lea rbp, [rsp + 0x50]
lea r14, [rax*8]
mov rcx, rbp
mov qword [rsp + 0x60], 0
sub r14, rax
shl r14, 3
mov rdx, r14
call fcn.00741180
mov qword [rbx + 0x68], rax
movsx rax, word [rsp + 0x3e]
lea r13, [rax*8]
sub r13, rax
shl r13, 3
mov rdx, r13
call fcn.00741180
movsxd rdx, dword [rsp + 0x4c]
mov qword [rbx + 0x80], rax
shl rdx, 3
call fcn.00741180
movsxd r8, r12d
mov qword [rbx + 0x70], rax
lea r15, [r8*8]
mov rdx, r15
call fcn.00741180
mov rdx, qword [rsp + 0x60]
mov qword [rbx + 0x78], rax
test rdx, rdx
jne 0x76d870
cmp byte [rsi + 0x67], 0
jne 0x76d898
movzx eax, word [rsp + 0x3e]
mov dword [rbx + 0x28], r12d
mov word [rbx + 0x20], ax
test ax, ax
jle 0x76d81f
movsx edx, word [rsp + 0x3e]
mov rax, qword [rbx + 0x80]
sub edx, 1
add rdx, 1
lea rcx, [rdx*8]
sub rcx, rdx
lea rdx, [rax + rcx*8]
nop word cs:[rax + rax]
mov r8d, 1
mov qword [rax + 0x18], rsi
add rax, 0x38
mov word [rax - 0x24], r8w
mov dword [rax - 0x18], 0
cmp rax, rdx
jne 0x76d800
mov dword [rbx + 0x24], edi
test edi, edi
jle 0x76d85a
lea edx, [rdi - 1]
mov rax, qword [rbx + 0x68]
add rdx, 1
lea rcx, [rdx*8]
sub rcx, rdx
lea rdx, [rax + rcx*8]
xor ecx, ecx
mov qword [rax + 0x18], rsi
add rax, 0x38
mov word [rax - 0x24], cx
mov dword [rax - 0x18], 0
cmp rax, rdx
jne 0x76d840
mov rcx, qword [rbx + 0x78]
mov r8, r15
xor edx, edx
call sub.msvcrt.dll_memset
jmp 0x76d8a8
mov rcx, rsi
call fcn.00751520
mov qword [rbx + 0x100], rax
cmp byte [rsi + 0x67], 0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
je 0x76d920
xor r9d, r9d
mov qword [rbx + 0x24], 0
mov word [rbx + 0x20], r9w
mov eax, 0xffffff02
mov byte [rbx + 0xc5], 1
mov word [rbx + 0xc2], ax
movabs rax, 0xffffffff00000001
mov qword [rbx + 0x2c], rax
mov qword [rbx + 0x34], 0
mov qword [rbx + 0x3c], 0
mov qword [rbx + 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, rbx
mov ebp, 0xc
mov r13d, 8
call fcn.00753a60
lea r9, [0x00b45554]
jmp 0x76d6e2
mov rax, qword [rbx + 0x68]
test rax, rax
je 0x76d960
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x76d998
mov qword [rbx + 0x80], rax
mov rax, qword [rbx + 0x70]
test rax, rax
je 0x76d980
mov qword [rbx + 0x70], rax
mov rax, qword [rbx + 0x78]
test rax, rax
je 0x76d970
mov qword [rbx + 0x78], rax
jmp 0x76d7b8
mov rdx, r14
mov rcx, rbp
call fcn.00741180
jmp 0x76d929
mov rdx, r15
mov rcx, rbp
call fcn.00741180
jmp 0x76d956
movsxd rdx, dword [rsp + 0x4c]
mov rcx, rbp
shl rdx, 3
call fcn.00741180
jmp 0x76d949
mov rdx, r13
mov rcx, rbp
call fcn.00741180
jmp 0x76d939