Function at 0x416f60
Capabilities:
Copy file
Impersonate user
Read file via mapping
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448cc7
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x45c070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov edi, ecx
xor ebx, ebx
mov ecx, 0x45d48c
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xdc], ebx
call edx
add eax, 0x10
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x90]
push eax
mov ecx, 0x450e90
mov dword [ebp - 4], ebx
call fcn.004037a0
mov byte [ebp - 4], 1
mov eax, dword [0x45d538]
cmp eax, ebx
je 0x417024
xor edx, edx
cmp eax, ebx
setne dl
cmp edx, ebx
je 0x418230
cmp byte [eax + 0x25], bl
je 0x41700e
cmp edx, ebx
je 0x418230
cmp byte [eax + 0x24], bl
je 0x41700e
mov ecx, 1
jmp 0x417010
xor ecx, ecx
add dword [ebp - 0xc0], ecx
cmp edx, ebx
je 0x418230
mov eax, dword [eax]
cmp eax, ebx
jne 0x416fe6
lea eax, [edi + 4]
push 0x450e90
push eax
mov ebx, 0xf
call fcn.004036c0
mov esi, dword [0x45d538]
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0xc0]
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0x9c], esi
test esi, esi
je 0x41824f
mov eax, dword [esi + 0xc]
cmp dword [eax - 0xc], 0
jne 0x4170b0
mov eax, dword [esi + 8]
movzx ecx, al
push ecx
mov edx, eax
mov ecx, eax
shr edx, 8
and edx, 0xff
push edx
shr ecx, 0x10
and ecx, 0xff
push ecx
shr eax, 0x18
push eax
add edi, 8
push str._u._u._u._u
mov dword [ebp - 0x98], edi
call fcn.00403fa0
add esp, 0x14
jmp 0x417171
mov ebx, dword [edi + 8]
lea edx, [edi + 8]
lea edi, [eax - 0x10]
sub ebx, 0x10
mov dword [ebp - 0x98], edx
cmp edi, ebx
je 0x417171
cmp dword [ebx + 0xc], 0
jl 0x417167
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x417167
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x4170ff
cmp eax, dword [edi]
jne 0x4170ff
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41713b
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x417118
call fcn.00407470
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.0042e1e7
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417154
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [ebp - 0x98]
add esi, 0x10
mov dword [ecx], esi
mov esi, dword [ebp - 0x9c]
jmp 0x417171
mov ebx, dword [eax - 0xc]
push eax
push edx
call fcn.004036c0
cmp byte [esi + 0x24], 0
je 0x418226
mov edx, dword [ebp - 0x9c]
cmp byte [edx + 0x25], 0
je 0x418226
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x418226
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x78]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41824f
cmp dword [0x45f350], 0
mov esi, dword [ebp - 0x98]
je 0x4171f3
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x4171d8
mov eax, dword [eax - 0xc]
push eax
push esi
call fcn.00403590
mov eax, dword [esi]
mov ecx, dword [0x45f350]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x800f
push ecx
call ebx
jmp 0x4171f9
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi]
push edx
push str.Installing_Agent_on__s
lea edi, [ebp - 0xd0]
call fcn.00403fa0
mov edx, dword [0x45f3ec]
add esp, 8
cmp dword [edx - 0xc], 0
je 0x417238
mov ecx, dword [ebp - 0xd0]
push 0x360
push str.CInstaller::RemoteInstall
push str.Installer.cpp
call fcn.00403d80
add esp, 0xc
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xb0]
fild dword [eax]
mov ecx, dword [ebp - 0xac]
fmul qword [0x454bc0]
fadd qword [0x454bc8]
fidiv dword [ecx]
call fcn.00445840
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x41728b
push 0
push eax
push 0x800d
push ecx
call ebx
mov eax, dword [0x45f350]
test eax, eax
je 0x41728b
push 0
push 1
push 0x800e
push eax
call ebx
lea edx, [ebp - 0x110]
push 0x451928
push edx
mov ecx, esi
call fcn.0041cf70
push eax
lea eax, [ebp - 0xa4]
push eax
mov ebx, str.ADMIN_
mov byte [ebp - 4], 2
call fcn.00406e70
add esp, 0x10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x110]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4172dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x9c]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
lea esi, [ebx + 0x14]
push eax
push ecx
mov ecx, dword [ebp - 0xa4]
call fcn.004168b0
test eax, eax
je 0x417484
cmp eax, 0x55
je 0x417484
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push 0
push 0
lea ecx, [ebp - 0xd4]
push ecx
push 0x400
mov dword [ebp - 0xd4], 0
call edi
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xd4]
push ecx
call edi
push eax
push str._d_:__s
lea edi, [ebp - 0x94]
call fcn.00403fa0
mov edx, dword [ebx + 0x18]
mov eax, dword [esi]
add esp, 0xc
push edx
push eax
push str._User____s__Pass____s
call fcn.00402cc0
mov ecx, dword [0x45f3ec]
add esp, 0xc
cmp dword [ecx - 0xc], 0
je 0x41742f
lea edx, [ebp - 0x128]
push edx
mov ecx, str.Failed_to_connect:
call fcn.004037a0
mov ecx, edi
push ecx
lea edx, [ebp - 0x120]
push edx
mov ebx, eax
mov byte [ebp - 4], 6
call fcn.0040bd10
push 0x382
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov edx, dword [0x45f3ec]
push str.CInstaller::RemoteInstall
push str.Installer.cpp
call fcn.00403d80
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417409
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41742f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0xa
push 0
lea eax, [ebp - 0xb4]
call fcn.004182f0
mov ebx, 1
add dword [ebp - 0xa8], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41747c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
jmp 0x418204
mov byte [ebp - 4], 8
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x89], 1
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0xc4], edi
mov byte [ebp - 4], 9
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x94], eax
push 0x451924
lea ecx, [ebp - 0x10c]
push ecx
mov byte [ebp - 4], 0xa
push esi
lea ebx, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0
call fcn.0041ce40
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea ebx, [edi - 0x10]
cmp eax, ebx
je 0x41754c
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x41753c
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x41753c
call fcn.00403230
mov dword [ebp - 0xbc], eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41752b
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [ebp - 0xbc]
add ecx, 0x10
mov dword [ebp - 0xc4], ecx
jmp 0x41754c
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [ebp - 0xc4]
push edx
call fcn.004036c0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x10c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417572
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x453390
lea ecx, [ebp - 0x118]
push ecx
push esi
lea ebx, [ebp - 0xa0]
call fcn.0041ce40
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
mov esi, dword [ebp - 0x94]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4175e7
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4175d7
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4175d7
call fcn.00403230
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4175cc
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [ebp - 0x94], edi
jmp 0x4175e7
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x94]
push ecx
call fcn.004036c0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41760d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x94]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4176f4
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x18]
lea edx, [ebp - 0x11c]
push edx
push 0
push 9
push eax
mov eax, dword [ebp - 0xc4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
jne 0x41768e
mov edx, dword [0x45f3ec]
cmp dword [edx - 0xc], eax
je 0x4176f4
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x397
push str.CInstaller::RemoteInstall
mov edx, str.Installer.cpp
mov ecx, esi
call fcn.00403b40
mov edx, dword [0x45f3ec]
add esp, 0xc
cmp dword [edx - 0xc], 0
je 0x4176f4
push 0x398
mov ecx, str.LogonUser_error_
jmp 0x4176e2
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x4176f4
mov edx, dword [0x45f3ec]
cmp dword [edx - 0xc], eax
je 0x4176f4
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x39e
push str.CInstaller::RemoteInstall
mov edx, str.Installer.cpp
mov ecx, esi
call fcn.00403b40
mov edx, dword [0x45f3ec]
add esp, 0xc
cmp dword [edx - 0xc], 0
je 0x4176f4
push 0x39f
mov ecx, str.ImpersonateLoggedOnUser_error_
push str.CInstaller::RemoteInstall
push str.Installer.cpp
call fcn.00403d80
add esp, 0xc
mov edx, dword [ebp - 0x98]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x90]
push 0
call fcn.0040e070
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, 0x45d48c
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0xc8], esi
mov byte [ebp - 4], 0xd
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x417751
mov ecx, edi
lea eax, [ebp - 0xc8]
call fcn.00403650
mov esi, dword [ebp - 0xc8]
cmp dword [esi - 8], edi
jge 0x417760
push 0x80070057
call fcn.004036a0
push edi
xor eax, eax
push esi
mov dword [esi - 0xc], edi
push eax
mov word [esi + 0x208], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417780
sub eax, edx
sar eax, 1
js 0x417756
cmp eax, dword [esi - 8]
jg 0x417756
mov edx, dword [ebp - 0xb0]
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
fild dword [edx]
mov eax, dword [ebp - 0xac]
fmul qword [0x454bc0]
fadd qword [0x454c18]
fidiv dword [eax]
call fcn.00445840
mov ecx, dword [0x45f350]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4177f0
push 0
push eax
push 0x800d
push ecx
call esi
mov eax, dword [0x45f350]
test eax, eax
je 0x4177f0
push 0
push 2
push 0x800e
push eax
call esi
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x114]
push edx
mov ebx, str._sca_install.exe
call fcn.00406e70
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 8
push 0
push eax
mov eax, dword [ebp - 0xc8]
push eax
call edi
test eax, eax
mov eax, dword [ebp - 0x114]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417846
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41787f
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, str.Failed_to_copy_installation_file_on_remote_computer
mov byte [ebp - 0x134], 0
call fcn.004037a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x456afc
lea edx, [ebp - 0x134]
push edx
mov dword [ebp - 0x130], eax
call fcn.00434818
cmp dword [0x45f370], 0
je 0x4178d3
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x124]
push ecx
mov ebx, str._sca_backup.sbf
call fcn.00406e70
mov eax, dword [eax]
mov edx, dword [0x46024c]
add esp, 8
push 0
push eax
push edx
call edi
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4178d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xb0]
fild dword [ecx]
mov edx, dword [ebp - 0xac]
fmul qword [0x454bc0]
fadd qword [0x454c10]
fidiv dword [edx]
call fcn.00445840
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x41791e
push 0
push eax
push 0x800d
push ecx
call esi
mov eax, dword [0x45f350]
test eax, eax
je 0x41791e
push 0
push 3
push 0x800e
push eax
call esi
mov ebx, dword [ebp - 0x98]
mov dword [ebp - 0xbc], 0
mov edi, edi
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x90]
push str._WINDIR__sca_install.exe__service
push eax
mov edx, ecx
call fcn.0040d930
add esp, 8
cmp eax, 0x430
jne 0x417c25
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0xa0], eax
mov edi, 0xcc
mov byte [ebp - 4], 0xe
call fcn.004032e0
test eax, eax
je 0x41798b
push eax
mov eax, edi
lea edi, [ebp - 0xa0]
call fcn.00403490
mov eax, dword [ebp - 0xa0]
push 0x34
push 0x450c30
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x417b18
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0xcc], esi
mov edi, 0xcb
mov byte [ebp - 4], 0xf
call fcn.004032e0
test eax, eax
je 0x4179e9
push eax
mov eax, edi
lea edi, [ebp - 0xcc]
call fcn.00403490
mov esi, dword [ebp - 0xcc]
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0xd8], eax
mov ecx, 0x4534cc
mov byte [ebp - 4], 0x10
test ecx, 0xffff0000
jne 0x417a31
mov edx, ecx
movzx edi, dx
call fcn.004032e0
test eax, eax
je 0x417a47
push eax
mov eax, edi
lea edi, [ebp - 0xd8]
call fcn.00403490
jmp 0x417a47
push 0x4534cc
lea eax, [ebp - 0xd8]
push eax
mov ebx, 2
call fcn.004036c0
mov byte [ebp - 4], 0x11
mov ebx, dword [ebp - 0xd8]
push ebx
call fcn.00430a34
mov edi, eax
add esp, 4
test edi, edi
js 0x417ad8
cmp dword [esi - 4], 1
jle 0x417a7c
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [ebp - 0xcc]
push edx
call fcn.00403590
mov esi, dword [ebp - 0xcc]
mov ebx, dword [ebp - 0x98]
mov eax, dword [ebx]
cmp dword [eax - 4], 1
jle 0x417a94
mov eax, dword [eax - 0xc]
push eax
push ebx
call fcn.00403590
mov eax, dword [ebx]
push 1
push 0
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
lea ecx, [ebp - 0x15c]
push ecx
mov ecx, str.Istaller_service_is_marked_for_deletion_on_remote_PC._Reboot_needed.
mov byte [ebp - 0x164], 0
call fcn.004037a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x456afc
lea edx, [ebp - 0x164]
push edx
mov dword [ebp - 0x160], eax
call fcn.00434818
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417af8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417b18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417b3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xb0]
fild dword [eax]
mov esi, dword [ebp - 0xac]
fmul qword [0x454bc0]
fadd qword [0x454c08]
fidiv dword [esi]
call fcn.00445840
mov ecx, dword [0x45f350]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x417b8f
push 0
push eax
push 0x800d
push ecx
call edi
mov eax, dword [0x45f350]
test eax, eax
je 0x417b8f
push 0
push 0
push 0x800e
push eax
call edi
mov edx, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x98]
mov ecx, dword [ebx]
xor eax, eax
push edx
mov dword [ebp - 0x28], 0x73002d
mov dword [ebp - 0x24], 0x720065
mov dword [ebp - 0x20], 0x690076
mov dword [ebp - 0x1c], 0x650063
mov word [ebp - 0x18], ax
call fcn.0040dde0
add esp, 4
test eax, eax
je 0x417cdf
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x90]
push 0
call fcn.0040e070
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebx]
add esp, 4
push eax
call fcn.0040dde0
add esp, 4
test eax, eax
je 0x417cdf
cmp dword [ebp - 0xbc], 0
jne 0x417c6d
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x90]
push eax
push ecx
call fcn.0040db00
add esp, 8
mov dword [ebp - 0xbc], 1
jmp 0x417930
test eax, eax
je 0x417b3e
cmp eax, 0x431
je 0x417b3e
lea ecx, [ebp - 0x150]
push ecx
mov ecx, str.Failed_to_install_service_on_remote_computer
mov byte [ebp - 0x158], 0
call fcn.004037a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x456afc
lea edx, [ebp - 0x158]
push edx
mov dword [ebp - 0x154], eax
call fcn.00434818
lea edx, [ebp - 0x100]
push edx
mov ecx, str.Failed_to_start_service_on_remote_computer:
call fcn.004037a0
mov edx, dword [ebp - 0x98]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [edx]
push ecx
push eax
push str.host____s__serviceName____s__cmdLine____s
lea edi, [ebp - 0x100]
call fcn.00402cc0
add esp, 0x10
lea ecx, [ebp - 0x144]
push ecx
mov ecx, dword [ebp - 0x100]
mov byte [ebp - 0x14c], 0
call fcn.004037a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x456afc
lea edx, [ebp - 0x14c]
push edx
mov dword [ebp - 0x148], eax
call fcn.00434818
mov eax, dword [ebp - 0xb0]
fild dword [eax]
fmul qword [0x454bc0]
fadd qword [0x454c00]
fidiv dword [esi]
call fcn.00445840
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x417d24
push 0
push eax
push 0x800d
push ecx
call edi
mov eax, dword [0x45f350]
test eax, eax
je 0x417d24
push 0
push 5
push 0x800e
push eax
call edi
cmp dword [0x45f370], 0
je 0x417d43
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebx]
push 0x83
push edx
call fcn.0040e450
add esp, 8
cmp dword [0x45f374], 0
je 0x417d62
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebx]
push 0x84
push eax
call fcn.0040e450
add esp, 8
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebx]
push 0x82
push edx
call fcn.0040e450
mov ebx, dword [ebp - 0xb8]
add esp, 8
mov edi, edi
push ebx
call fcn.0040e560
test al, al
je 0x417d94
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x417d80
mov eax, dword [ebp - 0xb0]
fild dword [eax]
fmul qword [0x454bc0]
fadd qword [0x454bf8]
fidiv dword [esi]
call fcn.00445840
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x417dd9
push 0
push eax
push 0x800d
push ecx
call edi
mov eax, dword [0x45f350]
test eax, eax
je 0x417dd9
push 0
push 8
push 0x800e
push eax
call edi
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x90]
push eax
push ecx
call fcn.0040db00
add esp, 8
test eax, eax
je 0x417e18
mov edx, dword [0x45f3ec]
cmp dword [edx - 0xc], 0
je 0x417e18
push 0x3ed
push str.CInstaller::RemoteInstall
push str.Installer.cpp
mov ecx, str.Failed_to_uninstall_service_on_remote_computer
call fcn.00403d80
add esp, 0xc
inc dword [ebp - 0xdc]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xc8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417e44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417e6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xc4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417e90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x89], 0
mov dword [ebp - 4], 4
je 0x418188
xor edi, edi
mov esi, vtable.ATL::CDacl.0
mov dword [ebp - 0xf8], edi
mov byte [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 2
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe0], edi
mov bl, 0x14
lea eax, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.00410020
lea edx, [ebp - 0xfc]
push edx
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.004102a0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.0040fe00
lea eax, [ebp - 0x88]
call fcn.0040ffc0
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.004102a0
lea ecx, [ebp - 0x88]
call fcn.0040fe00
mov dword [ebp - method.ATL::CSecurityDesc.virtual_0], vtable.ATL::CSecurityDesc.0
mov dword [ebp - 0x104], edi
lea ecx, [ebp - 0xfc]
lea ebx, [ebp - 0x108]
mov byte [ebp - 4], 0x17
call fcn.004108a0
mov edx, dword [ebp - 0x104]
push str.GlobalInstallerMapFile
push 0x618
push edi
push 4
lea eax, [ebp - 0x140]
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x140], 0xc
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x138], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0x618
push edi
push edi
mov ebx, eax
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0xb8]
mov edi, eax
mov eax, dword [ecx + 8]
push eax
push 0x104
push edi
call fcn.0042e7d4
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x10]
add esp, 0xc
push eax
lea eax, [edi + 0x208]
push 0x104
push eax
call fcn.0042e7d4
mov ecx, dword [0x460250]
add esp, 0xc
push ecx
push 0x104
lea edx, [edi + 0x410]
push edx
call fcn.0042e7d4
mov eax, dword [0x45f350]
mov ecx, dword [0x45f348]
add esp, 0xc
push 0
push eax
push 0x8010
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x108]
mov dword [ebp - method.ATL::CSecurityDesc.virtual_0], vtable.ATL::CSecurityDesc.0
call fcn.00410bc0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xfc], esi
test eax, eax
je 0x41810a
mov ecx, dword [ebp - 0xe8]
xor edi, edi
mov esi, ecx
mov ebx, eax
test ecx, ecx
je 0x418083
mov ecx, dword [ebx + edi*4]
test ecx, ecx
je 0x418071
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebx + edi*4], 0
inc edi
cmp edi, esi
jb 0x418062
mov eax, dword [ebp - 0xec]
push eax
call fcn.0042dede
add esp, 4
xor esi, esi
mov dword [ebp - 0xec], esi
jmp 0x41810c
xor esi, esi
mov ecx, dword [ebp - 0xf8]
push ecx
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xe4], esi
call fcn.0042dede
mov ebx, dword [ebp - 0xec]
add esp, 4
mov dword [ebp - 0xf8], esi
cmp ebx, esi
je 0x41816f
mov eax, dword [ebp - 0xe8]
xor edi, edi
mov esi, eax
test eax, eax
je 0x418166
mov ecx, dword [ebx + edi*4]
test ecx, ecx
je 0x418154
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebx + edi*4], 0
inc edi
cmp edi, esi
jb 0x418145
mov ebx, dword [ebp - 0xec]
push ebx
call fcn.0042dede
add esp, 4
mov ecx, dword [ebp - 0xf8]
push ecx
mov dword [ebp - 0xfc], vtable.ATL::CAcl.0
call fcn.0042dede
add esp, 4
mov edx, dword [ebp - 0xa4]
push 0
push 0
push edx
call dword [sym.imp.MPR.dll_WNetCancelConnection2W]
mov eax, dword [ebp - 0xb0]
fild dword [eax]
mov ecx, dword [ebp - 0xac]
fld qword [0x454bc0]
fmul st(1), st(0)
faddp st(1)
fidiv dword [ecx]
call fcn.00445840
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x4181f6
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x800d
push ecx
call esi
mov eax, dword [0x45f350]
test eax, eax
je 0x4181f6
xor edx, edx
cmp byte [ebp - 0x89], dl
push 0
setne dl
dec edx
and edx, 0xa
push edx
push 0x800e
push eax
call esi
mov eax, 1
add dword [ebp - 0xa8], eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0xa4]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418226
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x9c]
test eax, eax
jne 0x41823a
push 0x80004005
call fcn.004036a0
mov ecx, dword [eax]
mov edi, dword [ebp - 0xb8]
mov dword [ebp - 0x9c], ecx
mov esi, ecx
jmp 0x417061
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [0x45f350]
test eax, eax
je 0x41826e
push 0
push 0x64
push 0x800d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xdc]
xor edx, edx
cmp eax, dword [ebp - 0xc0]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x90]
sete dl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov esi, edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4182a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4182d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042decf
mov esp, ebp
pop ebp
ret