Function at 0x771d00
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, 0xe8
mov edi, 0xffffffff
mov rax, qword [rcx]
mov rbx, qword [rcx + 0x10]
mov qword [rsp + 0x138], rdx
mov rdx, qword [rax + 8]
mov r14, rcx
mov qword [rsp + 0x58], rax
movzx eax, byte [rbx + 0x10]
mov word [rsp + 0x6a], di
lea rcx, [rax + rax*2]
lea rax, [rax + rcx*4]
lea r12, [rdx + rax*8 + 8]
mov rax, qword [r12 + 0x20]
movzx edx, byte [r12 + 0x40]
mov qword [rsp + 0x40], rax
mov rax, qword [r14 + 8]
mov qword [rsp + 0x38], rax
test dl, 2
je 0x772258
mov rdi, qword [r12 + 0x60]
test rdi, rdi
setne r15b
xor eax, eax
cmp qword [r14 + 0x18], 0
je 0x77227f
test r15b, r15b
je 0x771f8c
mov r9, qword [rdi + 0x48]
mov dword [rsp + 0x34], 1
nop dword [rax]
test r9, r9
je 0x771dc2
movzx edx, byte [r12 + 0x3c]
mov ecx, dword [r12 + 0x44]
mov r8, qword [rsp + 0x38]
call fcn.0076f840
test eax, eax
je 0x7720b8
movzx eax, byte [rdi + 0x65]
and eax, 1
mov byte [rsp + 0x28], al
jne 0x7720b8
mov rax, qword [rdi + 0x10]
mov rcx, qword [rsp + 0x138]
xor r8d, r8d
xor r9d, r9d
movzx eax, word [rax]
mov dword [rbx + 0x3c], 0
mov byte [rbx + 0x11], 0
mov word [rsp + 0x32], ax
mov word [rbx + 0x16], ax
movzx eax, byte [rdi + 0x64]
mov dword [rbx + 0x18], 0
mov word [rbx + 0x1c], r8w
mov word [rbx + 0x12], r9w
mov qword [rbx], rcx
mov qword [rbx + 0x20], rdi
test al, 4
jne 0x772110
mov rdx, qword [r14]
mov r13, qword [rdx + 0x10]
test r13, r13
je 0x772110
mov ecx, dword [r13]
test ecx, ecx
jle 0x771ea8
mov r8d, dword [r12 + 0x44]
mov qword [rsp + 0x48], rbx
xor ebp, ebp
mov qword [rsp + 0x50], r12
mov r12, r13
mov ebx, r8d
nop
mov rax, rbp
shl rax, 5
mov rsi, qword [r12 + rax + 8]
nop dword [rax]
test rsi, rsi
je 0x771e90
mov eax, dword [rsi + 4]
test eax, 0x82000
je 0x771fb0
test eax, 0x80000
je 0x771fa0
mov rax, qword [rsi + 0x20]
mov rsi, qword [rax + 8]
test rsi, rsi
jne 0x771e65
nop dword [rax + rax]
add rbp, 1
cmp dword [r12], ebp
jg 0x771e50
mov rbx, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
movzx eax, byte [rdi + 0x64]
mov edx, eax
and edx, 3
cmp dl, 3
je 0x772556
xor ecx, ecx
nop dword [rax + rax]
test al, 0x20
je 0x772170
mov dword [rbx + 0x38], 0x240
xor r8d, r8d
test ecx, ecx
jne 0x772158
mov rcx, qword [rsp + 0x40]
test byte [rcx + 0x30], 0x80
jne 0x771ef0
cmp qword [rdi + 0x48], 0
je 0x772410
movzx eax, byte [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
mov byte [rbx + 0x11], al
movsx edx, word [rdi + 0x5c]
movsx ecx, word [rcx + 0x3c]
mov eax, edx
shl eax, 4
sub eax, edx
cdq
idiv ecx
movzx edx, word [rsp + 0x32]
lea eax, [rdx + rax + 1]
mov word [rbx + 0x14], ax
test r8, r8
jne 0x772190
movsx r8d, word [rsp + 0x32]
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
mov esi, r8d
call fcn.00742210
test byte [r12 + 0x3c], 0x10
je 0x772130
cmp qword [rdi + 0x50], 0
je 0x772130
mov word [rbx + 0x16], si
mov byte [r14 + 0x20], 0
xor r9d, r9d
mov r8, rdi
mov rdx, r12
mov rcx, r14
call fcn.007711f0
cmp byte [r14 + 0x20], 1
jne 0x771f80
mov rcx, qword [rsp + 0x40]
or dword [rcx + 0x30], 0x100
nop
test byte [r12 + 0x40], 2
je 0x772090
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rsi + 0x10]
jmp 0x771e60
cmp byte [rsi], 0xa7
je 0x7720c0
mov r13, qword [rdi + 0x50]
test r13, r13
je 0x771e90
cmp word [rdi + 0x5e], 0
je 0x771e90
xor r15d, r15d
jmp 0x771ff1
movzx eax, word [rdi + 0x5e]
add r15, 1
cmp eax, r15d
jle 0x771e90
mov rax, qword [rdi + 8]
cmp word [rax + r15*2], 0xfffe
jne 0x771fe0
mov rax, r15
mov r8d, ebx
mov rcx, rsi
shl rax, 5
mov rdx, qword [r13 + rax + 8]
call fcn.00770b40
test eax, eax
jne 0x771fe0
movzx eax, byte [rdi + 0x64]
mov rbx, qword [rsp + 0x48]
mov ecx, 1
mov r12, qword [rsp + 0x50]
mov edx, eax
and edx, 3
cmp dl, 3
jne 0x771ec0
movzx eax, byte [rsp + 0x34]
mov dword [rbx + 0x38], 0x100
mov byte [rsp + 0x28], al
movsx r8d, word [rsp + 0x32]
movzx eax, byte [rsp + 0x28]
mov rdx, rbx
mov rcx, qword [rsp + 0x38]
mov byte [rbx + 0x11], al
lea eax, [r8 + 0x10]
mov esi, r8d
mov word [rbx + 0x14], ax
call fcn.00742210
mov rdx, rbx
mov rcx, r14
call fcn.00753ba0
mov word [rbx + 0x16], si
test eax, eax
je 0x771f56
jmp 0x771f8c
add dword [rsp + 0x34], 1
mov rdi, qword [rdi + 0x28]
test eax, eax
jne 0x771f8c
test rdi, rdi
je 0x771f8c
mov r9, qword [rdi + 0x48]
jmp 0x771da0
xor eax, eax
jmp 0x771f80
cmp ebx, dword [rsi + 0x2c]
jne 0x771fb9
movzx edx, word [rsi + 0x30]
test dx, dx
js 0x772018
movzx ecx, word [rdi + 0x5e]
test cx, cx
je 0x771e90
mov rax, qword [rdi + 8]
sub ecx, 1
lea rcx, [rax + rcx*2 + 2]
jmp 0x772105
add rax, 2
cmp rcx, rax
je 0x771e90
cmp dx, word [rax]
jne 0x7720f8
jmp 0x772018
mov edx, eax
xor ecx, ecx
and edx, 3
cmp dl, 3
jne 0x771ec0
mov dword [rbx + 0x38], 0x100
jmp 0x772049
mov rcx, r14
mov rdx, rbx
call fcn.00753ba0
movzx ecx, word [rsp + 0x32]
mov word [rbx + 0x16], cx
test eax, eax
je 0x771f56
jmp 0x771f8c
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x28], al
jmp 0x771ef0
mov r8, qword [r12 + 0x50]
and r8, qword [rdi + 0x68]
cmp r8, 1
sbb edx, edx
and edx, 0x40
add edx, 0x200
mov dword [rbx + 0x38], edx
jmp 0x771ed2
mov rcx, qword [rsp + 0x58]
lea esi, [rdx + 0x10]
mov r15d, dword [r12 + 0x44]
mov edx, dword [rcx + 0x94]
test edx, edx
jle 0x772241
xor ebp, ebp
xor r10d, r10d
mov qword [rsp + 0x28], rbx
mov ebx, r15d
mov qword [rsp + 0x48], r12
mov r15, rcx
mov r12, rdi
mov edi, ebp
mov rbp, r10
jmp 0x7721ee
lea eax, [rsi - 1]
sub esi, 0x14
test byte [r13 + 0x14], 0x82
cmove esi, eax
add edi, 1
add rbp, 0x38
cmp dword [r15 + 0x94], edi
jle 0x772230
mov r13, qword [r15 + 0xa0]
mov r8, r12
mov edx, ebx
add r13, rbp
mov rcx, qword [r13]
call fcn.00741a20
test eax, eax
je 0x772230
movzx eax, word [r13 + 0x10]
test ax, ax
jg 0x7721d0
add esi, eax
add edi, 1
add rbp, 0x38
cmp dword [r15 + 0x94], edi
jg 0x7721ee
nop word cs:[rax + rax]
mov rbx, qword [rsp + 0x28]
mov rdi, r12
mov r12, qword [rsp + 0x48]
movzx eax, word [rbx + 0x14]
movsx edx, si
movsx ecx, ax
call fcn.0073f9d0
mov word [rbx + 0x14], ax
jmp 0x771f25
mov rax, qword [rsp + 0x40]
test byte [rax + 0x30], 0x80
je 0x772490
mov rdi, qword [rax + 0x10]
test rdi, rdi
setne r15b
xor eax, eax
cmp qword [r14 + 0x18], 0
jne 0x771d84
mov rcx, qword [rsp + 0x40]
movzx ebp, word [rcx + 0x3a]
mov rcx, qword [rsp + 0x58]
test word [rcx + 0x44], 0x1020
jne 0x771d84
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
mov rcx, qword [rcx]
test byte [rcx + 0x31], 0x80
je 0x771d84
xor eax, eax
test dl, 3
jne 0x771d84
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x30]
mov dword [rsp + 0x28], ecx
and ecx, 0x80
jne 0x771d84
and edx, 0x48
mov eax, ecx
jne 0x771d84
test byte [r12 + 0x3c], 0x10
jne 0x771d84
mov rax, qword [rsp + 0x38]
xor esi, esi
movsxd rdx, dword [rax + 0x14]
mov r13, qword [rax + 0x20]
lea rax, [rdx*8]
sub rax, rdx
lea rax, [r13 + rax*8]
mov qword [rsp + 0x28], rax
cmp bp, 0xa
jle 0x77231c
movsx ecx, bp
call fcn.0074c5f0
mov esi, eax
cmp r13, qword [rsp + 0x28]
jae 0x772579
add ebp, esi
lea eax, [rbp - 0xa]
mov word [rsp + 0x32], ax
jmp 0x7723f1
xor r8d, r8d
mov rdx, r12
mov rcx, r13
call fcn.007440e0
test eax, eax
je 0x7723ff
mov rax, qword [rbx + 0x48]
mov r11d, 1
mov qword [rbx + 0x20], 0
mov word [rbx + 0x18], r11w
mov dword [rbx + 0x3c], 1
mov qword [rax], r13
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x3f], 2
je 0x772567
test byte [rax + 0x31], 0x40
jne 0x772567
lea eax, [rbp + 0x1c]
test ax, ax
mov edx, 0
mov r10d, 0x2b
movsx ecx, si
cmovs eax, edx
mov word [rbx + 0x16], r10w
mov edx, 0x2b
mov word [rbx + 0x12], ax
call fcn.0073f9d0
mov dword [rbx + 0x38], 0x4000
mov rdx, rbx
mov rcx, r14
mov word [rbx + 0x14], ax
mov rax, qword [rsp + 0x138]
or rax, qword [r13 + 0x28]
mov qword [rbx], rax
call fcn.00753ba0
test eax, eax
sete dl
add r13, 0x38
cmp qword [rsp + 0x28], r13
jbe 0x772571
test dl, dl
je 0x772571
mov rax, qword [r13 + 0x28]
test qword [rbx + 8], rax
je 0x772336
mov edx, 1
xor eax, eax
jmp 0x7723da
test byte [r12 + 0x40], 2
jne 0x771ef0
test r8, r8
jne 0x771f56
test al, 4
jne 0x771f56
movzx eax, word [rdi + 0x5c]
movzx edx, word [rcx + 0x3c]
cmp ax, dx
jge 0x771f56
mov rcx, qword [rsp + 0x58]
test byte [rcx + 0x44], 4
jne 0x771f56
cmp byte [0x00842027], 0
je 0x771f56
mov rcx, qword [rcx]
mov rcx, qword [rcx]
test byte [rcx + 0x60], 0x20
jne 0x771f56
movsx ecx, ax
mov byte [rbx + 0x11], 0
mov eax, ecx
shl eax, 4
sub eax, ecx
movsx ecx, dx
cdq
idiv ecx
movzx edx, word [rsp + 0x32]
lea eax, [rdx + rax + 1]
mov word [rbx + 0x14], ax
jmp 0x771f25
lea r8, [rsp + 0x70]
xor eax, eax
mov ecx, 0xe
xor esi, esi
mov rdi, r8
mov word [rsp + 0x6e], si
rep stosq qword [rdi], rax
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x6a]
mov byte [rsp + 0xd2], 5
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x80], rax
movzx edx, byte [r12 + 0x40]
mov dword [rsp + 0xce], 0x10001
mov qword [rsp + 0x88], rcx
movzx eax, word [rcx + 0x3c]
or byte [rsp + 0xd4], 3
movzx ebp, word [rcx + 0x3a]
mov word [rsp + 0xcc], ax
mov word [rsp + 0x6c], bp
test dl, 1
jne 0x772519
mov rax, qword [r12 + 0x20]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x98], rax
xor r9d, r9d
cmp qword [r14 + 0x18], 0
mov rdi, r8
jne 0x771d91
mov rax, qword [rsp + 0x58]
test word [rax + 0x44], 0x1020
jne 0x771d8d
mov rax, qword [rax]
mov rax, qword [rax]
test byte [rax + 0x31], 0x80
je 0x771d8d
mov r15d, 1
jmp 0x7722ae
mov dword [rbx + 0x38], 0x100
mov byte [rsp + 0x28], 0
jmp 0x772049
movzx eax, word [rsp + 0x32]
jmp 0x772389
and r15d, edx
jmp 0x771d84
xor eax, eax
jmp 0x771d84