Function at 0x14005b7c0
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 [0x1400cd548]
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 0x14005b820
lea r15, [rbx + 0x210]
mov rdx, rax
mov rcx, r15
call fcn.14000d670
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140070390
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 0x14005b881
add rax, 2
sub rcx, 1
jne 0x14005b871
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 0x14005b8ca
nop dword [rax + rax]
cmp word [rcx], 0x5c
je 0x14005b8c6
sub rcx, 2
lea rax, [rsp + 0x60]
cmp rcx, rax
ja 0x14005b8b0
jmp 0x14005b8ca
add rcx, 2
mov r8, r14
mov rdx, r13
sub rcx, r13
lea rax, [r8 + 0x7ffffefa]
test rax, rax
je 0x14005b8f5
movzx eax, word [rcx + rdx]
test ax, ax
je 0x14005b8f5
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x14005b8d3
lea rax, [rdx - 2]
test r8, r8
cmovne rax, rdx
mov word [rax], r12w
test r13, r13
je 0x14005b92f
mov rcx, r14
mov rax, r13
nop
cmp word [rax], 0
je 0x14005b920
add rax, 2
sub rcx, 1
jne 0x14005b910
mov rax, r14
sub rax, rcx
test rcx, rcx
cmove rax, r12
jne 0x14005b932
mov rax, r12
lea rax, [rax*2]
add rax, r13
cmp rax, r13
jbe 0x14005b957
cmp word [rax], 0x2e
je 0x14005b953
sub rax, 2
cmp rax, r13
ja 0x14005b942
jmp 0x14005b957
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.14005b300
mov r10, r15
cmp qword [r15 + 0x18], 8
jb 0x14005b984
mov r10, qword [r15]
mov rax, qword [r15 + 0x10]
mov esi, 7
cmp rax, 2
jb 0x14005b9f8
lea r11, [rax - 1]
lea r11, [r10 + r11*2]
mov rcx, r10
lea rdi, [0x1400a0eac]
mov rax, r11
sub rax, rcx
sar rax, 1
je 0x14005b9f8
cmp word [rcx], 0x3a
je 0x14005b9c0
add rcx, 2
sub rax, 1
jmp 0x14005b9ae
mov r8d, 2
mov rdx, rdi
mov r9, rcx
sub r9, rdi
nop
movzx eax, word [rdx]
cmp word [r9 + rdx], ax
jne 0x14005bb55
add rdx, 2
sub r8, 1
jne 0x14005b9d0
sub rcx, r10
sar rcx, 1
cmp rcx, 3
jb 0x14005bb25
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 0x14005ba14
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14000d670
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 0x14005bade
lea rax, [rsp + 0x40]
cmp r15, rax
je 0x14005ba7c
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, r15
call fcn.14000d670
mov edi, 1
cmp dword [rsp + 0x24], edi
jle 0x14005bad4
lea rbx, [rsi + 8]
nop dword [rax + rax]
mov r8d, 1
lea rdx, [0x1400b9990]
mov rcx, r15
call fcn.14000ed70
mov rdx, qword [rbx]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x14005bab0
mov rcx, r15
call fcn.14000ed70
inc edi
add rbx, 8
cmp edi, dword [rsp + 0x24]
jl 0x14005ba90
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 0x14005bb20
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bb1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005bd4c
call fcn.14006ec58
mov esi, 7
cmp dword [rbx], 0x6528b538
jne 0x14005bc98
mov rbx, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 8
jb 0x14005bb3f
mov r15, qword [r15]
cmp rbx, 8
jae 0x14005bb5e
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x40], xmm0
mov rdi, qword [rsp + 0x40]
jmp 0x14005bb9f
add rcx, 2
jmp 0x14005b9a5
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.14000d810
mov rdi, rax
mov qword [rsp + 0x40], rax
lea r8, [rbx*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.140071350
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x170]
call fcn.140070390
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 0x14005bc02
movzx eax, word [rdx + rcx]
test ax, ax
je 0x14005bc02
mov word [rcx], ax
add rcx, 2
sub r14, 1
jne 0x14005bbe0
lea rax, [rcx - 2]
test r14, r14
cmovne rax, rcx
mov word [rax], r12w
lea rdx, str..dll
lea rcx, [rbp + 0x170]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x14005bc8e
mov word [rax], r12w
mov edx, 0x20
lea rcx, [rbp + 0x170]
call fcn.140071964
test rax, rax
lea rbx, [rax + 2]
jne 0x14005bc4f
lea rbx, [rbp + 0x170]
mov edx, 0x5c
mov rcx, rbx
call fcn.140071964
test rax, rax
je 0x14005bc65
lea rbx, [rax + 2]
mov r8, rbx
mov edx, 0x208
mov rcx, r13
call fcn.140004af0
lea rcx, [rsp + 0x40]
call fcn.140006a70
mov rdx, r13
mov rcx, qword [rsp + 0x28]
call fcn.14005b300
jmp 0x14005bc98
lea rcx, [rsp + 0x40]
call fcn.140006a70
cmp byte [rsp + 0x20], 0
je 0x14005bd1c
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 0x14005bd1c
mov ecx, edi
call fcn.14006f2e8
mov rbx, rax
test rax, rax
je 0x14005bd1c
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, [0x1400b8b50]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14005bd14
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.14006ec58
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14006ed70
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.14007576c
int3