Function at 0x140190d70
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x928]
sub rsp, 0xa28
mov r12, rcx
xor edi, edi
mov ecx, 1
mov r13d, ecx
mov rax, qword [r12 + 0x70]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140190f27
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
mov r14d, ecx
mov rcx, qword [0x14037adb0]
add rdx, 0x170
mov rax, qword [rcx]
call qword [rax + 0xa0]
cmp eax, 0xffffffff
je 0x140190f02
mov rcx, qword [0x14037adb0]
xor r9d, r9d
mov rdx, qword [rbx + 0x10]
mov r8d, 0x80000000
mov qword [rsp + 0x38], rdi
add rdx, 0x170
mov dword [rsp + 0x30], edi
mov rax, qword [rcx]
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140190ee2
mov rcx, qword [0x14037adb0]
lea r8, [rbp + 0x988]
mov rdx, rax
mov r9, qword [rcx]
call qword [r9 + 0x68]
mov esi, eax
test eax, eax
je 0x140190ecd
mov ecx, esi
call fcn.140247068
mov rcx, qword [0x14037adb0]
mov r12, rax
lea rax, [rbp + 0x980]
mov qword [rsp + 0x28], rdi
mov r9d, esi
mov qword [rsp + 0x20], rax
mov r8, r12
mov rdx, r15
mov r10, qword [rcx]
call qword [r10 + 0x28]
cmp dword [rbp + 0x980], esi
jne 0x140190ebe
lea rax, vtable.CSABMD5.0
mov r8d, esi
mov rdx, r12
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.140190660
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x68]
add rdx, 0x600
call fcn.140252114
test eax, eax
cmove r14d, edi
mov rcx, r12
call fcn.140247060
mov r12, qword [rbp + 0x970]
mov rcx, qword [0x14037adb0]
mov rdx, r15
mov rax, qword [rcx]
call qword [rax + 0x38]
test r14d, r14d
je 0x140190f05
mov rcx, qword [0x14037adb0]
mov r13d, edi
mov rdx, qword [rbx + 0x10]
add rdx, 0x170
mov rax, qword [rcx]
call qword [rax + 0x88]
jmp 0x140190f05
mov r13d, edi
mov rbx, qword [rbx]
mov ecx, 1
mov rax, qword [r12 + 0x70]
cmp rbx, rax
jne 0x140190dc0
test r13d, r13d
jne 0x140190f27
xor eax, eax
jmp 0x140191477
mov rbx, qword [rax]
mov esi, edi
mov dword [rbp + 0x980], edi
cmp rbx, rax
je 0x14019137c
nop dword [rax + rax]
mov rsi, qword [rbx + 0x10]
lea rdx, str.UNREGSVR32
lea rcx, [rsi + 0x690]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140190f91
lea rcx, [rsi + 0x9d4]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x140190f91
lea rdx, str.DllUnregisterServer
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140190f88
call rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdx, str.EXECUTEASYNC
lea rcx, [rsi + 0x690]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140190ff3
mov rcx, qword [0x14037adb0]
lea rdx, [rsi + 0x9d4]
mov rax, qword [rcx]
call qword [rax + 0xc0]
mov r13d, 1
test eax, eax
je 0x140190ff9
lea r9, [rsi + 0x6d0]
mov dword [rsp + 0x28], r13d
lea r8, [rsi + 0x9d4]
mov qword [rsp + 0x20], rdi
lea rdx, [0x140299514]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x140190ff9
mov r13d, 1
lea rdx, str.EXECUTESYNC
lea rcx, [rsi + 0x690]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1401910a1
mov rcx, qword [0x14037adb0]
lea r14, [rsi + 0x9d4]
mov rdx, r14
mov rax, qword [rcx]
call qword [rax + 0xc0]
test eax, eax
je 0x1401910a1
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x70]
call fcn.140249b10
lea rax, [0x140299514]
mov dword [rsp + 0x50], WSACleanup
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x50]
lea rax, [rsi + 0x6d0]
mov dword [rsp + 0x54], 0x440
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r14
mov dword [rbp - 0x80], r13d
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x1401910a1
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1401910a1
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14037adb0]
xor r9d, r9d
mov rdx, qword [rbx + 0x10]
mov r8d, 0x80000000
mov qword [rsp + 0x38], rdi
add rdx, 0x170
mov dword [rsp + 0x30], edi
mov rax, qword [rcx]
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x140191368
mov rcx, qword [0x14037adb0]
lea r8, [rsp + 0x44]
mov rdx, rax
mov r9, qword [rcx]
call qword [r9 + 0x68]
mov r14d, eax
test eax, eax
je 0x14019132d
mov ecx, r14d
call fcn.140247068
mov rcx, qword [0x14037adb0]
mov r12, rax
lea rax, [rbp + 0x988]
mov qword [rsp + 0x28], rdi
mov r9d, r14d
mov qword [rsp + 0x20], rax
mov r8, r12
mov rdx, r13
mov r10, qword [rcx]
call qword [r10 + 0x28]
cmp dword [rbp + 0x988], r14d
jne 0x14019131e
mov esi, edi
test r12, r12
je 0x140191314
mov rcx, qword [0x14037adb0]
mov r15, qword [rbx + 0x10]
add r15, 0x9d4
mov rdx, r15
mov rax, qword [rcx]
call qword [rax + 0xa0]
cmp eax, 0xffffffff
je 0x14019124c
mov rcx, qword [0x14037adb0]
mov rdx, r15
mov rax, qword [rcx]
call qword [rax + 0x88]
test eax, eax
jne 0x14019124c
mov r8, r15
lea rcx, [rbp + 0x510]
mov edx, 0x410
call fcn.140253604
lea rcx, [rbp + 0x510]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov rax, qword [0x14037adb0]
lea rdx, [rbp + 0x100]
mov qword [rsp + 0x20], rdx
lea r8, [0x1402c4604]
xor r9d, r9d
lea rdx, [rbp + 0x510]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x188]
test eax, eax
je 0x140191314
mov rcx, qword [0x14037adb0]
lea rdx, [rbp + 0x100]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rcx, qword [0x14037adb0]
lea r8, [rbp + 0x100]
mov r9d, 1
mov rdx, r15
mov rax, qword [rcx]
call qword [rax + 0xe0]
test eax, eax
je 0x140191314
mov rcx, qword [0x14037adb0]
lea rdx, [rbp + 0x100]
mov r9d, 4
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0xe0]
mov rcx, qword [0x14037adb0]
xor r9d, r9d
mov qword [rsp + 0x38], rdi
mov r8d, 0x40000000
mov dword [rsp + 0x30], edi
mov rdx, r15
mov dword [rsp + 0x28], 2
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140191314
mov rcx, qword [0x14037adb0]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rdi
mov r9d, r14d
mov r8, r12
mov qword [rsp + 0x20], rax
mov rdx, r15
mov r10, qword [rcx]
call qword [r10 + PathResolve]
test eax, eax
je 0x1401912c3
cmp dword [rsp + 0x40], r14d
mov r14d, 1
cmove esi, r14d
jmp 0x1401912c9
mov r14d, 1
mov rcx, qword [0x14037adb0]
mov rdx, r15
mov rax, qword [rcx]
call qword [rax + 0x38]
test esi, esi
je 0x140191314
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbp + 0x970]
call fcn.140194be0
mov rcx, qword [rbx + 0x10]
lea rdx, str.UPDATEREBOOT
add rcx, 0x670
call fcn.140252114
test eax, eax
jne 0x14019131e
mov rax, qword [rbp + 0x978]
mov dword [rax], r14d
jmp 0x14019131e
mov dword [rbp + 0x980], 1
mov rcx, r12
call fcn.140247060
mov r12, qword [rbp + 0x970]
mov rcx, qword [0x14037adb0]
mov rdx, r13
mov rax, qword [rcx]
call qword [rax + 0x38]
mov esi, dword [rbp + 0x980]
test esi, esi
jne 0x140191471
mov rcx, qword [0x14037adb0]
mov rdx, qword [rbx + 0x10]
add rdx, 0x170
mov rax, qword [rcx]
call qword [rax + 0x88]
jmp 0x14019136e
mov esi, dword [rbp + 0x980]
mov rbx, qword [rbx]
cmp rbx, qword [r12 + 0x70]
jne 0x140190f40
mov rdx, qword [r12 + 0x28]
lea rcx, [rbp + 0x510]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, str.Update
lea rcx, [rbp + 0x510]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea r8, [rbp + 0x510]
mov edx, 0x410
lea rcx, [rbp + 0x100]
call fcn.140253604
lea rdx, [0x14028db80]
lea rcx, [rbp + 0x100]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x140
call fcn.140249b10
mov rcx, qword [0x14037adb0]
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x100]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14019146f
test byte [rbp - 0x40], 0x10
jne 0x140191446
lea r8, [rbp + 0x510]
mov edx, 0x410
lea rcx, [rbp + 0x100]
call fcn.140253604
lea rdx, [rbp - 0x14]
lea rcx, [rbp + 0x100]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov rcx, qword [0x14037adb0]
lea rdx, [rbp + 0x100]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rcx, qword [0x14037adb0]
lea r8, [rbp - 0x40]
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
jne 0x140191400
mov rcx, qword [0x14037adb0]
mov rdx, rbx
mov r8, qword [rcx]
call qword [r8 + 0x60]
test esi, esi
sete dil
mov eax, edi
add rsp, 0xa28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret