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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push r15
sub rsp, 0x48
mov r8, qword [rcx]
mov r15, rdx
or dword [rdx + 0x10], 1
mov rbx, rcx
mov r9, qword [rdx + 8]
mov qword [rsp + 0x40], rsi
and r9, 0xfffffffffffffffe
test byte [rdx + 8], 1
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
je 0x140179849
mov r9, qword [r9]
lea rcx, [rdx + 0xb0]
xor edx, edx
call fcn.14013d4c0
mov r8, qword [rbx + 8]
cmp qword [r8 + 0x10], 0
je 0x140179887
or dword [r15 + 0x10], 2
mov r9, qword [r15 + 8]
and r9, 0xfffffffffffffffe
test byte [r15 + 8], 1
je 0x140179879
mov r9, qword [r9]
lea rcx, [r15 + 0xb8]
xor edx, edx
call fcn.14013d4c0
cmp dword [rbx + 0x3c], 3
jne 0x1401798bf
mov ecx, 3
call fcn.14018ca80
or dword [r15 + 0x10], 4
mov r9, qword [r15 + 8]
and r9, 0xfffffffffffffffe
test byte [r15 + 8], 1
je 0x1401798ae
mov r9, qword [r9]
lea rcx, [r15 + 0xc0]
mov r8, rax
xor edx, edx
call fcn.1400a1fb0
xor r12d, r12d
mov qword [rsp + 0x78], rbp
mov esi, r12d
cmp dword [rbx + 0x20], r12d
jle 0x14017990b
mov edx, esi
mov rcx, rbx
call fcn.140192d00
lea rcx, [r15 + 0x18]
mov rdi, qword [rax]
call fcn.14013c1b0
cmp rax, rdi
je 0x140179904
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x1401798f8
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.1400104d0
inc esi
cmp esi, dword [rbx + 0x20]
jl 0x1401798d0
mov edi, r12d
cmp dword [rbx + 0x24], r12d
jle 0x140179947
mov rsi, r12
nop word [rax + rax]
mov rax, qword [rbx + 0x58]
lea rdx, [rsp + 0x60]
mov ecx, dword [rsi + rax]
mov dword [rsp + 0x60], ecx
lea rcx, [r15 + 0x90]
call fcn.14013bfb0
inc edi
lea rsi, [rsi + 4]
cmp edi, dword [rbx + 0x24]
jl 0x140179920
mov edi, r12d
cmp dword [rbx + 0x28], r12d
jle 0x140179987
mov rsi, r12
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x60]
lea rdx, [rsp + 0x60]
mov ecx, dword [rsi + rax]
mov dword [rsp + 0x60], ecx
lea rcx, [r15 + 0xa0]
call fcn.14013bfb0
inc edi
lea rsi, [rsi + 4]
cmp edi, dword [rbx + 0x28]
jl 0x140179960
mov esi, r12d
cmp dword [rbx + 0x2c], r12d
jle 0x1401799e5
mov rcx, qword [r15 + 0x40]
test rcx, rcx
je 0x1401799af
movsxd rdx, dword [r15 + 0x38]
cmp edx, dword [rcx]
jge 0x1401799af
mov r8, qword [rcx + rdx*8 + 8]
lea eax, [rdx + 1]
mov dword [r15 + 0x38], eax
jmp 0x1401799c7
mov rcx, qword [r15 + 0x30]
call fcn.1401cccf0
mov rdx, rax
lea rcx, [r15 + 0x30]
call fcn.14013c300
mov r8, rax
movsxd rcx, esi
mov rdx, r8
lea rcx, [rcx + rcx*8]
shl rcx, 4
add rcx, qword [rbx + 0x68]
call fcn.140178c00
inc esi
cmp esi, dword [rbx + 0x2c]
jl 0x140179990
mov esi, r12d
cmp dword [rbx + 0x30], r12d
jle 0x140179a45
nop
mov rcx, qword [r15 + 0x58]
test rcx, rcx
je 0x140179a0f
movsxd rdx, dword [r15 + 0x50]
cmp edx, dword [rcx]
jge 0x140179a0f
mov r8, qword [rcx + rdx*8 + 8]
lea eax, [rdx + 1]
mov dword [r15 + 0x50], eax
jmp 0x140179a27
mov rcx, qword [r15 + 0x48]
call fcn.1401cce10
mov rdx, rax
lea rcx, [r15 + 0x48]
call fcn.14013c300
mov r8, rax
movsxd rcx, esi
mov rdx, r8
lea rcx, [rcx + rcx*4]
shl rcx, 4
add rcx, qword [rbx + 0x70]
call fcn.1401790c0
inc esi
cmp esi, dword [rbx + 0x30]
jl 0x1401799f0
mov dword [rsp + 0x60], r12d
cmp dword [rbx + 0x34], r12d
jle 0x140179b9c
mov qword [rsp + 0x28], r13
mov rdi, r12
lea r13, [r15 + 0x60]
mov qword [rsp + 0x20], r14
lea r15, vtable.google::protobuf::ServiceOptions.0
mov qword [rsp + 0x70], r12
mov rsi, qword [r13 + 0x10]
test rsi, rsi
je 0x140179a90
movsxd rcx, dword [r13 + 8]
cmp ecx, dword [rsi]
jge 0x140179a90
mov rsi, qword [rsi + rcx*8 + 8]
lea eax, [rcx + 1]
mov dword [r13 + 8], eax
jmp 0x140179aa7
mov rcx, qword [r13]
call fcn.1401cd5f0
mov rdx, rax
mov rcx, r13
call fcn.14013c300
mov rsi, rax
mov r14, qword [rbx + 0x78]
add r14, rdi
mov r8, qword [r14]
or dword [rsi + 0x10], 1
mov r9, qword [rsi + 8]
and r9, 0xfffffffffffffffe
test byte [rsi + 8], 1
je 0x140179ac6
mov r9, qword [r9]
lea rcx, [rsi + 0x30]
xor edx, edx
call fcn.14013d4c0
mov ebp, r12d
cmp dword [r14 + 0x28], r12d
jle 0x140179b31
nop word [rax + rax]
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x140179afe
movsxd rdx, dword [rsi + 0x20]
cmp edx, dword [rcx]
jge 0x140179afe
mov r8, qword [rcx + rdx*8 + 8]
lea eax, [rdx + 1]
mov dword [rsi + 0x20], eax
jmp 0x140179b16
mov rcx, qword [rsi + 0x18]
call fcn.1401cd420
mov rdx, rax
lea rcx, [rsi + 0x18]
call fcn.14013c300
mov r8, rax
movsxd rcx, ebp
mov rdx, r8
imul rcx, rcx, 0x68
add rcx, qword [r14 + 0x20]
call fcn.140179c80
inc ebp
cmp ebp, dword [r14 + 0x28]
jl 0x140179ae0
mov rdi, qword [r14 + 0x18]
cmp rdi, r15
je 0x140179b6c
or dword [rsi + 0x10], 2
mov rax, qword [rsi + 0x38]
test rax, rax
jne 0x140179b61
mov rcx, qword [rsi + 8]
and rcx, 0xfffffffffffffffe
test byte [rsi + 8], 1
je 0x140179b58
mov rcx, qword [rcx]
call fcn.1401cd680
mov qword [rsi + 0x38], rax
mov rdx, rdi
mov rcx, rax
call fcn.1401d0320
mov eax, dword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
inc eax
add rdi, 0x30
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x70], rdi
cmp eax, dword [rbx + 0x34]
jl 0x140179a71
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x78]
cmp dword [rbx + 0x38], r12d
jle 0x140179c12
nop dword [rax]
mov rcx, qword [r15 + 0x88]
test rcx, rcx
je 0x140179bd8
movsxd rdx, dword [r15 + 0x80]
cmp edx, dword [rcx]
jge 0x140179bd8
mov r8, qword [rcx + rdx*8 + 8]
lea eax, [rdx + 1]
mov dword [r15 + 0x80], eax
jmp 0x140179bf0
mov rcx, qword [r15 + 0x78]
call fcn.1401cd090
mov rdx, rax
lea rcx, [r15 + 0x78]
call fcn.14013c300
mov r8, rax
movsxd rcx, r12d
mov rdx, r8
imul rcx, rcx, 0x98
add rcx, qword [rbx + 0x80]
call fcn.140179300
inc r12d
cmp r12d, dword [rbx + 0x38]
jl 0x140179bb0
mov rbx, qword [rbx + 0x88]
lea rax, vtable.google::protobuf::FileOptions.0
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp rbx, rax
je 0x140179c69
or dword [r15 + 0x10], 8
mov rax, qword [r15 + 0xc8]
test rax, rax
jne 0x140179c5e
mov rcx, qword [r15 + 8]
and rcx, 0xfffffffffffffffe
test byte [r15 + 8], 1
je 0x140179c52
mov rcx, qword [rcx]
call fcn.1401cd260
mov qword [r15 + 0xc8], rax
mov rdx, rbx
mov rcx, rax
call fcn.1401d03b0
add rsp, 0x48
pop r15
pop rbx
ret