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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401150f8]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edi, edi
mov rbx, rcx
cmp byte [rcx + 0x13], dil
je 0x14002505f
mov eax, dword [rcx + 0x2c]
test eax, eax
jne 0x1400253d5
mov qword [rsp + 0x78], rsi
cmp qword [rcx + 0x138], rdi
jne 0x140025338
cmp byte [rcx + 0x14], dil
jne 0x140025338
mov esi, 1
mov dword [rsp + 0x30], esi
movzx eax, byte [rbx + 0x15]
xor edi, edi
cmp al, sil
jb 0x140025093
cmp al, 5
jne 0x1400250cb
cmp byte [rbx + 0x11], dil
jne 0x1400250ab
mov rcx, qword [rbx + 0x48]
mov edx, esi
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x1400250b5
cmp byte [rbx + 0x15], 5
je 0x1400250b5
mov byte [rbx + 0x15], sil
cmp edi, 5
jne 0x1400250cb
mov rcx, qword [rbx + 0xe8]
call qword [rbx + 0xe0]
test eax, eax
jne 0x140025084
test edi, edi
jne 0x140025235
cmp byte [rbx + 0x15], sil
ja 0x1400250ec
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140024e20
mov esi, dword [rsp + 0x30]
mov edi, eax
test edi, edi
jne 0x140025235
test esi, esi
je 0x140025242
cmp byte [rbx + 0x12], dil
je 0x140025114
mov rcx, rbx
mov edi, 0x308
call fcn.140022490
jmp 0x1400253ce
movzx eax, byte [rbx + 0x15]
xor edi, edi
cmp al, 4
jb 0x140025122
cmp al, 5
jne 0x140025141
cmp byte [rbx + 0x11], dil
jne 0x14002513d
mov rcx, qword [rbx + 0x48]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x140025141
mov byte [rbx + 0x15], 4
test edi, edi
jne 0x140025235
mov rax, qword [rbx + 0x50]
cmp qword [rax], 0
jne 0x1400251d6
mov rsi, qword [rbx]
lea r9, [rsp + 0x38]
mov rdx, qword [rbx + 0xd8]
xor r8d, r8d
mov rcx, rsi
call qword [rsi + 0x38]
mov edi, eax
test eax, eax
jne 0x1400251d6
cmp dword [rsp + 0x38], eax
je 0x1400251d6
mov r8, qword [rbx + 0x50]
mov r9d, 0x802
mov rdx, qword [rbx + 0xd8]
mov rcx, rsi
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [rsi + 0x28]
mov edi, eax
test eax, eax
jne 0x1400251d6
test byte [rsp + 0x30], 1
je 0x1400251d6
mov edi, 0xe
lea r9, [0x1400fdce4]
mov ecx, edi
lea rdx, str.cannot_open_file_at_line__d_of___.10s_
mov r8d, 0xbbc6
call fcn.140019990
mov rcx, qword [rbx + 0x50]
call fcn.140016780
mov rax, qword [rbx + 0x50]
cmp qword [rax], 0
je 0x140025201
mov rcx, rbx
call fcn.140023f40
mov edi, eax
test eax, eax
jne 0x140025218
lea edx, [rax + 1]
mov rcx, rbx
call fcn.140023040
mov edi, eax
mov byte [rbx + 0x14], 0
jmp 0x140025214
cmp byte [rbx + 8], 0
jne 0x140025214
mov edx, 1
mov rcx, rbx
call fcn.140021b40
test edi, edi
je 0x140025242
movzx eax, dil
cmp eax, 0xd
je 0x140025226
cmp eax, 0xa
jne 0x14002522d
mov dword [rbx + 0x2c], edi
mov byte [rbx + 0x14], 6
test edi, edi
je 0x1400253c6
mov rcx, rbx
call fcn.140022490
jmp 0x1400253ce
cmp byte [rbx + 0x10], 0
jne 0x14002532e
cmp byte [rbx + 0x1b], 0
je 0x14002532e
mov rax, qword [rbx + 0x138]
test rax, rax
je 0x140025270
cmp word [rax + 0x3c], 0
jl 0x140025270
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x1400252a8
mov rcx, qword [rbx + 0x48]
xor eax, eax
mov qword [rsp + 0x38], rax
cmp qword [rcx], rax
je 0x140025296
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x30]
mov edi, eax
test eax, eax
jne 0x140025235
mov rax, qword [rsp + 0x38]
movsxd rcx, dword [rbx + 0xbc]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x1400252b6
mov dword [rbx + 0xc0], eax
test eax, eax
je 0x1400252e6
mov rcx, qword [rbx + 0x48]
lea rdx, [rsp + 0x40]
mov r9d, 0x18
mov rax, qword [rcx]
lea r8d, [r9 - 8]
call qword [rax + 0x10]
mov edi, eax
test eax, eax
je 0x1400252f2
cmp eax, 0x20a
jne 0x14002522d
jmp 0x1400252f2
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x88]
cmp rax, qword [rsp + 0x40]
jne 0x14002530e
mov rax, qword [rbx + 0x90]
cmp rax, qword [rsp + 0x48]
je 0x14002532e
mov rcx, rbx
call fcn.1400222e0
cmp byte [rbx + 0x1a], 0
je 0x14002532e
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rcx, rbx
call fcn.1400238d0
mov edi, eax
cmp qword [rbx + 0x138], 0
je 0x14002534c
mov rcx, rbx
call fcn.1400237b0
mov edi, eax
cmp byte [rbx + 0x14], 0
jne 0x14002522d
test edi, edi
jne 0x140025235
mov rax, qword [rbx + 0x138]
test rax, rax
je 0x140025377
cmp word [rax + 0x3c], di
jl 0x140025377
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x1400253b3
mov rcx, qword [rbx + 0x48]
xor eax, eax
mov qword [rsp + 0x38], rax
cmp qword [rcx], rax
je 0x1400253a1
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x30]
mov edi, eax
test eax, eax
jne 0x14002522d
mov rax, qword [rsp + 0x38]
movsxd rcx, dword [rbx + 0xbc]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x1400253c1
mov dword [rbx + 0xc0], eax
mov dword [rbx + 0x1c], eax
xor edi, edi
mov byte [rbx + 0x14], 1
mov byte [rbx + 0x1b], 1
mov rsi, qword [rsp + 0x78]
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c0280
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret