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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400f7080]
xor rax, rsp
mov qword [rbp - 8], rax
xor esi, esi
mov rbx, rcx
mov edi, esi
cmp qword [rcx + 0x140], rsi
jne 0x140023b5c
cmp byte [rcx + 0x15], sil
jne 0x140023b5c
mov r14d, 1
mov dword [rbp - 0x20], r14d
nop dword [rax + rax]
movzx eax, byte [rbx + 0x16]
mov edi, esi
cmp al, r14b
jb 0x14002384f
cmp al, 5
jne 0x140023888
cmp byte [rbx + 0x12], sil
jne 0x140023868
mov rcx, qword [rbx + 0x48]
mov edx, r14d
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x140023872
cmp byte [rbx + 0x16], 5
je 0x140023872
mov byte [rbx + 0x16], r14b
cmp edi, 5
jne 0x140023888
mov rcx, qword [rbx + 0xe8]
call qword [rbx + 0xe0]
test eax, eax
jne 0x140023840
test edi, edi
jne 0x140023be6
cmp byte [rbx + 0x16], r14b
ja 0x1400238a8
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.140023630
mov r14d, dword [rbp - 0x20]
mov edi, eax
test edi, edi
jne 0x140023be6
test r14d, r14d
je 0x1400239fc
cmp byte [rbx + 0x13], sil
je 0x1400238d1
mov rcx, rbx
mov edi, 0x308
call fcn.140020d40
jmp 0x140023bf8
movzx eax, byte [rbx + 0x16]
mov edi, esi
cmp al, 4
jb 0x1400238df
cmp al, 5
jne 0x1400238fe
cmp byte [rbx + 0x12], sil
jne 0x1400238fa
mov rcx, qword [rbx + 0x48]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x1400238fe
mov byte [rbx + 0x16], 4
test edi, edi
jne 0x140023be6
mov rax, qword [rbx + 0x50]
cmp qword [rax], rsi
jne 0x1400239a7
mov r14, qword [rbx]
lea r9, [rbp - 0x18]
mov rdx, qword [rbx + 0xd8]
xor r8d, r8d
mov rcx, r14
call qword [r14 + 0x38]
mov edi, eax
test eax, eax
jne 0x1400239a7
cmp dword [rbp - 0x18], esi
je 0x1400239a7
mov r8, qword [rbx + 0x50]
lea rax, [rbp - 0x20]
mov rdx, qword [rbx + 0xd8]
mov r9d, 0x802
mov rcx, r14
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x20], esi
call qword [r14 + 0x28]
mov edi, eax
test eax, eax
jne 0x1400239a7
test byte [rbp - 0x20], 1
je 0x1400239a7
lea rax, [0x1400dfa24]
mov edi, 0xe
mov ecx, edi
mov qword [rsp + 0x20], rax
mov r9d, 0xcb46
lea r8, str.cannot_open_file
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140017820
mov r14, qword [rbx + 0x50]
mov rax, qword [r14]
test rax, rax
je 0x1400239a7
mov rcx, r14
call qword [rax + 8]
mov qword [r14], rsi
mov rax, qword [rbx + 0x50]
cmp qword [rax], rsi
je 0x1400239d6
mov rcx, rbx
call fcn.140022750
mov edi, eax
test eax, eax
jne 0x1400239ed
mov edx, esi
mov rcx, rbx
cmp byte [rbx + 0x11], dl
sete dl
call fcn.140021ac0
mov edi, eax
mov byte [rbx + 0x15], sil
jmp 0x1400239e9
cmp byte [rbx + 8], sil
jne 0x1400239e9
mov edx, 1
mov rcx, rbx
call fcn.140020360
test edi, edi
je 0x1400239fc
mov edx, edi
mov rcx, rbx
call fcn.140020e80
jmp 0x140023be2
cmp byte [rbx + 0x11], sil
jne 0x140023a9b
cmp byte [rbx + 0x1c], sil
je 0x140023a9b
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], esi
mov rcx, rbx
call fcn.140022170
mov edi, eax
test eax, eax
jne 0x140023be6
cmp dword [rbp - 0x20], esi
jbe 0x140023a57
mov rcx, qword [rbx + 0x48]
lea r9d, [rdi + 0x18]
lea r8d, [rdi + 0x10]
lea rdx, [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edi, eax
test eax, eax
je 0x140023a61
cmp eax, 0x20a
jne 0x140023be2
jmp 0x140023a61
xor eax, eax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbx + 0x88]
cmp rax, qword [rbp - 0x18]
jne 0x140023a7b
mov rax, qword [rbx + 0x90]
cmp rax, qword [rbp - 0x10]
je 0x140023a9b
mov rcx, rbx
call fcn.140020b00
cmp byte [rbx + 0x1b], sil
je 0x140023a9b
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
mov edi, esi
cmp byte [rbx + 0x11], sil
jne 0x140023b5c
mov rax, qword [rbx + 0x140]
test rax, rax
je 0x140023ac2
cmp word [rax + 0x3c], si
jl 0x140023ac2
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x140023af8
jmp 0x140023ac4
mov eax, esi
mov rcx, qword [rbx + 0x48]
mov r8, qword [rcx]
test r8, r8
je 0x140023af8
lea rdx, [rbp - 0x18]
mov qword [rbp - 0x18], rsi
call qword [r8 + 0x30]
mov edi, eax
test eax, eax
jne 0x140023b5c
movsxd rcx, dword [rbx + 0xbc]
mov rax, qword [rbp - 0x18]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x140023b06
mov dword [rbx + 0xc0], eax
mov r10, qword [rbx]
xor r8d, r8d
mov rdx, qword [rbx + 0x148]
mov rcx, r10
test eax, eax
jne 0x140023b2f
call qword [r10 + 0x30]
mov edi, eax
cmp eax, 0x170a
mov eax, esi
cmove edi, esi
mov dword [rbp - 0x20], eax
jmp 0x140023b3c
lea r9, [rbp - 0x20]
call qword [r10 + 0x38]
mov edi, eax
mov eax, dword [rbp - 0x20]
test edi, edi
jne 0x140023b5c
test eax, eax
je 0x140023b52
xor edx, edx
mov rcx, rbx
call fcn.1400257b0
mov edi, eax
jmp 0x140023b5c
cmp byte [rbx + 9], 5
jne 0x140023b5c
mov byte [rbx + 9], sil
mov rcx, qword [rbx + 0x140]
test rcx, rcx
je 0x140023bc4
mov dword [rbp - 0x20], esi
call fcn.1400275f0
mov r14, qword [rbx + 0x140]
nop word [rax + rax]
inc esi
lea rdx, [rbp - 0x20]
mov r9d, esi
xor r8d, r8d
mov rcx, r14
call fcn.1400272e0
mov edi, eax
cmp eax, 0xffffffff
je 0x140023b80
test eax, eax
jne 0x140023ba4
cmp dword [rbp - 0x20], eax
je 0x140023bc4
mov rcx, rbx
call fcn.140020b00
cmp byte [rbx + 0x1b], 0
je 0x140023bc4
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
cmp byte [rbx + 0x11], 0
jne 0x140023be2
cmp byte [rbx + 0x15], 0
jne 0x140023be2
test edi, edi
jne 0x140023be6
lea rdx, [rbx + 0x20]
mov rcx, rbx
call fcn.140022170
mov edi, eax
test edi, edi
je 0x140023bf0
mov rcx, rbx
call fcn.140020d40
jmp 0x140023bf8
mov byte [rbx + 0x15], 1
mov byte [rbx + 0x1c], 1
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a4a60
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret