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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x190], rbx
mov rax, qword [0x1403ad830]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, rdx
mov qword [rsp + 0x48], rdx
mov rdi, rcx
lea rcx, [rbp - 0x50]
call fcn.140050730
nop
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1400508d0
test eax, eax
je 0x14014241f
mov dword [rsi + 0x28], 0xffffffff
lea rdx, str.Open_file_failed
lea rcx, [rbp - 0x80]
call fcn.14001c950
nop
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.14001d690
nop
lea rcx, [rbp - 0x80]
call fcn.14001d440
jmp 0x140142bc8
mov rax, qword [rbp + 0x18]
cmp rax, 0x40
jb 0x140142bc8
cmp rax, 0x6400000
jg 0x140142bc8
mov ebx, 0x40
cmp byte [rdi + 0x28], 0
cmovne rbx, rax
mov r14, rbx
mov eax, 2
test rbx, rbx
cmovle r14, rax
lea rdx, [0x1404528a0]
cmp r14, 1
jne 0x14014246c
mov rcx, r14
call fcn.140283d34
jmp 0x140142474
mov rcx, r14
call fcn.14028375c
mov qword [rsp + 0x40], rax
mov r15, rax
xor r13d, r13d
test rax, rax
cmove r14, r13
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x38], r14
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140034ba0
cmp rax, rbx
je 0x1401424d7
mov dword [rsi + 0x28], 0xfffffffe
lea rdx, str.read_file_head_failed
lea rcx, [rbp - 0x80]
call fcn.14001c950
nop
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.14001d690
nop
lea rcx, [rbp - 0x80]
call fcn.14001d440
jmp 0x140142baa
mov dword [rsp + 0x20], 0x464c457f
mov eax, dword [rsp + 0x20]
cmp eax, dword [r15]
jne 0x140142baa
movzx eax, byte [r15 + 4]
cmp al, 1
jne 0x1401424fd
mov byte [rsi + 0x2e], 0
xor cl, cl
jmp 0x14014250b
cmp al, 2
jne 0x140142baa
mov byte [rsi + 0x2e], 1
mov cl, 1
movzx eax, byte [r15 + 5]
dec al
cmp al, 1
ja 0x140142baa
movzx eax, word [r15 + 0x10]
test cl, cl
je 0x140142884
cmp ax, 2
jne 0x140142533
mov byte [rsi + 0x2c], 1
jmp 0x140142541
cmp ax, 3
jne 0x140142baa
mov byte [rsi + 0x2d], 1
movzx eax, word [r15 + 0x12]
mov dword [rsi + 0x30], eax
cmp byte [rdi + 0x28], 0
je 0x140142baa
mov rsi, qword [r15 + 0x28]
add rsi, r15
mov qword [rsp + 0x30], rsi
movzx eax, word [r15 + 0x3e]
shl rax, 6
mov rax, qword [rax + rsi + 0x18]
add rax, r15
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], r13d
cmp r13w, word [r15 + 0x3c]
jae 0x140142baa
lea r12, [rsi + 0x38]
mov qword [rsp + 0x28], r12
lea rdx, str..dynsym
lea r9, str..symtab
nop dword [rax]
mov r8d, dword [r12 - 0x38]
add r8, rax
mov rcx, r13
nop dword [rax + rax]
movzx r14d, byte [r8 + rcx]
inc rcx
movzx eax, byte [rdx + rcx - 1]
sub r14d, eax
jne 0x1401425c8
cmp rcx, 8
jne 0x1401425b0
mov rdx, r13
nop dword [rax + rax]
movzx ebx, byte [r8 + rdx]
inc rdx
movzx eax, byte [r9 + rdx - 1]
sub ebx, eax
jne 0x1401425e8
cmp rdx, 8
jne 0x1401425d0
lea rdx, str..dynamic
mov rcx, r8
call fcn.14029e3b0
mov r13d, eax
mov dword [rsp + 0x50], eax
test r14d, r14d
je 0x14014260b
test ebx, ebx
jne 0x140142756
mov rdi, qword [r12 - 0x20]
add rdi, r15
xor r8d, r8d
mov r15d, r8d
mov rcx, qword [r12]
test rcx, rcx
je 0x14014262f
xor edx, edx
mov rax, qword [r12 - 0x18]
div rcx
mov r15, rax
mov ecx, dword [r12 - 0x10]
shl rcx, 6
mov rcx, qword [rcx + rsi + 0x18]
mov r12, qword [rsp + 0x40]
add r12, rcx
mov esi, r8d
test r15, r15
jle 0x140142747
mov r13, qword [rsp + 0x48]
nop word [rax + rax]
mov eax, dword [rdi]
cmp eax, 0x1312d00
ja 0x140142730
lea rdx, [r12 + rax]
lea rcx, [rbp - 0x80]
call fcn.14001c840
nop
lea rcx, [rbp - 0x80]
call fcn.14001f680
test al, al
jne 0x140142727
movzx eax, byte [rdi + 4]
and al, 0xf
test r14d, r14d
jne 0x1401426c2
cmp al, 2
jne 0x140142727
mov rax, qword [r13 + 0x40]
cmp qword [r13 + 0x48], rax
je 0x1401426bc
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14001c0d0
add qword [r13 + 0x40], 0x28
jmp 0x140142727
lea rcx, [r13 + 0x38]
jmp 0x14014271a
cmp al, 2
jne 0x1401426e9
mov rax, qword [r13 + 0x58]
cmp qword [r13 + 0x60], rax
je 0x1401426e3
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14001c0d0
add qword [r13 + 0x58], 0x28
jmp 0x140142727
lea rcx, [r13 + 0x50]
jmp 0x14014271a
cmp al, 4
jne 0x140142727
mov rax, qword [r13 + 0x88]
cmp qword [r13 + 0x90], rax
je 0x140142713
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14001c0d0
add qword [r13 + 0x88], 0x28
jmp 0x140142727
lea rcx, [r13 + 0x80]
lea r8, [rbp - 0x80]
mov rdx, rax
call fcn.1400030a0
nop
lea rcx, [rbp - 0x80]
call fcn.14001d440
inc esi
add rdi, 0x18
movsxd rax, esi
cmp rax, r15
jl 0x140142660
mov r13d, dword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x30]
mov r12, qword [rsp + 0x28]
test r13d, r13d
jne 0x140142844
mov rdi, qword [r12 - 0x20]
add rdi, r15
mov rcx, qword [r12]
xor r13d, r13d
test rcx, rcx
je 0x140142847
xor edx, edx
mov rax, qword [r12 - 0x18]
div rcx
mov r14, rax
mov ecx, dword [r12 - 0x10]
shl rcx, 6
mov rcx, qword [rcx + rsi + 0x18]
add r15, rcx
mov esi, r13d
test rax, rax
jle 0x14014283d
mov r12, qword [rsp + 0x48]
nop word [rax + rax]
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x70], xmm0
movq rax, xmm0
cmp rax, 1
jne 0x140142826
mov rax, qword [rsp + 0x78]
cmp rax, 0x989680
jae 0x140142826
lea rdx, [rax + r15]
lea rcx, [rbp - 0x80]
call fcn.14001c840
nop
lea rcx, [rbp - 0x80]
call fcn.140028de0
test al, al
je 0x14014281d
mov rax, qword [r12 + 0x70]
cmp qword [r12 + 0x78], rax
je 0x14014280b
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14001c0d0
add qword [r12 + 0x70], 0x28
jmp 0x14014281d
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [r12 + 0x68]
call fcn.1400030a0
nop
lea rcx, [rbp - 0x80]
call fcn.14001d440
inc esi
add rdi, 0x10
movsxd rax, esi
cmp rax, r14
jl 0x1401427b0
mov r12, qword [rsp + 0x28]
mov r15, qword [rsp + 0x40]
jmp 0x140142847
xor r13d, r13d
mov edx, dword [rsp + 0x20]
inc edx
mov dword [rsp + 0x20], edx
add r12, 0x40
mov qword [rsp + 0x28], r12
movzx eax, word [r15 + 0x3c]
cmp edx, eax
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x60]
lea rdx, str..dynsym
lea r9, str..symtab
jl 0x1401425a0
jmp 0x140142ba5
cmp ax, 2
jne 0x140142890
mov byte [rsi + 0x2c], 1
jmp 0x14014289e
cmp ax, 3
jne 0x140142baa
mov byte [rsi + 0x2d], 1
movzx eax, word [r15 + 0x12]
mov dword [rsi + 0x30], eax
cmp byte [rdi + 0x28], 0
je 0x140142baa
mov r14d, dword [r15 + 0x20]
add r14, r15
mov qword [rsp + 0x28], r14
movzx eax, word [r15 + 0x32]
lea rcx, [rax + rax*4]
mov eax, dword [r14 + rcx*8 + 0x10]
add rax, r15
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], r13d
cmp r13w, word [r15 + 0x30]
jae 0x140142ba5
lea r12, [r14 + 0x24]
mov qword [rsp + 0x30], r12
lea rdx, str..dynsym
lea r9, str..symtab
nop dword [rax]
mov r8d, dword [r12 - 0x24]
add r8, rax
mov rcx, r13
nop dword [rax + rax]
movzx esi, byte [r8 + rcx]
inc rcx
movzx eax, byte [rdx + rcx - 1]
sub esi, eax
jne 0x140142927
cmp rcx, 8
jne 0x140142910
mov rdx, r13
nop word [rax + rax]
movzx ebx, byte [r8 + rdx]
inc rdx
movzx eax, byte [r9 + rdx - 1]
sub ebx, eax
jne 0x140142948
cmp rdx, 8
jne 0x140142930
lea rdx, str..dynamic
mov rcx, r8
call fcn.14029e3b0
mov r13d, eax
test esi, esi
je 0x140142966
test ebx, ebx
jne 0x140142a9c
mov edi, dword [r12 - 0x14]
add rdi, r15
xor r8d, r8d
mov eax, r8d
mov ecx, dword [r12]
test ecx, ecx
je 0x140142985
xor edx, edx
mov eax, dword [r12 - 0x10]
div ecx
mov ecx, dword [r12 - 0xc]
lea rdx, [rcx + rcx*4]
mov r15d, dword [r14 + rdx*8 + 0x10]
add r15, qword [rsp + 0x40]
movsxd r14, eax
test eax, eax
jle 0x140142a92
mov r12, qword [rsp + 0x48]
nop dword [rax + rax]
mov edx, dword [rdi]
add rdx, r15
lea rcx, [rbp - 0x80]
call fcn.14001c840
nop
lea rcx, [rbp - 0x80]
call fcn.14001f680
test al, al
jne 0x140142a76
movzx eax, byte [rdi + 0xc]
and al, 0xf
test esi, esi
jne 0x140142a09
cmp al, 2
jne 0x140142a76
mov rax, qword [r12 + 0x40]
cmp qword [r12 + 0x48], rax
je 0x140142a02
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14001c0d0
add qword [r12 + 0x40], 0x28
jmp 0x140142a76
lea rcx, [r12 + 0x38]
jmp 0x140142a69
cmp al, 2
jne 0x140142a34
mov rax, qword [r12 + 0x58]
cmp qword [r12 + 0x60], rax
je 0x140142a2d
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14001c0d0
add qword [r12 + 0x58], 0x28
jmp 0x140142a76
lea rcx, [r12 + 0x50]
jmp 0x140142a69
cmp al, 4
jne 0x140142a76
mov rax, qword [r12 + 0x88]
cmp qword [r12 + 0x90], rax
je 0x140142a61
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14001c0d0
add qword [r12 + 0x88], 0x28
jmp 0x140142a76
lea rcx, [r12 + 0x80]
lea r8, [rbp - 0x80]
mov rdx, rax
call fcn.1400030a0
nop
lea rcx, [rbp - 0x80]
call fcn.14001d440
add rdi, 0x10
sub r14, 1
jne 0x1401429b0
mov r12, qword [rsp + 0x30]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x28]
test r13d, r13d
jne 0x140142b6a
mov esi, dword [r12 - 0x14]
add rsi, r15
xor r13d, r13d
mov eax, r13d
mov ecx, dword [r12]
test ecx, ecx
je 0x140142ac4
xor edx, edx
mov eax, dword [r12 - 0x10]
div ecx
mov ecx, dword [r12 - 0xc]
lea rdx, [rcx + rcx*4]
mov r15d, dword [r14 + rdx*8 + 0x10]
add r15, qword [rsp + 0x40]
mov rdi, r13
movsxd r14, eax
test eax, eax
jle 0x140142b63
mov r12, qword [rsp + 0x48]
nop word [rax + rax]
mov rax, qword [rsi + rdi*8]
mov rcx, rax
shr rcx, 0x20
cmp eax, 1
jne 0x140142b56
lea rdx, [rcx + r15]
lea rcx, [rbp - 0x80]
call fcn.14001c840
nop
lea rcx, [rbp - 0x80]
call fcn.140028de0
test al, al
je 0x140142b4d
mov rax, qword [r12 + 0x70]
cmp qword [r12 + 0x78], rax
je 0x140142b3b
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14001c0d0
add qword [r12 + 0x70], 0x28
jmp 0x140142b4d
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [r12 + 0x68]
call fcn.1400030a0
nop
lea rcx, [rbp - 0x80]
call fcn.14001d440
inc rdi
cmp rdi, r14
jl 0x140142af0
mov r12, qword [rsp + 0x30]
mov r15, qword [rsp + 0x40]
jmp 0x140142b6d
xor r13d, r13d
mov edx, dword [rsp + 0x20]
inc edx
mov dword [rsp + 0x20], edx
add r12, 0x28
mov qword [rsp + 0x30], r12
movzx eax, word [r15 + 0x30]
cmp edx, eax
mov r14, qword [rsp + 0x28]
mov rax, qword [rsp + 0x60]
lea rdx, str..dynsym
lea r9, str..symtab
jl 0x140142900
mov r14, qword [rsp + 0x58]
test r15, r15
je 0x140142bc8
mov rcx, r15
cmp r14, 1
jne 0x140142bc2
mov rdx, r14
call fcn.140283144
jmp 0x140142bc8
call fcn.140283144
nop
lea rcx, [rbp - 0x50]
call fcn.140034f20
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140283120
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret