Function at 0x140029ef0
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2a8]
sub rsp, 0x380
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140121ef0]
xor rax, rsp
mov qword [rbp + 0x278], rax
mov rsi, rcx
call sub.mfc110u.dll_Ordinal_2220
test eax, eax
je 0x14002a3ba
mov dword [rsi + 0x17c], 1
call sub.mfc110u.dll_Ordinal_2160
lea rbx, [0x140122020]
cmp rbx, 0xffffffffffffffff
je 0x140029f7f
mov qword [0x1401220f8], rbx
cmp qword [0x140122020], 0
je 0x140029f7f
nop dword [rax]
mov cl, 1
call qword [rbx + 0x40]
lea rbx, [rbx + 0x48]
cmp qword [rbx], 0
jne 0x140029f70
mov rbx, qword [0x1401231f0]
mov rcx, qword [0x1401231f8]
cmp rbx, rcx
jae 0x140029faf
mov rax, qword [rbx]
test rax, rax
je 0x140029fa6
mov cl, 1
call qword [rax + gethostname]
mov rcx, qword [0x1401231f8]
add rbx, 8
cmp rbx, rcx
jb 0x140029f92
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140122100], eax
mov eax, dword [0x1400ddc10]
mov dword [rbp + 0x270], eax
movzx eax, word [0x1400ddc14]
mov word [rbp + 0x274], ax
xor edx, edx
mov r8d, Ordinal_280
lea rcx, [rbp + 0x150]
call sub.MSVCR110.dll_memset
mov dword [rbp + 0x150], Ordinal_280
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp + 0x154], 5
jne 0x14002a017
cmp dword [rbp + 0x158], 0
mov edi, 0x409
je 0x14002a01c
mov edi, 0x7f
mov rbx, qword [rsi + 0x90]
movzx edx, word [rbx]
xor r14d, r14d
cmp r14w, dx
je 0x14002a2f2
movzx r8d, word [rbp + 0x270]
nop dword [rax + rax]
lea rcx, [rbp + 0x270]
cmp r14w, r8w
je 0x14002a062
nop dword [rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
cmp dx, ax
je 0x14002a075
cmp r14w, word [rcx]
jne 0x14002a050
add rbx, 2
movzx edx, word [rbx]
cmp r14w, dx
je 0x14002a2f2
jmp 0x14002a040
add rbx, 2
je 0x14002a2f2
lea r15, str.UnregServer
lea r12, str.RegServer
lea r13, str.MoveFiles
nop word [rax + rax]
mov dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], r15
or r9d, 0xffffffff
mov r8, rbx
lea edx, [r9 + 2]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x14002a232
mov dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], r12
or r9d, 0xffffffff
mov r8, rbx
lea edx, [r9 + 2]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x14002a19b
mov dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], r13
or r9d, 0xffffffff
mov r8, rbx
lea edx, [r9 + 2]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x14002a157
movzx edx, word [rbx]
cmp r14w, dx
je 0x14002a2f2
lea rax, [rbp + 0x270]
nop dword [rax + rax]
movzx ecx, word [rax]
lea rax, [rax + 2]
cmp dx, cx
je 0x14002a148
cmp r14w, word [rax]
jne 0x14002a130
add rbx, 2
jmp 0x14002a117
add rbx, 2
je 0x14002a2f2
jmp 0x14002a0a0
mov edx, 0x50
mov rcx, rsi
call fcn.14002a610
mov dword [rsi + 0x178], eax
mov edx, 0x44
mov rcx, rsi
call fcn.14002a610
shl eax, 8
or dword [rsi + 0x178], eax
mov edx, 0x52
mov rcx, rsi
call fcn.14002a610
shl eax, 0x10
or dword [rsi + 0x178], eax
jmp 0x14002a2e6
xor r9d, r9d
mov edx, 0x81
lea r8d, [r9 + 1]
lea rcx, [0x1401220b0]
call fcn.14002f700
mov rbx, qword [0x1401220f8]
test rbx, rbx
je 0x14002a1f9
cmp qword [rbx], r14
je 0x14002a1f9
mov ecx, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
js 0x14002a2e6
call qword [rbx + gethostname]
mov rdx, rax
mov r8d, 1
mov rcx, qword [rbx]
call fcn.140029090
test eax, eax
js 0x14002a2e6
add rbx, 0x48
cmp qword [rbx], r14
jne 0x14002a1c4
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [0x1401231e0]
call fcn.140028d50
test eax, eax
js 0x14002a2e6
mov rax, qword [0x1401222a8]
test rax, rax
je 0x14002a2e6
mov rcx, qword [0x140123188]
call rax
jmp 0x14002a2e6
xor r9d, r9d
xor r8d, r8d
mov edx, 0x81
lea rcx, [0x1401220b0]
call fcn.14002f700
mov rbx, qword [0x1401220f8]
test rbx, rbx
je 0x14002a287
cmp qword [rbx], r14
je 0x14002a287
nop word [rax + rax]
call qword [rbx + gethostname]
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rbx]
call fcn.140029090
test eax, eax
js 0x14002a2e6
xor ecx, ecx
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
js 0x14002a2e6
add rbx, 0x48
cmp qword [rbx], r14
jne 0x14002a260
mov rax, qword [0x1401222b0]
test rax, rax
je 0x14002a299
call rax
test eax, eax
js 0x14002a2e6
mov rbx, qword [0x1401231f0]
mov rax, qword [0x1401231f8]
cmp rbx, rax
jae 0x14002a2e6
nop dword [rax]
mov rdi, qword [rbx]
test rdi, rdi
je 0x14002a2dd
call qword [rdi + 0x30]
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rdi]
call fcn.140029090
test eax, eax
js 0x14002a2e6
xor ecx, ecx
call qword [rdi + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
js 0x14002a2e6
mov rax, qword [0x1401231f8]
add rbx, 8
cmp rbx, rax
jb 0x14002a2b0
mov dword [rsi + 0x17c], r14d
jmp 0x14002a3ba
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [0x1401220b0]
call fcn.14002bcc0
test eax, eax
js 0x14002a2e6
mov ebx, 0x45
mov eax, 0x145
cmp dword [rbp + 0x154], 5
cmova ebx, eax
lea rcx, [rsp + 0x40]
call fcn.140069740
nop
mov dword [rsp + 0x20], ebx
lea r9, [0x1400ddc60]
lea r8, [0x1400ddc60]
lea rdx, str.almservice
lea rcx, [rbp - 0x70]
call fcn.140027e90
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1400673a0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140067440
mov dword [rsi + 0x178], eax
lea rcx, [rbp - 0x70]
call fcn.140028070
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
xor eax, eax
mov rcx, qword [rbp + 0x278]
xor rcx, rsp
call fcn.1400bb310
lea r11, [rsp + 0x380]
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