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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [rdx]
mov r12, rcx
movzx ebp, byte [rdx + 0x20]
mov rdi, rdx
mov rbx, qword [rcx + 0x10]
not ebp
and ebp, 1
mov r13d, r9d
mov ecx, dword [rax]
mov eax, dword [r12 + 0x38]
mov dword [rsp + 0x80], ecx
lea edx, [rcx + rbp]
add edx, dword [rsp + 0xa8]
inc eax
mov dword [rsp + 0x90], edx
cmp dword [rsp + 0xb0], 0
mov dword [r12 + 0x38], eax
mov r10d, dword [rdi + 8]
mov dword [rsp + 0x88], r10d
mov dword [rsp + 0x30], eax
je 0x140077088
mov r14d, r9d
sub r14d, ecx
sub r14d, ebp
jmp 0x140077093
lea r14d, [rax + 1]
add eax, edx
mov dword [r12 + 0x38], eax
mov eax, dword [r8 + 0x14]
test eax, eax
je 0x1400770a4
lea ecx, [rax + 1]
mov dword [rsp + 0x34], ecx
jmp 0x1400770ac
mov eax, dword [r8 + 0x10]
mov dword [rsp + 0x34], eax
mov r15, qword [rbx + 0x18]
movsxd rsi, dword [r15 + 0x54]
lea eax, [rsi + 1]
mov dword [r15 + 0x54], eax
lea eax, [rsi - 1]
test esi, eax
jne 0x1400770e0
mov rdx, qword [r15 + 0x58]
lea eax, [rsi*2 + 1]
mov rcx, qword [r15]
movsxd r8, eax
shl r8, 2
call fcn.1400159c0
mov qword [r15 + 0x58], rax
mov rcx, qword [r15 + 0x58]
test rcx, rcx
je 0x1400770f0
mov dword [rcx + rsi*4], 0xffffffff
mov r9d, dword [rsp + 0xa0]
mov eax, 1
mov rdx, qword [rdi]
test r9d, r9d
mov ecx, 5
not esi
cmovne eax, ecx
mov dword [rdi + 0x1c], esi
mov rcx, r12
mov byte [rsp + 0x20], al
mov r8d, r14d
call fcn.140053db0
mov esi, dword [rsp + 0x80]
xor r15d, r15d
test ebp, ebp
je 0x140077186
mov rax, qword [rbx + 0x18]
lea edx, [r14 + rsi]
movsxd rcx, dword [rbx + 0xb8]
mov r8d, dword [rdi + 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x14007715b
mov r9d, edx
mov dword [rsp + 0x20], r15d
lea edx, [r15 + 0x72]
mov rcx, rbx
call fcn.140036ff0
jmp 0x140077186
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x72
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
cmp dword [rsp + 0xb0], r15d
jne 0x1400771b0
mov eax, dword [rsp + 0xa8]
test eax, eax
jle 0x1400771b0
lea r8d, [r14 + rsi]
mov r9d, eax
add r8d, ebp
mov edx, r13d
mov rcx, r12
call fcn.1400526b0
mov edx, dword [rsp + 0x90]
mov r13d, dword [rsp + 0x88]
sub edx, r13d
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov r9d, dword [rsp + 0x30]
mov dword [rsp + 0x90], edx
lea r8d, [r14 + r13]
cmp dword [rax + 0x3c], ecx
jg 0x1400771f9
mov dword [rsp + 0x20], r9d
mov rcx, rbx
mov r9d, edx
mov edx, 0x64
call fcn.140036ff0
jmp 0x140077224
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x64
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r15
lea r15, [0x1400fbd48]
test r13d, r13d
jle 0x1400774db
mov ecx, dword [r12 + 0x38]
lea eax, [rcx + 1]
add ecx, dword [rdi + 8]
mov dword [r12 + 0x38], ecx
sub esi, dword [rdi + 8]
add esi, ebp
mov dword [rsp + 0xb0], eax
test ebp, ebp
je 0x140077261
mov r8d, dword [rsp + 0x80]
add r8d, r14d
jmp 0x140077265
mov r8d, dword [rdi + 0xc]
mov edx, 0x16
mov eax, 0x6e
test ebp, ebp
mov rcx, rbx
cmove edx, eax
call fcn.140037130
mov rcx, qword [rbx + 0x18]
mov r13d, eax
movsxd rdx, dword [rbx + 0xb8]
mov r8d, dword [rdi + 8]
cmp dword [rcx + 0x3c], edx
jg 0x1400772b2
mov dword [rsp + 0x20], r8d
mov r9d, r14d
mov r8d, dword [rsp + 0xb0]
mov edx, 0x60
mov rcx, rbx
call fcn.140036ff0
jmp 0x1400772e7
lea rcx, [rdx + rdx*2]
xor r9d, r9d
lea eax, [rdx + 1]
mov edx, dword [rsp + 0xb0]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x60
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r9
mov ecx, dword [rdi + 0x18]
test ecx, ecx
jns 0x1400772f6
mov ecx, dword [rbx + 0xb8]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x140077304
mov rbp, r15
jmp 0x140077313
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rbp, [rax + rcx*8]
mov rax, qword [r12]
cmp byte [rax + 0x55], 0
jne 0x1400776b8
mov eax, dword [rsp + 0xa8]
xor edx, edx
add eax, esi
mov rsi, qword [rbp + 0x10]
mov dword [rbp + 8], eax
movzx r8d, word [rsi + 6]
mov rcx, qword [rsi + 0x18]
call fcn.1400a6c90
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x140077359
mov r8, rsi
mov edx, 0xfffffffb
call fcn.140037e90
jmp 0x140077392
movsxd rax, dword [rbx + 0xb8]
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x14007738a
mov r9d, 0xfffffffb
mov r8, rsi
mov rcx, rbx
call fcn.1400380f0
jmp 0x140077392
mov qword [rdx + 0x10], rsi
mov byte [rdx + 1], 0xfb
movzx r9d, word [rsi + 8]
mov rcx, r12
mov r8d, dword [rsp + 0x88]
dec r9d
mov rdx, qword [rdi]
call fcn.1400788f0
mov qword [rbp + 0x10], rax
movsxd rsi, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
lea edx, [rsi + 1]
cmp dword [rax + 0x3c], esi
jg 0x1400773dc
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x12]
call fcn.140036ff0
jmp 0x140077406
mov rax, qword [rbx + 0x68]
lea rcx, [rsi + rsi*2]
mov dword [rbx + 0xb8], edx
xor r8d, r8d
mov dword [rax + rcx*8], 0x12
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, rbx
call fcn.140037930
mov dword [rdi + 0x14], eax
mov edx, 0xe
mov r8d, dword [r12 + 0x38]
mov rcx, rbx
inc r8d
mov dword [r12 + 0x38], r8d
mov r9d, dword [rdi + 0x14]
mov dword [rdi + 0x10], r8d
call fcn.1400371a0
mov r8d, dword [rdi + 0xc]
mov edx, 0x85
mov rcx, rbx
call fcn.140037130
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x140077460
mov r9d, dword [rdi + 0x1c]
mov r8d, eax
mov edx, 0x16
mov rcx, rbx
call fcn.1400371a0
mov edx, dword [rbx + 0xb8]
test r13d, r13d
jns 0x14007746f
lea r13d, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x14007747d
mov rax, r15
jmp 0x14007748c
movsxd rax, r13d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov r8d, dword [rsp + 0xb0]
mov rcx, r12
mov dword [rax + 8], edx
mov edx, r14d
mov r9d, dword [rdi + 8]
call fcn.1400526b0
mov rax, qword [rbx]
mov edx, dword [rbx + 0xb8]
cmp byte [rax + 0x55], 0
je 0x1400774ba
mov rax, r15
jmp 0x1400774d0
lea eax, [rdx - 1]
test esi, esi
cmovns eax, esi
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov r13d, dword [rsp + 0x88]
mov dword [rax + 8], edx
movzx edx, byte [rdi + 0x20]
mov rcx, rbx
mov eax, dword [rsp + 0x90]
not dl
mov r9d, dword [rsp + 0x30]
and edx, 1
mov r8d, dword [rdi + 0xc]
add edx, 0x7d
mov dword [rsp + 0x28], eax
lea eax, [r14 + r13]
mov dword [rsp + 0x20], eax
call fcn.140037810
mov edx, dword [rsp + 0x34]
test edx, edx
je 0x1400776b8
mov rax, qword [rbx + 0x18]
xor r13d, r13d
movsxd rsi, dword [rbx + 0xb8]
mov ebp, r13d
cmp dword [rax + 0x3c], esi
jg 0x140077548
mov r8d, edx
mov dword [rsp + 0x20], r13d
lea edx, [r13 + 0x44]
xor r9d, r9d
mov rcx, rbx
call fcn.140036ff0
mov esi, eax
jmp 0x14007756e
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x44
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], r13
mov qword [rax + rcx*8 + 0x10], r13
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x14007759a
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x35]
call fcn.140036ff0
jmp 0x1400775c0
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x35
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], r13
mov qword [rax + rcx*8 + 0x10], r13
cmp byte [rdi + 0x21], bpl
je 0x1400775f2
inc dword [r12 + 0x38]
mov edx, 0x62
mov ebp, dword [r12 + 0x38]
mov rcx, rbx
mov r12d, dword [rsp + 0x80]
mov r9d, r12d
mov r8d, dword [rdi + 0xc]
mov dword [rsp + 0x20], ebp
call fcn.140037050
jmp 0x1400775fa
mov r12d, dword [rsp + 0x80]
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x140077626
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x76]
call fcn.140036ff0
jmp 0x14007764c
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x76
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], r13
mov qword [rax + rcx*8 + 0x10], r13
cmp byte [rdi + 0x21], r13b
je 0x14007768f
mov r9d, dword [rbx + 0xb8]
lea r8d, [r14 + r12]
add r9d, 2
mov dword [rsp + 0x20], ebp
mov edx, 0x25
mov rcx, rbx
call fcn.140037050
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x14007768f
lea rcx, [rax + rax*2]
mov edx, 0x80
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8 - 0x16], dx
mov rax, qword [rbx]
mov edx, dword [rbx + 0xb8]
cmp byte [rax + 0x55], r13b
jne 0x1400776b4
lea eax, [rdx - 1]
test esi, esi
cmovns eax, esi
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea r15, [rax + rcx*8]
mov dword [r15 + 8], edx
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret