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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1402b0310]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor esi, esi
mov rbx, rcx
mov edi, esi
cmp qword [rcx + 0x120], rsi
jne 0x14015dc14
cmp byte [rcx + 0x15], sil
jne 0x14015dc14
mov ebp, 1
mov dword [rsp + 0x38], ebp
movzx eax, byte [rbx + 0x16]
mov edi, esi
cmp al, bpl
jb 0x14015d8f1
cmp al, 5
jne 0x14015d929
cmp byte [rbx + 0x11], sil
jne 0x14015d909
mov rcx, qword [rbx + 0x48]
mov edx, ebp
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x14015d913
cmp byte [rbx + 0x16], 5
je 0x14015d913
mov byte [rbx + 0x16], bpl
cmp edi, 5
jne 0x14015d929
mov rcx, qword [rbx + 0xe8]
call qword [rbx + 0xe0]
test eax, eax
jne 0x14015d8e2
test edi, edi
jne 0x14015dc98
cmp byte [rbx + 0x16], bpl
ja 0x14015d94a
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14015d680
mov ebp, dword [rsp + 0x38]
mov edi, eax
test edi, edi
jne 0x14015dc98
test ebp, ebp
je 0x14015dabc
cmp byte [rbx + 0x12], sil
je 0x14015d972
mov rcx, rbx
mov edi, 0x308
call fcn.14015acf0
jmp 0x14015dcaa
movzx eax, byte [rbx + 0x16]
mov edi, esi
cmp al, 4
jb 0x14015d980
cmp al, 5
jne 0x14015d99f
cmp byte [rbx + 0x11], sil
jne 0x14015d99b
mov rcx, qword [rbx + 0x48]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x14015d99f
mov byte [rbx + 0x16], 4
test edi, edi
jne 0x14015dc98
mov rax, qword [rbx + 0x50]
cmp qword [rax], rsi
jne 0x14015da67
cmp byte [rbx + 9], 2
je 0x14015da67
mov rbp, qword [rbx]
lea r9, [rsp + 0x30]
mov rdx, qword [rbx + 0xd8]
xor r8d, r8d
mov rcx, rbp
call qword [rbp + 0x38]
mov edi, eax
test eax, eax
jne 0x14015da67
cmp dword [rsp + 0x30], esi
je 0x14015da67
mov r8, qword [rbx + 0x50]
lea rax, [rsp + 0x38]
mov rdx, qword [rbx + 0xd8]
mov r9d, 0x802
mov rcx, rbp
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], esi
call qword [rbp + 0x28]
mov edi, eax
test eax, eax
jne 0x14015da67
test byte [rsp + 0x38], 1
je 0x14015da67
lea rax, [0x1402471e4]
mov qword [rsp + 0x78], r14
mov edi, 0xe
mov qword [rsp + 0x20], rax
mov ecx, edi
lea r8, str.cannot_open_file
mov r9d, 0xe24c
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140150ee0
mov r14, qword [rbx + 0x50]
mov rax, qword [r14]
test rax, rax
je 0x14015da62
mov rcx, r14
call qword [rax + 8]
mov qword [r14], rsi
mov r14, qword [rsp + 0x78]
mov rax, qword [rbx + 0x50]
cmp qword [rax], rsi
je 0x14015da96
mov rcx, rbx
call fcn.14015c730
mov edi, eax
test eax, eax
jne 0x14015daad
mov edx, esi
mov rcx, rbx
cmp byte [rbx + 0x10], dl
sete dl
call fcn.14015ba50
mov edi, eax
mov byte [rbx + 0x15], sil
jmp 0x14015daa9
cmp byte [rbx + 8], sil
jne 0x14015daa9
mov edx, 1
mov rcx, rbx
call fcn.14015a290
test edi, edi
je 0x14015dabc
mov edx, edi
mov rcx, rbx
call fcn.14015ae50
jmp 0x14015dc94
cmp byte [rbx + 0x10], sil
jne 0x14015db3e
cmp byte [rbx + 0x1c], sil
je 0x14015db3e
mov rcx, qword [rbx + 0x48]
lea rdx, [rsp + 0x38]
mov r9d, 0x18
mov rax, qword [rcx]
lea r8d, [r9 - 8]
call qword [rax + 0x10]
mov edi, eax
test eax, eax
je 0x14015db02
cmp eax, 0x20a
jne 0x14015dc94
xor eax, eax
mov qword [rsp + 0x38], rax
mov ecx, eax
mov qword [rsp + 0x40], rax
jmp 0x14015db0c
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
cmp qword [rbx + 0x88], rax
jne 0x14015db1e
cmp qword [rbx + 0x90], rcx
je 0x14015db3e
mov rcx, rbx
call fcn.14015aa70
cmp byte [rbx + 0x1b], sil
je 0x14015db3e
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 + 0x10], sil
jne 0x14015dc14
mov rax, qword [rbx]
lea r9, [rsp + 0x30]
mov rdx, qword [rbx + 0x128]
xor r8d, r8d
mov rcx, rax
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x14015dc14
cmp dword [rsp + 0x30], esi
je 0x14015dc0a
mov rax, qword [rbx + 0x120]
test rax, rax
je 0x14015db91
cmp word [rax + 0x3c], si
jl 0x14015db91
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x14015dbca
jmp 0x14015db93
mov eax, esi
mov rcx, qword [rbx + 0x48]
mov r8, qword [rcx]
test r8, r8
je 0x14015dbca
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rsi
call qword [r8 + 0x30]
mov edi, eax
test eax, eax
jne 0x14015dc14
mov rcx, qword [rbx + 0xc0]
mov rax, qword [rsp + 0x38]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xbc]
jbe 0x14015dbd8
mov dword [rbx + 0xbc], eax
test eax, eax
jne 0x14015dbfc
mov rcx, qword [rbx]
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x14015dbf8
mov rdx, qword [rbx + 0x128]
xor r8d, r8d
call rax
mov edi, eax
jmp 0x14015dc14
mov edi, esi
jmp 0x14015dc14
xor edx, edx
mov rcx, rbx
call fcn.14015f810
mov edi, eax
jmp 0x14015dc14
cmp byte [rbx + 9], 5
jne 0x14015dc14
mov byte [rbx + 9], sil
mov rcx, qword [rbx + 0x120]
test rcx, rcx
je 0x14015dc76
mov dword [rsp + 0x38], esi
call fcn.140161df0
mov rbp, qword [rbx + 0x120]
inc esi
lea rdx, [rsp + 0x38]
mov r9d, esi
xor r8d, r8d
mov rcx, rbp
call fcn.140161ac0
mov edi, eax
cmp eax, 0xffffffff
je 0x14015dc30
test eax, eax
jne 0x14015dc56
cmp dword [rsp + 0x38], eax
je 0x14015dc76
mov rcx, rbx
call fcn.14015aa70
cmp byte [rbx + 0x1b], 0
je 0x14015dc76
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
cmp byte [rbx + 0x10], 0
jne 0x14015dc94
cmp byte [rbx + 0x15], 0
jne 0x14015dc94
test edi, edi
jne 0x14015dc98
lea rdx, [rbx + 0x20]
mov rcx, rbx
call fcn.14015c240
mov edi, eax
test edi, edi
je 0x14015dca2
mov rcx, rbx
call fcn.14015acf0
jmp 0x14015dcaa
mov byte [rbx + 0x15], 1
mov byte [rbx + 0x1c], 1
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401eb080
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret