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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor edi, edi
lea r14, [rcx + 0x10]
cmp byte [rdx], 0x3e
mov rbx, r8
mov r15, rdx
mov qword [rsp + 0x20], r14
mov r13, rcx
jne 0x140007a86
mov rcx, qword [r14]
mov esi, edi
add rcx, 0xfffffffffffffff0
inc r15
mov qword [r14], rcx
mov qword [rsp + 0x88], r15
jmp 0x140007a95
mov rsi, qword [r8 + 0x80]
mov qword [rsp + 0x20], r14
mov rcx, qword [rsi]
movzx eax, byte [rcx + 8]
sub al, 0x46
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x28], rcx
mov rbp, rdi
test al, 0xdf
jne 0x140007ab2
mov rbp, qword [rcx]
movzx eax, byte [r15]
mov rcx, r15
mov qword [rsp + 0x98], rcx
mov r12d, 1
test al, al
je 0x140007bee
lea r14, [0x140000000]
mov r8d, 0x100
lea r15, [0x140059374]
lea r10, str.main
lea rdx, str._C_
movsx eax, al
add eax, 0xffffffb4
cmp eax, 0x29
ja case.default.0x140007b16
cdqe
movzx eax, byte [r14 + rax + 0x7e64]
mov ecx, dword [r14 + rax*4 + 0x7e44]
add rcx, r14
jmp rcx
test rbp, rbp
je 0x140007b7b
cmp byte [rbp + 8], 0x26
je 0x140007b7b
mov r9, qword [rbp + 0x18]
mov rdx, qword [r9 + 0x70]
test rdx, rdx
je 0x140007b50
add rdx, 0x18
mov qword [rbx + 0x20], rdx
mov r8, qword [r9 + 0x70]
cmp byte [r8 + 8], 4
jne 0x140007b4a
movzx r8d, byte [r8 + 0xb]
jmp 0x140007b5d
mov r8, qword [r8 + 0x10]
jmp 0x140007b5d
mov qword [rbx + 0x20], r15
mov r8d, 2
mov rdx, r15
mov qword [rbx + 0x28], r8
lea rcx, [0x140059380]
mov eax, dword [r9 + 0x2c]
test eax, eax
mov dword [rbx + 0x34], eax
mov eax, dword [r9 + 0x30]
cmove rcx, r10
jmp 0x140007b9e
mov eax, 0xffffffff
mov qword [rbx + 0x20], rdx
mov qword [rbx + 0x28], 4
lea rcx, [0x140059370]
mov dword [rbx + 0x34], 0xffffffff
lea r8d, [rax + 5]
mov dword [rbx + 0x38], eax
mov qword [rbx + 0x18], rcx
lea rcx, [rbx + 0x44]
call fcn.140010940
mov rcx, qword [rsp + 0x98]
movzx eax, byte [rcx + 1]
lea rdx, str._C_
inc rcx
lea r10, str.main
mov qword [rsp + 0x98], rcx
mov r8d, 0x100
test al, al
jne 0x140007af1
mov r14, qword [rsp + 0x20]
mov r15, qword [rsp + 0x88]
mov edx, 0x66
mov rcx, r15
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x140007c1b
mov rcx, qword [r13 + 0x10]
mov rdx, qword [rsp + 0x28]
mov rax, qword [rdx]
mov qword [rcx], rax
movzx eax, byte [rdx + 8]
mov byte [rcx + 8], al
add qword [r13 + 0x10], 0x10
mov edx, 0x4c
mov rcx, r15
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x140007e28
test rbp, rbp
je 0x140007e1d
cmp byte [rbp + 8], 0x26
je 0x140007e1d
mov rsi, qword [rbp + 0x18]
mov rcx, r13
mov ebx, dword [rsi + 0x2c]
call fcn.140017820
mov rbp, rax
mov rax, qword [r14]
mov qword [rax], rbp
mov byte [rax + 8], 0x45
add qword [r14], 0x10
mov byte [rsp + 0x38], select
cmp byte [rsi + 0xb], dil
je 0x140007dd7
mov rax, qword [rsi + 0x58]
movsx ecx, byte [rax]
cmp cl, 0x80
je 0x140007dc6
add ebx, ecx
jmp 0x140007dd2
test rsi, rsi
je 0x140007cba
test byte [rsi + 0x3e], 2
jne 0x140007cba
mov rax, qword [rsi]
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rax]
mov rcx, qword [rcx + 0x18]
sub rdx, qword [rcx + 0x40]
sar rdx, 2
dec edx
call fcn.140007560
mov dword [rbx + 0x30], eax
jmp case.0x140007b16.76
mov eax, 0xffffffff
mov dword [rbx + 0x30], eax
jmp case.0x140007b16.76
test rbp, rbp
jne 0x140007cde
mov byte [rbx + 0x3c], dil
xor cl, cl
mov byte [rbx + 0x3e], 1
mov byte [rbx + 0x3d], cl
jmp case.0x140007b16.76
movzx eax, byte [rbp + 0xa]
mov byte [rbx + 0x3c], al
cmp byte [rbp + 8], 0x26
je 0x140007cd0
mov rax, qword [rbp + 0x18]
movzx ecx, byte [rax + 0xb]
mov byte [rbx + 0x3e], cl
mov rax, qword [rbp + 0x18]
movzx ecx, byte [rax + 0xa]
mov byte [rbx + 0x3d], cl
jmp case.0x140007b16.76
test rsi, rsi
je 0x140007d19
movzx eax, byte [rsi + 0x3e]
and al, 0x20
mov byte [rbx + 0x3f], al
jmp case.0x140007b16.76
xor al, al
mov byte [rbx + 0x3f], al
jmp case.0x140007b16.76
test rsi, rsi
je 0x140007d6b
test byte [rsi + 0x3e], 0x20
jne 0x140007d6b
mov rdx, qword [rsi + 0x10]
lea rax, [rbx + 8]
mov r8, rax
mov qword [rsp + 0x30], rax
mov rcx, r13
call fcn.140006b50
mov qword [rbx + 0x10], rax
test rax, rax
jne case.0x140007b16.76
mov rax, qword [rsp + 0x30]
lea rcx, [0x1400590b9]
mov qword [rbx + 0x10], rcx
mov qword [rax], rdi
jmp case.0x140007b16.76
lea rax, [rbx + 8]
mov qword [rbx + 0x10], rdi
lea rcx, [0x1400590b9]
mov qword [rax], rdi
mov qword [rbx + 0x10], rcx
jmp case.0x140007b16.76
test rsi, rsi
je 0x140007da7
test word [rsi + 0x3e], r8w
je 0x140007da7
movzx eax, word [rsi + 0x38]
mov word [rbx + 0x40], ax
movzx eax, word [rsi + 0x3a]
mov word [rbx + 0x42], ax
jmp case.0x140007b16.76
mov eax, edi
mov word [rbx + 0x40], di
mov word [rbx + 0x42], ax
jmp case.0x140007b16.76
mov rcx, qword [rsp + 0x98]
mov r12d, edi
jmp 0x140007bb6
xor edx, edx
mov rcx, rsi
call fcn.140007560
mov ebx, eax
mov edi, 1
cmp edi, dword [rsi + 0x1c]
jge 0x140007e28
mov r14d, edi
nop
mov rax, qword [rsi + 0x58]
movsx ecx, byte [r14 + rax]
cmp cl, 0x80
je 0x140007df2
add ebx, ecx
jmp 0x140007dfe
mov edx, edi
mov rcx, rsi
call fcn.140007560
mov ebx, eax
movsxd r8, ebx
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, r13
call fcn.1400180a0
inc edi
inc r14
cmp edi, dword [rsi + 0x1c]
jl 0x140007de0
jmp 0x140007e28
mov rax, qword [r14]
mov byte [rax + 8], dil
add qword [r14], 0x10
mov rbp, qword [rsp + 0x80]
mov eax, r12d
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret