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

Disassembly:
mov rax, rsp
push rbp
push rsi
push r12
push r15
sub rsp, 0x48
xor ebp, ebp
mov r12, rdx
mov esi, ebp
mov r15, rcx
cmp dword [rcx + 0x3c], esi
jne 0x1402671a6
mov qword [rax + 0x10], rbx
mov ebx, ebp
mov qword [rax + 0x18], rdi
mov rdi, qword [rcx + 0x40]
mov qword [rax - 0x28], r14
lea r14, [rcx + 0x40]
mov qword [rax + 0x20], r13
test rdi, rdi
je 0x140266f29
mov rcx, rdi
mov qword [r14], rbp
call fcn.140202e80
mov qword [r14], rdi
mov ebx, eax
test eax, eax
je 0x140266f29
mov qword [r14], rbp
mov rbp, qword [rdi + 0x20]
mov r13, qword [rdi + 0x18]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140266e55
call qword [0x14046b0b0]
cmp rdi, qword [rbp + 0x1f0]
jae 0x140266e99
cmp rdi, qword [rbp + 0x1e0]
jb 0x140266e7d
mov rax, qword [rbp + 0x1d8]
mov qword [rdi], rax
mov qword [rbp + 0x1d8], rdi
jmp 0x140266f09
cmp rdi, qword [rbp + 0x1e8]
jb 0x140266e99
mov rax, qword [rbp + 0x1c8]
mov qword [rdi], rax
mov qword [rbp + 0x1c8], rdi
jmp 0x140266f09
cmp qword [rbp + 0x308], rsi
je 0x140266eaf
mov rdx, rdi
mov rcx, rbp
call fcn.140293f10
jmp 0x140266f09
cmp dword [0x14046b030], esi
je 0x140266f00
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x140266ec9
call qword [0x14046b0b0]
mov rcx, rdi
call qword [0x14046b068]
dec qword [0x140473788]
movsxd rcx, eax
sub qword [0x140473740], rcx
mov rcx, rdi
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x140266f09
call qword [0x14046b0c0]
jmp 0x140266f09
mov rcx, rdi
call qword [0x14046b058]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140266f18
call qword [0x14046b0c0]
mov rcx, r13
call fcn.1402295e0
cmp ebx, 4
mov rbp, rsi
cmove ebx, ebp
cmp qword [r14], rsi
jne 0x140266f5c
test ebx, ebx
jne 0x140266f5c
mov rcx, qword [r15]
lea r9, str.block
mov r8, qword [r15 + 8]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ebp
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r12
call fcn.140202690
mov ebx, eax
cmp ebx, 1
jne 0x140266f6b
mov ebx, 0x10b
jmp 0x140267184
test ebx, ebx
jne 0x140267184
mov rbx, qword [r14]
test rbx, rbx
je 0x140266f85
cmp qword [rbx + 0x18], rsi
je 0x140266f85
mov ebx, dword [rbx]
jmp 0x140266f87
mov ebx, ebp
call fcn.140319ef0
test eax, eax
jne 0x14026717d
movsxd rax, ebx
mov qword [rsp + 0x70], rax
lea rcx, [rax + 0x24]
call fcn.1402e5070
mov rsi, rax
test rax, rax
je 0x14026717d
lea r12, [rax + 0x10]
mov dword [rax + 8], ebx
mov qword [rax], r12
mov rbp, qword [r14]
test rbp, rbp
jne 0x140266ff4
lea rax, [0x14035ce34]
mov ebx, 0x15
mov ecx, ebx
mov qword [rsp + 0x20], rax
mov r9d, 0x18cf6
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140208410
jmp 0x1402670f7
mov rdi, qword [rbp + 0x20]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140267007
call qword [0x14046b0b0]
mov r13, qword [rbp + 0x18]
test ebx, ebx
js 0x1402670bc
cmp ebx, dword [rbp]
jg 0x1402670bc
test r13, r13
jne 0x14026702a
lea ebx, [r13 + 4]
jmp 0x1402670c1
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], 0
je 0x140267046
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x140267046
call fcn.140232d50
mov rcx, qword [rbp + 0x10]
mov r9, r12
mov edx, dword [rbp + 4]
mov r8d, ebx
cmp byte [rcx], 0
jne 0x140267067
mov dword [rsp + 0x20], 0
call fcn.14022aa80
jmp 0x14026706c
call fcn.14022ae70
mov ebx, eax
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], 0
je 0x140267087
sub dword [rcx + 0x14], 1
jne 0x140267087
call fcn.14031cda0
cmp ebx, 4
jne 0x14026709e
mov rcx, r13
call fcn.140308de0
mov qword [rbp + 0x18], 0
jmp 0x1402670c1
mov dword [r13 + 0x34], ebx
mov dword [rdi + 0x50], ebx
test ebx, ebx
jne 0x1402670c4
cmp qword [rdi + 0x190], 0
jne 0x1402670c4
mov dword [rdi + 0x54], 0xffffffff
jmp 0x1402670ce
mov ebx, 1
mov dword [rdi + 0x50], ebx
mov edx, ebx
mov rcx, rdi
call fcn.1402c0010
cmp byte [rdi + 0x67], 0
jne 0x1402670d8
test ebx, ebx
je 0x1402670e4
mov edx, ebx
mov rcx, rdi
call fcn.14022e8e0
mov ebx, eax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1402670f3
call qword [0x14046b0c0]
test ebx, ebx
je 0x140267154
cmp dword [0x14046b030], 0
je 0x140267149
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x140267112
call qword [0x14046b0b0]
mov rcx, rsi
call qword [0x14046b068]
dec qword [0x140473788]
movsxd rcx, eax
sub qword [0x140473740], rcx
mov rcx, rsi
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x140267182
call qword [0x14046b0c0]
jmp 0x140267182
mov rcx, rsi
call qword [0x14046b058]
jmp 0x140267182
mov rax, qword [rsi]
mov rcx, qword [rsp + 0x70]
mov byte [rcx + rax], 0
mov rax, qword [rsi]
mov byte [rax + rcx + 1], 0
mov rax, qword [rsi]
movzx ecx, byte [rax + 2]
movzx eax, byte [rax + 3]
shl ecx, 8
add ecx, eax
mov dword [rsi + 0xc], ecx
jmp 0x140267184
mov ebx, 7
xor esi, esi
inc dword [r15 + 0x70]
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov dword [r15 + 0x3c], ebx
mov rbx, qword [rsp + 0x78]
mov rax, rsi
add rsp, 0x48
pop r15
pop r12
pop rsi
pop rbp
ret