Function at 0x140029c0d
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 rbp, qword [rdx + 0x28]
cmp dword [rbp + 0x40], 1
mov qword [rsp + 0xd8], r9
mov r13, rcx
mov r12, rdx
mov rbx, r8
jne 0x14002a4e1
cmp dword [rbp + 0x48], 0x23
jne 0x14002a4e1
xor r8d, r8d
cmp qword [rbp + 0x638], 0
je 0x140029c62
xor r8d, r8d
cmp qword [rbp + 0x6a8], 0
setne r8b
test byte [rbx + 0x8c], 4
je 0x140029c7c
lea r8, str.elf_x86_64_finish_dynamic_symbol
mov edx, 0x10c6
jmp 0x140029d5d
cmp byte [rbx + 0x18], 2
je 0x140029c8c
xor r10d, r10d
mov dword [rsp + 0x34], r10d
jmp 0x140029cc4
mov rdx, rbx
mov rcx, r12
mov dword [rsp + 0x38], r8d
call fcn.140031cc9
mov dword [rsp + 0x34], 1
mov r8d, dword [rsp + 0x38]
test al, al
jne 0x140029cc4
test byte [r12], 2
jne 0x140029c82
xor eax, eax
test byte [rbx + 0x8c], 3
setne al
mov dword [rsp + 0x34], eax
mov r10, qword [rbx + 0x48]
cmp r10, 0xffffffffffffffff
je 0x14002a06a
mov r11, qword [rbp + 0x638]
test r11, r11
je 0x140029cf6
mov rax, qword [rbp + 0x640]
mov r15, qword [rbp + 0x628]
mov r14, r11
mov qword [rsp + 0x40], rax
jmp 0x140029d10
mov rax, qword [rbp + 0x678]
mov r14, qword [rbp + 0x670]
mov r15, qword [rbp + 0x668]
mov qword [rsp + 0x40], rax
cmp dword [rbx + 0x3c], 0xffffffff
jne 0x140029d39
cmp dword [rsp + 0x34], 0
jne 0x140029d39
test byte [rbx + 0x64], 0x10
jne 0x140029d2a
test byte [r12], 2
jne 0x140029d51
mov eax, dword [rbx + 0x60]
and eax, 0x20000ff
cmp eax, 0x200000a
jne 0x140029d51
test r14, r14
sete al
test r15, r15
sete dl
or al, dl
jne 0x140029d51
cmp qword [rsp + 0x40], 0
jne 0x140029d69
lea r8, str.elf_x86_64_finish_dynamic_symbol
mov edx, 0x10e6
lea rcx, str._binutils_2.40_bfd_elf64_x86_64.c
call fcn.140004e35
mov ecx, dword [rbp + 0x6f8]
mov rax, r10
xor edx, edx
div rcx
lea rdi, [rax*8]
mov qword [rsp + 0x38], rdi
cmp r11, r14
jne 0x140029d9f
mov edx, dword [rbp + 0x6fc]
sub rax, rdx
lea rax, [rax*8 + 0x18]
mov qword [rsp + 0x38], rax
add r10, qword [r14 + 0xa0]
mov rsi, qword [rbp + 0x6f0]
mov rdi, r10
rep movsb byte [rdi], byte [rsi]
test r8d, r8d
je 0x140029dee
mov rcx, qword [rbp + 0x6a8]
mov rdx, qword [rbp + 0x728]
mov rax, qword [rbx + 0x98]
add rax, qword [rcx + 0xa0]
mov rsi, qword [rdx]
mov ecx, dword [rdx + 0x10]
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
mov rsi, qword [rbp + 0x6a8]
mov rdi, qword [rbx + 0x98]
jmp 0x140029df5
mov rdi, qword [rbx + 0x48]
mov rsi, r14
mov edx, dword [rbp + 0x704]
mov rax, qword [r15 + 0x58]
mov rcx, qword [rsp + 0x38]
sub rax, rdx
mov rdx, qword [r15 + 0x60]
add rax, qword [rdx + 0x30]
mov rdx, qword [rsi + 0x60]
add rax, rcx
sub rax, rdi
sub rax, qword [rsi + 0x58]
sub rax, qword [rdx + 0x30]
mov edx, 0xffffffff
mov r10, rax
mov eax, 0x80000000
add rax, r10
cmp rdx, rax
jae 0x140029e56
mov rax, qword [r12 + 0x20]
mov r8, qword [rbx + 8]
mov qword [rsp + 0x48], r10
mov rdx, r13
lea rcx, str._F_pB:_PC_relative_offset_overflow_in_PLT_entry_for___s_n
call qword [rax + 0x58]
mov r10, qword [rsp + 0x48]
mov edx, dword [rbp + 0x700]
mov rax, qword [r13 + 8]
mov rcx, r10
add rdx, rdi
add rdx, qword [rsi + 0xa0]
call qword [rax + 0x50]
cmp dword [rsp + 0x34], 0
jne 0x14002a185
cmp dword [rbp + 0x6fc], 0
je 0x140029eb1
mov rax, qword [rbp + 0x720]
mov rdx, qword [rsp + 0x38]
add rdx, qword [r15 + 0xa0]
mov ecx, dword [rax + 0x5c]
mov rax, qword [r14 + 0x60]
add rcx, qword [rbx + 0x48]
add rcx, qword [r14 + 0x58]
add rcx, qword [rax + 0x30]
mov rax, qword [r13 + 8]
call qword [rax + 0x38]
mov rdx, qword [r15 + 0x60]
mov rdi, qword [rsp + 0x38]
movsxd rcx, dword [rbx + 0x3c]
mov rax, qword [r15 + 0x58]
lea r15, [rsp + 0x58]
add rax, qword [rdx + 0x30]
add rax, rdi
cmp ecx, 0xffffffff
mov qword [rsp + 0x58], rax
je 0x140029efc
test byte [r12], 2
je 0x140029ee9
test byte [rbx + 0x61], 3
je 0x140029f8f
mov eax, dword [rbx + 0x60]
and eax, 0x20000ff
cmp eax, 0x200000a
jne 0x140029f8f
mov rcx, qword [rbx + 0x28]
mov rax, qword [r12 + 0x20]
mov rdx, qword [rbx + 8]
mov r8, qword [rcx + 0xe0]
lea rcx, [0x1400af61d]
call qword [rax + 0x68]
mov edx, 0x25
xor ecx, ecx
call qword [rbp + 0x7d8]
mov rdx, qword [rbx + 0x28]
mov qword [rsp + 0x60], rax
mov rax, qword [rdx + 0x58]
mov rdx, qword [rdx + 0x60]
add rax, qword [rbx + 0x30]
add rax, qword [rdx + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x838]
test byte [rax + 1], 2
je 0x140029f7b
mov qword [rsp + 0x28], r15
mov rdx, qword [rsp + 0x40]
mov r8, rbx
mov rcx, r12
lea rax, str.R_X86_64_IRELATIVE
mov r9, qword [rsp + 0xd8]
mov qword [rsp + 0x20], rax
call fcn.14003119a
mov rdi, qword [rbp + 0x768]
lea rax, [rdi - 1]
mov qword [rbp + 0x768], rax
jmp 0x140029fb9
mov edx, 7
call qword [rbp + 0x7d8]
mov rdi, qword [rbp + 0x760]
xor r9d, r9d
mov qword [rsp + 0x60], rax
lea rax, [rdi + 1]
mov qword [rsp + 0x68], r9
mov qword [rbp + 0x760], rax
cmp qword [rbp + 0x638], r14
jne 0x14002a035
cmp dword [rbp + 0x6fc], 0
je 0x14002a035
mov rdx, qword [rbp + 0x720]
mov rax, qword [rbx + 0x48]
mov rcx, rdi
mov esi, dword [rdx + 0x58]
mov edx, dword [rdx + 0x4c]
add rsi, rax
add rdx, rax
mov rax, qword [r13 + 8]
add rdx, qword [r14 + 0xa0]
call qword [rax + 0x50]
mov eax, 0x80000000
cmp rax, rsi
jae 0x14002a013
mov rax, qword [r12 + 0x20]
mov r8, qword [rbx + 8]
mov rdx, r13
lea rcx, str._F_pB:_branch_displacement_overflow_in_PLT_entry_for___s_n
call qword [rax + 0x58]
mov rax, qword [rbp + 0x720]
neg rsi
mov rcx, rsi
mov edx, dword [rax + 0x50]
mov rax, qword [r13 + 8]
add rdx, qword [rbx + 0x48]
add rdx, qword [r14 + 0xa0]
call qword [rax + 0x50]
mov rax, qword [r13 + 8]
mov rdx, r15
mov rcx, r13
mov rax, qword [rax + 0x380]
mov rax, qword [rax + 0x340]
movzx r8d, byte [rax + 4]
imul r8, rdi
mov rdi, qword [rsp + 0x40]
add r8, qword [rdi + 0xa0]
call qword [rax + 0x78]
jmp 0x14002a154
mov r15, qword [rbx + 0x90]
cmp r15, 0xffffffffffffffff
je 0x14002a14d
mov rax, qword [rbx + 0x40]
mov r14, qword [rbp + 0x6b8]
mov rdx, qword [rbp + 0x620]
cmp rax, 0xffffffffffffffff
je 0x14002a0ae
mov ecx, dword [rbx + 0x60]
and ecx, 0x20000ff
cmp ecx, 0x200000a
je 0x14002a0ae
test r14, r14
je 0x14002a0ae
test rdx, rdx
jne 0x14002a0bf
lea r8, str.elf_x86_64_finish_dynamic_symbol
mov edx, 0x1180
jmp 0x140029d5d
mov r8, qword [r14 + 0xa0]
mov r9, qword [rbp + 0x728]
add r8, r15
mov ecx, dword [r9 + 0x10]
mov rsi, qword [r9]
mov rdi, r8
rep movsb byte [rdi], byte [rsi]
mov esi, eax
sub esi, r15d
mov rcx, qword [rdx + 0x60]
mov rax, qword [rbp + 0x728]
add esi, dword [rdx + 0x58]
sub esi, dword [rax + 0x18]
mov r8, qword [rcx + 0x30]
mov rcx, qword [r14 + 0x60]
mov rcx, qword [rcx + 0x30]
add esi, r8d
sub esi, dword [r14 + 0x58]
sub esi, ecx
jns 0x14002a110
cmp rcx, r8
jb 0x14002a119
jmp 0x14002a115
cmp rcx, r8
jb 0x14002a12f
test esi, esi
jle 0x14002a12f
mov rax, qword [r12 + 0x20]
mov r8, qword [rbx + 8]
mov rdx, r13
lea rcx, str._F_pB:_PC_relative_offset_overflow_in_GOT_PLT_entry_for___s_n
call qword [rax + 0x58]
mov rax, qword [rbp + 0x728]
movsxd rcx, esi
mov edx, dword [rax + 0x14]
mov rax, qword [r13 + 8]
add rdx, r15
add rdx, qword [r14 + 0xa0]
call qword [rax + 0x50]
cmp dword [rsp + 0x34], 0
jne 0x14002a185
test byte [rbx + 0x63], 2
jne 0x14002a185
cmp qword [rbx + 0x48], 0xffffffffffffffff
jne 0x14002a16b
cmp qword [rbx + 0x90], 0xffffffffffffffff
je 0x14002a185
mov rax, qword [rsp + 0xd8]
xor r8d, r8d
mov dword [rax + 0x18], r8d
test byte [rbx + 0x65], 4
jne 0x14002a185
xor ecx, ecx
mov qword [rax], rcx
mov r9, qword [rsp + 0xd8]
mov rdx, rbp
mov r8, rbx
mov rcx, r12
call fcn.140031117
mov rdx, qword [rbx + 0x40]
cmp rdx, 0xffffffffffffffff
je 0x14002a440
mov al, byte [rbx + 0x88]
lea ecx, [rax - 4]
and cl, 0xfb
setne cl
and eax, 0xfffffff7
cmp al, 2
setne al
test cl, al
je 0x14002a440
cmp dword [rsp + 0x34], 0
jne 0x14002a440
mov rsi, qword [rbp + 0x630]
mov r8, qword [rbp + 0x620]
test rsi, rsi
sete dil
test r8, r8
sete al
or dil, al
je 0x14002a204
lea r8, str.elf_x86_64_finish_dynamic_symbol
mov edx, 0x11c4
jmp 0x140029d5d
mov rcx, qword [r8 + 0x60]
mov rax, rdx
and rax, 0xfffffffffffffffe
add rax, qword [r8 + 0x58]
add rax, qword [rcx + 0x30]
mov qword [rsp + 0x58], rax
mov eax, dword [rbx + 0x60]
and eax, 0x20000ff
cmp eax, 0x200000a
jne 0x14002a316
mov rcx, qword [rbx + 0x48]
cmp rcx, 0xffffffffffffffff
jne 0x14002a2ad
cmp qword [rbp + 0x638], 0
jne 0x14002a24a
mov rsi, qword [rbp + 0x678]
mov rdx, rbx
mov rcx, r12
call fcn.140031cc9
test al, al
je 0x14002a3c1
mov rcx, qword [rbx + 0x28]
mov rax, qword [r12 + 0x20]
mov rdx, qword [rbx + 8]
mov r8, qword [rcx + 0xe0]
lea rcx, [0x1400af61d]
call qword [rax + 0x68]
mov edx, 0x25
xor ecx, ecx
call qword [rbp + 0x7d8]
mov rdx, qword [rbx + 0x28]
mov qword [rsp + 0x60], rax
mov rax, qword [rdx + 0x58]
mov rdx, qword [rdx + 0x60]
add rax, qword [rbx + 0x30]
add rax, qword [rdx + 0x30]
lea rdx, str.R_X86_64_IRELATIVE
jmp 0x14002a3f9
test byte [r12], 1
jne 0x14002a3c1
test byte [rbx + 0x65], 4
jne 0x14002a2cf
lea r8, str.elf_x86_64_finish_dynamic_symbol
mov edx, 0x11f6
jmp 0x140029d5d
mov rax, qword [rbp + 0x6a8]
test rax, rax
je 0x14002a2e4
mov rcx, qword [rbx + 0x98]
jmp 0x14002a2f7
mov rax, qword [rbp + 0x638]
test rax, rax
jne 0x14002a2f7
mov rax, qword [rbp + 0x670]
add rcx, qword [rax + 0x58]
add rdx, qword [r8 + 0xa0]
mov r8, qword [rax + 0x60]
mov rax, qword [r13 + 8]
add rcx, qword [r8 + 0x30]
call qword [rax + 0x38]
jmp 0x14002a4dc
test byte [r12], 1
je 0x14002a3aa
mov rdx, rbx
mov rcx, r12
call fcn.140031cc9
test al, al
je 0x14002a3aa
mov al, byte [rbx + 0x63]
test al, 2
jne 0x14002a358
test byte [rbx + 0x19], 0x18
jne 0x14002a358
test byte [rbx + 0x8d], 1
jne 0x14002a358
test al, 0xa
jne 0x14002a4e3
cmp byte [rbx + 0x18], 3
jne 0x14002a4e3
test byte [rbx + 0x40], 1
jne 0x14002a36f
mov edx, 0x1211
lea rcx, str._binutils_2.40_bfd_elf64_x86_64.c
call fcn.140004e1a
cmp byte [r12 + 3], 0
js 0x14002a440
mov edx, 8
xor ecx, ecx
call qword [rbp + 0x7d8]
mov rdx, qword [rbx + 0x28]
mov qword [rsp + 0x60], rax
mov rax, qword [rdx + 0x58]
mov rdx, qword [rdx + 0x60]
add rax, qword [rbx + 0x30]
add rax, qword [rdx + 0x30]
lea rdx, [0x1400af5be]
jmp 0x14002a3f9
test byte [rbx + 0x40], 1
je 0x14002a3c1
mov edx, 0x121f
lea rcx, str._binutils_2.40_bfd_elf64_x86_64.c
call fcn.140004e1a
mov rax, qword [rbp + 0x620]
mov rdx, qword [rbx + 0x40]
xor ecx, ecx
add rdx, qword [rax + 0xa0]
mov rax, qword [r13 + 8]
call qword [rax + 0x38]
mov edx, 6
movsxd rcx, dword [rbx + 0x3c]
call qword [rbp + 0x7d8]
xor edx, edx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
jmp 0x14002a430
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x838]
test byte [rax + 1], 2
je 0x14002a430
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov r8, rbx
mov rdx, rsi
mov qword [rsp + 0x28], rax
mov r9, qword [rsp + 0xd8]
mov rcx, r12
call fcn.14003119a
lea r8, [rsp + 0x58]
mov rdx, rsi
mov rcx, r13
call fcn.140059193
cmp byte [rbx + 0x63], 0
jns 0x14002a4dc
movsxd rcx, dword [rbx + 0x3c]
cmp ecx, 0xffffffff
je 0x14002a471
mov al, byte [rbx + 0x18]
sub eax, 3
cmp al, 1
ja 0x14002a471
cmp qword [rbp + 0x650], 0
je 0x14002a471
cmp qword [rbp + 0x660], 0
jne 0x14002a482
lea r8, str.elf_x86_64_finish_dynamic_symbol
mov edx, 0x1238
jmp 0x140029d5d
mov rdx, qword [rbx + 0x28]
mov rax, qword [rdx + 0x58]
mov rdx, qword [rdx + 0x60]
add rax, qword [rbx + 0x30]
add rax, qword [rdx + 0x30]
mov edx, 5
mov qword [rsp + 0x58], rax
call qword [rbp + 0x7d8]
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x658]
cmp qword [rbx + 0x28], rax
jne 0x14002a4c8
mov rdx, qword [rbp + 0x660]
jmp 0x14002a4cf
mov rdx, qword [rbp + 0x650]
lea r8, [rsp + 0x58]
mov rcx, r13
call fcn.140059193
mov dil, 1
jmp 0x14002a4e3
xor edi, edi
mov eax, edi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret