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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140222080]
xor rax, rsp
mov qword [rbp - 8], rax
xor r15d, r15d
mov rbx, rcx
mov edi, r15d
cmp qword [rcx + 0x120], rdi
jne 0x1400a9474
cmp byte [rcx + 0x14], dil
jne 0x1400a9474
mov esi, 1
mov dword [rbp - 0x20], esi
nop dword [rax + rax]
movzx eax, byte [rbx + 0x15]
mov edi, r15d
cmp al, sil
jb 0x1400a9160
cmp al, 5
jne 0x1400a9198
cmp byte [rbx + 0x11], dil
jne 0x1400a9178
mov rcx, qword [rbx + 0x48]
mov edx, esi
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x1400a9182
cmp byte [rbx + 0x15], 5
je 0x1400a9182
mov byte [rbx + 0x15], sil
cmp edi, 5
jne 0x1400a9198
mov rcx, qword [rbx + 0xe8]
call qword [rbx + 0xe0]
test eax, eax
jne 0x1400a9150
test edi, edi
jne 0x1400a9322
cmp byte [rbx + 0x15], sil
ja 0x1400a91b7
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.1400a8ef0
mov esi, dword [rbp - 0x20]
mov edi, eax
test edi, edi
jne 0x1400a9322
test esi, esi
je 0x1400a932f
cmp byte [rbx + 0x12], r15b
je 0x1400a91df
mov rcx, rbx
mov edi, 0x308
call fcn.1400a6780
jmp 0x1400a9579
movzx eax, byte [rbx + 0x15]
mov edi, r15d
cmp al, 4
jb 0x1400a91ee
cmp al, 5
jne 0x1400a920d
cmp byte [rbx + 0x11], dil
jne 0x1400a9209
mov rcx, qword [rbx + 0x48]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x1400a920d
mov byte [rbx + 0x15], 4
test edi, edi
jne 0x1400a9322
mov rax, qword [rbx + 0x50]
cmp qword [rax], r15
jne 0x1400a92b6
mov rsi, qword [rbx]
lea r9, [rbp - 0x18]
mov rdx, qword [rbx + 0xd8]
xor r8d, r8d
mov rcx, rsi
call qword [rsi + 0x38]
mov edi, eax
test eax, eax
jne 0x1400a92b6
cmp dword [rbp - 0x18], r15d
je 0x1400a92b6
mov r8, qword [rbx + 0x50]
lea rax, [rbp - 0x20]
mov rdx, qword [rbx + 0xd8]
mov r9d, 0x802
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x20], r15d
call qword [rsi + 0x28]
mov edi, eax
test eax, eax
jne 0x1400a92b6
test byte [rbp - 0x20], 1
je 0x1400a92b6
lea rax, [0x1401e14a4]
mov edi, 0xe
mov ecx, edi
mov qword [rsp + 0x20], rax
mov r9d, 0xdd97
lea r8, str.cannot_open_file
lea rdx, str._s_at_line__d_of___.10s_
call fcn.14009cbe0
mov rsi, qword [rbx + 0x50]
mov rax, qword [rsi]
test rax, rax
je 0x1400a92b6
mov rcx, rsi
call qword [rax + 8]
mov qword [rsi], r15
mov rax, qword [rbx + 0x50]
cmp qword [rax], r15
je 0x1400a92e6
mov rcx, rbx
call fcn.1400a8070
mov edi, eax
test eax, eax
jne 0x1400a92fd
mov edx, r15d
mov rcx, rbx
cmp byte [rbx + 0x10], dl
sete dl
call fcn.1400a7440
mov edi, eax
mov byte [rbx + 0x14], r15b
jmp 0x1400a92f9
cmp byte [rbx + 8], r15b
jne 0x1400a92f9
mov edx, 1
mov rcx, rbx
call fcn.1400a5d30
test edi, edi
je 0x1400a932f
movzx eax, dil
cmp eax, 0xd
je 0x1400a930b
cmp eax, 0xa
jne 0x1400a931a
mov rcx, rbx
mov dword [rbx + 0x2c], edi
mov byte [rbx + 0x14], 6
call fcn.1400a5cf0
test edi, edi
je 0x1400a9571
mov rcx, rbx
call fcn.1400a6780
jmp 0x1400a9579
cmp byte [rbx + 0x10], r15b
jne 0x1400a93a8
cmp byte [rbx + 0x1b], r15b
je 0x1400a93a8
mov rcx, qword [rbx + 0x48]
lea rdx, [rbp - 0x18]
mov r9d, 0x18
mov rax, qword [rcx]
lea r8d, [r9 - 8]
call qword [rax + 0x10]
mov edi, eax
test eax, eax
je 0x1400a936e
cmp eax, 0x20a
jne 0x1400a931a
xor eax, eax
mov qword [rbp - 0x18], rax
mov ecx, eax
mov qword [rbp - 0x10], rax
jmp 0x1400a9376
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
cmp qword [rbx + 0x88], rax
jne 0x1400a9388
cmp qword [rbx + 0x90], rcx
je 0x1400a93a8
mov rcx, rbx
call fcn.1400a6500
cmp byte [rbx + 0x1a], r15b
je 0x1400a93a8
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
mov edi, r15d
cmp byte [rbx + 0x10], dil
jne 0x1400a9474
mov rax, qword [rbx]
lea r9, [rbp - 0x18]
mov rdx, qword [rbx + 0x128]
xor r8d, r8d
mov rcx, rax
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x1400a9474
cmp dword [rbp - 0x18], r15d
je 0x1400a946a
mov rax, qword [rbx + 0x120]
test rax, rax
je 0x1400a93fc
cmp word [rax + 0x3c], r15w
jl 0x1400a93fc
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x1400a9433
jmp 0x1400a93ff
mov eax, r15d
mov rcx, qword [rbx + 0x48]
mov r8, qword [rcx]
test r8, r8
je 0x1400a9433
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], r15
call qword [r8 + 0x30]
mov edi, eax
test eax, eax
jne 0x1400a9474
movsxd rcx, dword [rbx + 0xbc]
mov rax, qword [rbp - 0x20]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x1400a9441
mov dword [rbx + 0xc0], eax
test eax, eax
jne 0x1400a945c
mov rax, qword [rbx]
xor r8d, r8d
mov rdx, qword [rbx + 0x128]
mov rcx, rax
call qword [rax + 0x30]
mov edi, eax
jmp 0x1400a9474
xor edx, edx
mov rcx, rbx
call fcn.1400ab070
mov edi, eax
jmp 0x1400a9474
cmp byte [rbx + 9], 5
jne 0x1400a9474
mov byte [rbx + 9], r15b
mov rcx, qword [rbx + 0x120]
test rcx, rcx
je 0x1400a94ea
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x20], r15d
call fcn.1400ad3c0
mov r14, qword [rbx + 0x120]
mov esi, r15d
nop dword [rax + rax]
inc esi
lea rdx, [rbp - 0x20]
mov r9d, esi
xor r8d, r8d
mov rcx, r14
call fcn.1400ad090
mov edi, eax
cmp eax, 0xffffffff
je 0x1400a94a0
mov r14, qword [rsp + 0x78]
test eax, eax
jne 0x1400a94ca
cmp dword [rbp - 0x20], r15d
je 0x1400a94ea
mov rcx, rbx
call fcn.1400a6500
cmp byte [rbx + 0x1a], r15b
je 0x1400a94ea
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
cmp byte [rbx + 0x10], r15b
jne 0x1400a931a
cmp byte [rbx + 0x14], r15b
jne 0x1400a931a
test edi, edi
jne 0x1400a9322
mov rax, qword [rbx + 0x120]
test rax, rax
je 0x1400a9522
cmp word [rax + 0x3c], r15w
jl 0x1400a9522
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x1400a955d
jmp 0x1400a9525
mov eax, r15d
mov rcx, qword [rbx + 0x48]
mov r8, qword [rcx]
test r8, r8
je 0x1400a955d
lea rdx, [rbp - 0x18]
mov qword [rbp - 0x18], r15
call qword [r8 + 0x30]
mov edi, eax
test eax, eax
jne 0x1400a931a
movsxd rcx, dword [rbx + 0xbc]
mov rax, qword [rbp - 0x18]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x1400a956b
mov dword [rbx + 0xc0], eax
mov dword [rbx + 0x1c], eax
mov edi, r15d
mov byte [rbx + 0x14], 1
mov byte [rbx + 0x1b], 1
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140158860
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret