Function at 0x140001560
Capabilities:
Create process on windows
Get file version info

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x630
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov qword [rbp + 0x630], rbx
mov qword [rbp + 0x638], rsi
mov qword [rbp + 0x640], rdi
mov rax, qword [0x14000c008]
xor rax, rbp
mov qword [rbp + 0x5f0], rax
xor r13d, r13d
mov dword [rbp + 0x10], r13d
mov qword [rbp + 8], r13
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
lea rdx, str._d._.2d
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_310]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_316]
mov rsi, rax
mov r12d, 1
mov dword [rbp + 0x10], r12d
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0xc0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1400016be
mov dword [rbp], r13d
lea rdx, [rbp]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
test eax, eax
je 0x1400016be
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov r9, rax
mov r8d, ebx
mov edx, dword [rbp]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x1400016ad
mov qword [rbp + 0x20], r13
mov dword [rbp + 0xb0], r13d
lea r9, [rbp + 0xb0]
lea r8, [rbp + 0x20]
lea rdx, [0x140007aa0]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x1400016b3
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x10]
mov r8d, ecx
shr r8d, 0x10
movzx r9d, cx
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_4648]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400016c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400016c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov rdx, rsi
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov eax, dword [rsp]
mov r15d, pe_nt_image_headers64
sub rsp, r15
lea rbx, [rsp + 0x30]
mov eax, dword [rbx]
mov r8d, r15d
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsp]
sub rsp, r15
lea rsi, [rsp + 0x30]
mov eax, dword [rsi]
mov r8d, r15d
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [str.CaseWareWorking_Papers_]
movups xmmword [rbx], xmm0
movsd xmm1, qword [0x140007ab8]
movsd qword [rbx + 0x10], xmm1
movzx eax, byte [0x140007ac0]
mov byte [rbx + 0x18], al
movups xmm0, xmmword [str.CaseWare_InternationalWorking_Papers_]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [0x140007ad8]
movups xmmword [rsi + 0x10], xmm1
mov eax, dword [0x140007ae8]
mov dword [rsi + 0x20], eax
movzx eax, word [0x140007aec]
mov word [rsi + 0x24], ax
movzx eax, byte [0x140007aee]
mov byte [rsi + 0x26], al
lea rcx, [rbx - 1]
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140001780
mov r8, qword [rbp + 0x18]
xor edx, edx
nop
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001790
lea rcx, [rsi - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400017a4
mov r8, qword [rbp + 0x18]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400017c0
or rax, 0xffffffffffffffff
inc rax
cmp byte [rsi + rax], 0
jne 0x1400017d4
add rax, 0x16
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400017f4
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140005c70
sub rsp, rcx
lea rdi, [rsp + 0x30]
movsd xmm0, qword [str.Software_]
movsd qword [rdi], xmm0
movzx eax, word [0x140007af8]
mov word [rdi + 8], ax
lea rcx, [rdi - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140001823
xor edx, edx
nop
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001830
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140001843
inc rbx
lea rdx, [rbx + rbx]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
jne 0x140001871
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
jmp 0x1400018dd
call qword [sym.imp.KERNEL32.dll_GetACP]
mov ecx, eax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r14
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14000189d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400018d1
call fcn.140001ce0
mov r9d, r13d
test eax, eax
cmovne r9d, r15d
or r9d, 0x20019
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r8d, 8
mov rdx, r14
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r15d, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r15d, r15d
jne 0x1400018fb
mov r8, rdi
mov rcx, qword [rbp + 8]
call fcn.140001470
mov r15d, eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsd xmm0, qword [str.Software_]
movsd qword [rdi], xmm0
movzx ecx, word [0x140007af8]
mov word [rdi + 8], cx
lea rcx, [rdi - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140001916
xor edx, edx
movzx eax, byte [rsi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001921
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140001934
inc rbx
lea rdx, [rbx + rbx]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
jne 0x140001967
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r14d, pe_nt_image_headers64
jmp 0x1400019de
call qword [sym.imp.KERNEL32.dll_GetACP]
mov ecx, eax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140001999
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, pe_nt_image_headers64
jmp 0x1400019d3
call fcn.140001ce0
mov r9d, r13d
test eax, eax
mov r14d, pe_nt_image_headers64
cmovne r9d, r14d
or r9d, 0x20019
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r8d, 8
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
jne 0x1400019fa
mov r8, rdi
mov rcx, qword [rbp + 8]
call fcn.140001470
mov ebx, eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15d, r15d
jne 0x140001a07
test ebx, ebx
je 0x140001c97
mov r8, r14
xor edx, edx
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x3f0]
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov r9d, r14d
lea r8, [rbp + 0xc0]
mov edx, 0x75
call qword [sym.imp.USER32.dll_LoadStringA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov r9d, 0x200
lea r8, [rbp + 0x3f0]
mov edx, 0x82
call qword [sym.imp.USER32.dll_LoadStringA]
call qword [sym.imp.mfc140.dll_Ordinal_2217]
test rax, rax
je 0x140001a91
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xf8]
test rax, rax
je 0x140001a91
mov rcx, qword [rax + 0x40]
jmp 0x140001a94
mov rcx, r13
mov r9d, 0x14
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0x3f0]
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x140001c94
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x2e0]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov qword [rbp + 0xb0], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1d0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x40], 0x70
lea rcx, [rbp]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov r8d, 0x104
lea rdx, [rbp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rbp + 0x1d0]
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x2e0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__splitpath]
lea r9, [rbp + 0x1d0]
lea r8, [rbp + 0xb0]
lea rdx, str._s_s
lea rcx, [rbp]
call qword [sym.imp.mfc140.dll_Ordinal_4648]
lea rax, str.CWSoftwareKeyLink64.exe
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1d0]
lea r8, [rbp + 0xb0]
lea rdx, str._s_s_s
lea rcx, [rbp + 0x10]
call qword [sym.imp.mfc140.dll_Ordinal_4648]
mov dword [rbp + 0x44], r13d
call qword [sym.imp.mfc140.dll_Ordinal_2217]
test rax, rax
je 0x140001bc9
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xf8]
test rax, rax
je 0x140001bc9
mov rax, qword [rax + 0x40]
mov qword [rbp + 0x48], rax
jmp 0x140001bcd
mov qword [rbp + 0x48], r13
lea rax, str.open
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x70], r13d
lea rcx, [rbp + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ebx, dword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0x20
jbe 0x140001c7f
or edx, 0xffffffff
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov r9d, 0x200
lea r8, [rbp + 0x3f0]
mov edx, 0x83
call qword [sym.imp.USER32.dll_LoadStringA]
call qword [sym.imp.mfc140.dll_Ordinal_2217]
test rax, rax
je 0x140001c61
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xf8]
test rax, rax
je 0x140001c61
mov rcx, qword [rax + 0x40]
jmp 0x140001c64
mov rcx, r13
mov r9d, 0x40
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0x3f0]
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rbp]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov r12d, r13d
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov eax, r12d
mov rcx, qword [rbp + 0x5f0]
xor rcx, rbp
call fcn.1400048d0
mov rbx, qword [rbp + 0x630]
mov rsi, qword [rbp + 0x638]
mov rdi, qword [rbp + 0x640]
lea rsp, [rbp + 0x600]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret