Function at 0x14005c6f0
Capabilities:
Accept command line arguments
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1400ce568]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov byte [rsp + 0x20], dl
mov rbx, rcx
mov qword [rsp + 0x38], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbx], eax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005c750
lea r15, [rbx + 0x210]
mov rdx, rax
mov rcx, r15
call fcn.14000d6c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.1400725e0
mov r14d, 0x104
mov r8d, r14d
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r13, [rbx + 4]
mov ecx, r14d
lea rax, [rsp + 0x60]
cmp word [rax], 0
je 0x14005c7b1
add rax, 2
sub rcx, 1
jne 0x14005c7a1
mov rdx, r14
xor r12d, r12d
sub rdx, rcx
test rcx, rcx
cmove rdx, r12
mov eax, r12d
cmovne rax, rdx
lea rcx, [rsp + 0x60]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x60]
cmp rcx, rax
jbe 0x14005c7fa
nop dword [rax + rax]
cmp word [rcx], 0x5c
je 0x14005c7f6
sub rcx, 2
lea rax, [rsp + 0x60]
cmp rcx, rax
ja 0x14005c7e0
jmp 0x14005c7fa
add rcx, 2
mov r8, r14
mov rdx, r13
sub rcx, r13
lea rax, [r8 + 0x7ffffefa]
test rax, rax
je 0x14005c825
movzx eax, word [rcx + rdx]
test ax, ax
je 0x14005c825
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x14005c803
lea rax, [rdx - 2]
test r8, r8
cmovne rax, rdx
mov word [rax], r12w
test r13, r13
je 0x14005c85f
mov rcx, r14
mov rax, r13
nop
cmp word [rax], 0
je 0x14005c850
add rax, 2
sub rcx, 1
jne 0x14005c840
mov rax, r14
sub rax, rcx
test rcx, rcx
cmove rax, r12
jne 0x14005c862
mov rax, r12
lea rax, [rax*2]
add rax, r13
cmp rax, r13
jbe 0x14005c887
cmp word [rax], 0x2e
je 0x14005c883
sub rax, 2
cmp rax, r13
ja 0x14005c872
jmp 0x14005c887
mov word [rax], r12w
mov rcx, r13
call qword [sym.imp.USER32.dll_CharLowerW]
add rbx, 0x20c
mov qword [rsp + 0x28], rbx
mov rdx, r13
mov rcx, rbx
call fcn.14005c230
mov r10, r15
cmp qword [r15 + 0x18], 8
jb 0x14005c8b4
mov r10, qword [r15]
mov rax, qword [r15 + 0x10]
mov esi, 7
cmp rax, 2
jb 0x14005c928
lea r11, [rax - 1]
lea r11, [r10 + r11*2]
mov rcx, r10
lea rdi, [0x1400a1e74]
mov rax, r11
sub rax, rcx
sar rax, 1
je 0x14005c928
cmp word [rcx], 0x3a
je 0x14005c8f0
add rcx, 2
sub rax, 1
jmp 0x14005c8de
mov r8d, 2
mov rdx, rdi
mov r9, rcx
sub r9, rdi
nop
movzx eax, word [rdx]
cmp word [r9 + rdx], ax
jne 0x14005ca85
add rdx, 2
sub r8, 1
jne 0x14005c900
sub rcx, r10
sar rcx, 1
cmp rcx, 3
jb 0x14005ca55
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x40], r12w
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14005c944
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14000d6c0
nop
mov dword [rsp + 0x24], r12d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
test rax, rax
je 0x14005ca0e
lea rax, [rsp + 0x40]
cmp r15, rax
je 0x14005c9ac
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, r15
call fcn.14000d6c0
mov edi, 1
cmp dword [rsp + 0x24], edi
jle 0x14005ca04
lea rbx, [rsi + 8]
nop dword [rax + rax]
mov r8d, 1
lea rdx, [0x1400bad70]
mov rcx, r15
call fcn.14000edd0
mov rdx, qword [rbx]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x14005c9e0
mov rcx, r15
call fcn.14000edd0
inc edi
add rbx, 8
cmp edi, dword [rsp + 0x24]
jl 0x14005c9c0
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14005ca50
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ca4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cc7c
call fcn.14006fc78
mov esi, 7
cmp dword [rbx], 0x6528b538
jne 0x14005cbc8
mov rbx, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 8
jb 0x14005ca6f
mov r15, qword [r15]
cmp rbx, 8
jae 0x14005ca8e
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x40], xmm0
mov rdi, qword [rsp + 0x40]
jmp 0x14005cacf
add rcx, 2
jmp 0x14005c8d5
mov rsi, rbx
or rsi, 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
cmova rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x40]
call fcn.14000d860
mov rdi, rax
mov qword [rsp + 0x40], rax
lea r8, [rbx*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.1400721b0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x170]
call fcn.1400725e0
lea rdx, [rsp + 0x40]
cmp rsi, 8
cmovae rdx, rdi
lea rcx, [rbp + 0x170]
lea rax, [rbp + 0x170]
sub rdx, rax
nop dword [rax + rax]
lea rax, [r14 + 0x7ffffefa]
test rax, rax
je 0x14005cb32
movzx eax, word [rdx + rcx]
test ax, ax
je 0x14005cb32
mov word [rcx], ax
add rcx, 2
sub r14, 1
jne 0x14005cb10
lea rax, [rcx - 2]
test r14, r14
cmovne rax, rcx
mov word [rax], r12w
lea rdx, [0x1400a5ce8]
lea rcx, [rbp + 0x170]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x14005cbbe
mov word [rax], r12w
mov edx, 0x20
lea rcx, [rbp + 0x170]
call fcn.140072988
test rax, rax
lea rbx, [rax + 2]
jne 0x14005cb7f
lea rbx, [rbp + 0x170]
mov edx, 0x5c
mov rcx, rbx
call fcn.140072988
test rax, rax
je 0x14005cb95
lea rbx, [rax + 2]
mov r8, rbx
mov edx, 0x208
mov rcx, r13
call fcn.140004c90
lea rcx, [rsp + 0x40]
call fcn.140006ac0
mov rdx, r13
mov rcx, qword [rsp + 0x28]
call fcn.14005c230
jmp 0x14005cbc8
lea rcx, [rsp + 0x40]
call fcn.140006ac0
cmp byte [rsp + 0x20], 0
je 0x14005cc4c
mov dword [rsp + 0x24], r12d
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
je 0x14005cc4c
mov ecx, edi
call fcn.140070308
mov rbx, rax
test rax, rax
je 0x14005cc4c
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov r9, rax
mov r8d, edi
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoW
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [0x1400b9f10]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14005cc44
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 8]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x230], ecx
mov rcx, rbx
call fcn.14006fc78
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14006fd90
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14007698c
int3