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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rdi, qword [0x140207460]
mov qword [rsp + 0x70], r8
mov rbx, rcx
mov rsi, rdx
mov qword [rsp + 0x78], r9
mov rax, qword [rdi]
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0x50]
cmp dword [rcx + 0x40], 1
jbe 0x140142d60
lea rbp, [rcx + 0x48]
test rax, rax
jne 0x140142cd0
mov r8d, 7
lea rdx, str.error:
mov rcx, rbp
call fcn.14007e800
lea r8, [rsp + 0x70]
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r8
call fcn.14007ebd0
cmp dword [rbx + 0x40], 1
jbe 0x140142d10
mov rdx, qword [rbx + 0x48]
test rdx, rdx
jne 0x140142cc0
mov edx, 1
mov rcx, rbp
call fcn.14007da40
mov rax, qword [rbx + 0x50]
mov rdx, qword [rbx + 0x58]
lea rcx, [rax + 1]
mov qword [rbx + 0x50], rcx
mov byte [rdx + rax], 0xa
mov rdx, qword [rbx + 0x58]
mov rax, qword [rbx + 0x50]
mov byte [rdx + rax], 0
mov rax, qword [rsp + 0x28]
sub rax, qword [rdi]
jne 0x140142dc2
mov eax, 0xffffffff
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rax, qword [rbx + 0x50]
sub rdx, rax
cmp rdx, 1
jne 0x140142c80
jmp 0x140142c6f
mov rdx, qword [rcx + 0x58]
cmp byte [rdx + rax - 1], 0xa
je 0x140142c32
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x140142d40
sub rcx, rax
cmp rcx, 1
je 0x140142d40
lea rcx, [rax + 1]
mov qword [rbx + 0x50], rcx
mov byte [rdx + rax], 0xa
mov rdx, qword [rbx + 0x58]
mov rax, qword [rbx + 0x50]
mov byte [rdx + rax], 0
jmp 0x140142c32
mov rdx, qword [rbx + 0x58]
lea rcx, [0x1401f1c54]
call fcn.1400a0b40
mov rax, qword [rbx + 0x58]
cmp rax, qword [0x140207c90]
mov qword [rbx + 0x50], 0
je 0x140142d70
mov byte [rax], 0
jmp 0x140142c9c
mov edx, 1
mov rcx, rbp
call fcn.14007da40
mov rdx, qword [rbx + 0x58]
mov rax, qword [rbx + 0x50]
jmp 0x140142cf1
test rax, rax
jne 0x140142d80
lea rbp, [rbx + 0x48]
jmp 0x140142c47
cmp byte [rax], 0
je 0x140142c9c
jmp 0x140142dbd
mov ecx, 1
call qword [fcn.1401bee20]
mov rcx, qword [rbx + 0x58]
mov rdx, rax
call fcn.1401bf070
mov rax, qword [rbx + 0x58]
cmp rax, qword [0x140207c90]
mov qword [rbx + 0x50], 0
je 0x140142db8
mov byte [rax], 0
jmp 0x140142d65
cmp byte [rax], 0
je 0x140142d65
call fcn.140141550
call fcn.1401be670
nop
nop dword [rax + rax]
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rdi, qword [0x140207460]
mov rax, qword [rdi]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140207cf0]
mov rsi, rcx
mov rbp, r8
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x20]
mov rbx, rdx
mov rcx, qword [rax]
call fcn.14002a2f0
test rax, rax
je 0x140142e88
cmp dword [rsp + 0x20], 3
je 0x140142e58
mov rcx, rax
call fcn.1400d2670
mov rcx, rbx
call fcn.1400202e0
lea rdx, str.object__s_is_not_a_blob
mov rbx, rax
mov rax, qword [0x1402078f0]
mov eax, dword [rax]
test eax, eax
je 0x140142e47
mov rcx, rdx
call sub.libintl_8.dll_libintl_gettext
mov rdx, rax
mov r8, rbx
mov rcx, rsi
call fcn.140142bf0
jmp 0x140142e6e
mov r8d, dword [rsp + 0x24]
mov rdx, rax
mov rcx, rbp
lea r9d, [r8 + 1]
call fcn.14007d960
xor eax, eax
mov rdx, qword [rsp + 0x28]
sub rdx, qword [rdi]
jne 0x140142ea9
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rbx
call fcn.1400202e0
lea rdx, str.cannot_read_object__s
mov rbx, rax
mov rax, qword [0x1402078f0]
mov ecx, dword [rax]
test ecx, ecx
je 0x140142e47
jmp 0x140142e3c
call fcn.1401be670
nop
nop