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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44815a
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
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 [ebp + 8]
mov edx, dword [0x45d48c]
mov dword [ebp - 0xd4], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0xd0], eax
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0x1c4], esi
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x1b0], esi
mov dword [ebp - 0x1ac], esi
mov dword [ebp - method.COptionsDlg.virtual_0], vtable.COptionsDlg.0
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x1a0], esi
mov dword [ebp - 0x19c], esi
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x194], esi
mov dword [ebp - 0x190], esi
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x180], esi
cmp byte [ebp + 0xc], 0
mov ebx, 3
mov byte [ebp - 4], bl
jne 0x417feb
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0xe0], eax
mov edi, 0xc6
mov byte [ebp - 4], 4
call fcn.004032e0
cmp eax, esi
je 0x417f49
push eax
mov eax, edi
lea edi, [ebp - 0xe0]
call fcn.00403490
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0xe0]
add esi, 0xfffffff0
mov eax, esi
call fcn.00403230
lea edi, [eax + 0x10]
mov dword [ebp - 0xe0], edi
mov byte [ebp - 4], 7
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417f83
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
cmp dword [0x45f350], 0
je 0x417fbd
cmp dword [edi - 4], 1
jle 0x417fa8
mov eax, dword [edi - 0xc]
push eax
lea ecx, [ebp - 0xe0]
push ecx
call fcn.00403590
mov edi, dword [ebp - 0xe0]
mov edx, dword [0x45f350]
push 0
push edi
push 0x800f
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xd4]
push ebx
push eax
xor ecx, ecx
call fcn.00413710
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417feb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0xe8], esi
mov byte [ebp - 4], 8
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x418031
mov ecx, edi
lea eax, [ebp - 0xe8]
call fcn.00403660
mov esi, dword [ebp - 0xe8]
cmp dword [esi - 8], edi
jge 0x418040
push 0x80070057
call fcn.004036b0
push edi
xor ecx, ecx
mov dword [esi - 0xc], edi
push esi
mov word [esi + 0x208], cx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418060
sub eax, edx
sar eax, 1
js 0x418036
cmp eax, dword [esi - 8]
jg 0x418036
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
cmp dword [0x45f3e8], edx
mov edx, 0x453510
jne 0x418091
mov edx, 0x453524
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418096
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.00403a80
cmp byte [ebp + 0xc], 0
jne 0x4180cc
mov ecx, dword [ebp - 0xd4]
push 4
push ecx
mov ecx, 2
call fcn.00413710
push 0
xor edx, edx
mov ecx, str.Time_Control_Service
call fcn.0040dff0
add esp, 4
test eax, eax
je 0x418111
mov esi, dword [0x45f3ec]
cmp dword [esi - 0xc], 0
je 0x418111
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push eax
push 0x40b
push str.CInstaller::UninstallAgent
mov edx, str.Installer.cpp
mov ecx, esi
call fcn.00403b50
add esp, 0xc
jmp 0x418117
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0xc], 0
jne 0x418130
mov edx, dword [ebp - 0xd4]
push 6
push edx
mov ecx, 0x14
call fcn.00413710
push 0
push str.Time_Control_Service
call fcn.0040da80
add esp, 8
test eax, eax
je 0x41816b
mov esi, dword [0x45f3ec]
cmp dword [esi - 0xc], 0
je 0x41816b
call ebx
push eax
push 0x40d
push str.CInstaller::UninstallAgent
mov edx, str.Installer.cpp
mov ecx, esi
call fcn.00403b50
add esp, 0xc
cmp byte [ebp + 0xc], 0
jne 0x418184
mov eax, dword [ebp - 0xd4]
push 4
push eax
mov ecx, 0x15
call fcn.00413710
lea ecx, [ebp - 0xc8]
push ecx
mov eax, 0xfffe
mov dword [ebp - 0xc8], 0
call fcn.00420350
mov byte [ebp - 4], 9
mov eax, dword [0x460238]
add eax, 0xfffffff0
call fcn.00403230
lea esi, [eax + 0x10]
mov dword [ebp - 0xec], esi
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xc8]
push 0x7fff
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x418205
sub esp, 0x84
mov edi, esp
mov ecx, 0x21
lea esi, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
push 0x453554
lea edi, [ebp - 0xec]
call fcn.00403fb0
mov esi, dword [ebp - 0xec]
add esp, 0x88
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0x10c], eax
push esi
push str.__U__sFileDrvFileMonitorInstallation.inf___SW
lea edi, [ebp - 0x10c]
mov byte [ebp - 4], 0xb
call fcn.00403fb0
add esp, 8
lea eax, [esi - 0x10]
call fcn.00403230
add eax, 0x10
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 0xc
cmp dword [0x45f3e8], 0
je 0x41827a
push 0x13
push str.x64_Signed_Drivers_
lea eax, [ebp - 0xe0]
push eax
call fcn.00403a80
mov ecx, dword [ebp - 0xe0]
push ecx
push str.__U__sFileDrvFileMonitorInstallation64.inf___SW
call fcn.00403fb0
add esp, 8
push 2
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_ImpersonateSelf]
test eax, eax
je 0x418478
lea edx, [ebp - 0xe4]
push edx
push edi
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x41846a
mov ecx, dword [ebp - 0xe4]
lea eax, [ebp - 0xd8]
push eax
push 1
push 2
push edi
push 0x2000000
push ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x418547
push 0x44
lea edx, [ebp - 0x218]
push edi
push edx
call fcn.004308f0
xor eax, eax
add esp, 0xc
push eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xcc]
push ecx
mov dword [ebp - 0x218], 0x44
mov dword [ebp - 0x210], 0x452d68
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x418381
mov edx, dword [ebp - 0xd8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0xe4]
push eax
call esi
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov edx, dword [0x45f3ec]
cmp dword [edx - 0xc], edi
je 0x418478
push 0x434
push str.CInstaller::UninstallAgent
push str.Installer.cpp
mov ecx, str.Failed_to_CreateEnvironmentBlock
call fcn.00403d90
add esp, 0xc
jmp 0x418478
mov edx, str.dpinst_64.exe_
cmp dword [0x45f3e8], edi
jne 0x418393
mov edx, str.dpinst_32.exe_
lea edi, [ebp - 0xec]
call fcn.004038c0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
push ecx
call fcn.00403a80
mov edx, dword [ebp - 0xec]
mov eax, dword [edx - 0xc]
lea esi, [eax + eax*2]
call fcn.00405450
lea ecx, [ebp - 0x108]
push ecx
mov ecx, dword [ebp - 0xcc]
lea edx, [ebp - 0x218]
push edx
mov edx, dword [ebp - 0xd8]
push 0
push ecx
push 0x428
push 0
push 0
push 0
push eax
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x418516
mov eax, dword [ebp - 0x104]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41840f
push eax
call esi
mov eax, dword [ebp - 0xd8]
push eax
call esi
mov ecx, dword [ebp - 0xe4]
push ecx
call esi
mov edx, dword [0x45f3ec]
cmp dword [edx - 0xc], 0
je 0x418449
push 0x441
push str.CInstaller::UninstallAgent
push str.Installer.cpp
mov ecx, str.File_driver_removed_successfully
call fcn.00403d90
add esp, 0xc
mov edx, dword [ebp - 0x108]
push 0xffffffffffffffff
push edx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0xcc]
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test edi, edi
jne 0x41858a
push 0
xor edx, edx
mov ecx, str.CaptureFileMonitor
call fcn.0040dff0
add esp, 4
test eax, eax
je 0x4184b5
mov edi, dword [0x45f3ec]
cmp dword [edi - 0xc], 0
je 0x4184b5
call ebx
push eax
push 0x45c
push str.CInstaller::UninstallAgent
mov edx, str.Installer.cpp
mov ecx, edi
call fcn.00403b50
add esp, 0xc
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp - 0xd4]
jne 0x4184ce
push 6
push esi
mov ecx, 0x16
call fcn.00413710
push 0
push str.CaptureFileMonitor
call fcn.0040da80
mov edi, eax
add esp, 8
test edi, edi
je 0x418590
lea edx, [ebp - 0x14c]
push edx
mov ecx, str.Failed_to_uninstall_file_driver_service
mov byte [ebp - 0x154], 0
call fcn.004037b0
push 0x45684c
lea eax, [ebp - 0x154]
push eax
mov dword [ebp - 0x150], edi
call fcn.00433e48
mov edx, dword [0x45f3ec]
cmp dword [edx - 0xc], 0
je 0x418478
push 0x446
push str.CInstaller::UninstallAgent
push str.Installer.cpp
mov ecx, str.Failed_to_CreateEnvironmentBlock
call fcn.00403d90
add esp, 0xc
jmp 0x418478
mov ecx, dword [ebp - 0xd8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov edx, dword [0x45f3ec]
cmp dword [edx - 0xc], edi
je 0x418478
push 0x452
push str.CInstaller::UninstallAgent
push str.Installer.cpp
mov ecx, str.Failed_to_CreateEnvironmentBlock
call fcn.00403d90
add esp, 0xc
jmp 0x418478
mov esi, dword [ebp - 0xd4]
cmp byte [ebp + 0xc], 0
jne 0x4185a3
push 0
push esi
mov ecx, 0x17
call fcn.00413710
call fcn.0041a570
test eax, eax
je 0x4185d4
mov edi, dword [0x45f3ec]
cmp dword [edi - 0xc], 0
je 0x4185d4
call ebx
push eax
push 0x464
push str.CInstaller::UninstallAgent
mov edx, str.Installer.cpp
mov ecx, edi
call fcn.00403b50
add esp, 0xc
mov bl, byte [ebp + 0xc]
test bl, bl
jne 0x4185e8
push 9
push esi
mov ecx, 0x55
call fcn.00413710
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
test bl, bl
jne 0x418604
push 7
push esi
mov ecx, 0x56
call fcn.00413710
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x453728
call fcn.004037b0
mov byte [ebp - 4], 0xd
cmp dword [0x45f3e8], 0
mov ecx, 0x453748
jne 0x418629
mov ecx, 0x453780
lea edx, [ebp - 0x38]
push edx
call fcn.004037b0
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4537b4
mov byte [ebp - 4], 0xe
call fcn.004037b0
mov byte [ebp - 4], 0xf
cmp dword [0x45f3e8], 0
mov ecx, str.ProcObsrv64.sys
jne 0x41865b
mov ecx, 0x4537f8
lea edx, [ebp - 0x30]
push edx
call fcn.004037b0
mov byte [ebp - 4], 0x10
cmp dword [0x45f3e8], 0
mov ecx, str._sstray64.exe
jne 0x41867b
mov ecx, str._sstray.exe
lea eax, [ebp - 0x2c]
push eax
call fcn.004037b0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, str.ltvlib.dll
mov byte [ebp - 4], 0x11
call fcn.004037b0
lea edx, [ebp - 0x24]
push edx
mov ecx, str.DriversCapturefilemonitor.sys
mov byte [ebp - 4], 0x12
call fcn.004037b0
lea eax, [ebp - 0x20]
push eax
mov ecx, str.LTVSrv.ini
mov byte [ebp - 4], 0x13
call fcn.004037b0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, str.LTVSrvOff.ini
mov byte [ebp - 4], 0x14
call fcn.004037b0
lea edx, [ebp - 0x18]
push edx
mov ecx, str._sstray.ini
mov byte [ebp - 4], 0x15
call fcn.004037b0
mov byte [ebp - 4], 0x16
mov dword [ebp - 0xdc], 0xa
xor esi, esi
mov edi, edi
cmp esi, dword [ebp - 0xdc]
jae 0x4188e5
lea eax, [ebp + esi*4 - 0x3c]
push eax
lea eax, [ebp - 0xe4]
push eax
lea ebx, [ebp - 0xe8]
call fcn.0040bd10
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov eax, dword [ebp - 0xe4]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4187ed
mov eax, dword [0x45f3ec]
cmp dword [eax - 0xc], 0
je 0x4187ed
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x47a
push str.CInstaller::UninstallAgent
mov edx, str.Installer.cpp
mov ecx, edi
call fcn.00403b50
mov eax, dword [0x45f3ec]
add esp, 0xc
cmp dword [eax - 0xc], 0
je 0x4187ed
lea eax, [ebp + esi*4 - 0x3c]
push eax
lea ecx, [ebp - 0xcc]
push ecx
lea ebx, [ebp - 0xe8]
call fcn.0040bd10
add esp, 8
push 0x47b
mov byte [ebp - 4], 0x17
mov ecx, dword [eax]
mov edx, dword [0x45f3ec]
push str.CInstaller::UninstallAgent
push str.Installer.cpp
call fcn.00403d90
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0xcc]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4187ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp + 0xc], 0
jne 0x4188df
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x418894
mov edx, esi
mov dword [ebp - 0xfc], edx
fild dword [ebp - 0xfc]
push 0
test edx, edx
jns 0x41881f
fadd qword [0x454928]
mov eax, dword [ebp - 0xdc]
fmul qword [0x454920]
fild dword [ebp - 0xdc]
test eax, eax
jns 0x41883b
fadd qword [0x454928]
fdivp st(1)
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
fnstcw word [ebp - 0xd6]
movzx eax, word [ebp - 0xd6]
or eax, 0xc00
mov dword [ebp - 0xfc], eax
fldcw word [ebp - 0xfc]
fistp qword [ebp - 0x100]
mov edx, dword [ebp - 0x100]
add edx, 0x56
push edx
push 0x800d
fldcw word [ebp - 0xd6]
push ecx
call edi
mov eax, dword [0x45f350]
test eax, eax
je 0x418894
push 0
push 0
push 0x800e
push eax
call edi
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 0x78]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4188df
lea ecx, [ebp - 0x140]
push ecx
mov ecx, str.Agent_install_terminated
mov byte [ebp - 0x148], 1
call fcn.004037b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea edx, [ebp - 0x148]
push edx
mov dword [ebp - 0x144], eax
call fcn.00433e48
inc esi
jmp 0x4186f0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xfc]
push ecx
mov ebx, str.Ltprx
call fcn.00406e80
add esp, 8
push eax
mov byte [ebp - 4], 0x18
call fcn.00410c60
add esp, 4
test eax, eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0xfc]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418938
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x418964
mov edx, dword [0x45f3ec]
cmp dword [edx - 0xc], 0
je 0x418964
push 0x481
push str.CInstaller::UninstallAgent
push str.Installer.cpp
mov ecx, str.Proxy_directory_not_deleted
call fcn.00403d90
add esp, 0xc
mov bl, byte [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test bl, bl
jne 0x4189e6
mov eax, dword [0x45f350]
test eax, eax
je 0x41899b
push 0
push 0x5a
push 0x800d
push eax
call esi
mov eax, dword [0x45f350]
test eax, eax
je 0x41899b
push 0
push 9
push 0x800e
push eax
call esi
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ecx + 0x78]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4189e6
lea edx, [ebp - 0x158]
push edx
mov ecx, str.Agent_install_terminated
mov byte [ebp - 0x160], 1
call fcn.004037b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x15c], eax
push 0x45684c
lea eax, [ebp - 0x160]
push eax
call fcn.00433e48
cmp dword [0x45f370], 0
je 0x4189f9
call fcn.00405650
call fcn.004064b0
test bl, bl
jne 0x418a72
mov eax, dword [0x45f350]
test eax, eax
je 0x418a27
push 0
push 0x5b
push 0x800d
push eax
call esi
mov eax, dword [0x45f350]
test eax, eax
je 0x418a27
push 0
push 7
push 0x800e
push eax
call esi
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ecx + 0x78]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x418a72
lea edx, [ebp - 0x164]
push edx
mov ecx, str.Agent_install_terminated
mov byte [ebp - 0x16c], 1
call fcn.004037b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x168], eax
push 0x45684c
lea eax, [ebp - 0x16c]
push eax
call fcn.00433e48
cmp dword [0x45f374], 0
je 0x418b35
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0xdc]
push edx
mov ebx, str.TimeCtrlLibs
call fcn.00406e80
add esp, 8
mov byte [ebp - 4], 0x19
mov ecx, dword [eax]
mov edi, dword [ebp - 0xd0]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x418afd
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x418aed
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x418aed
call fcn.00403230
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x418adc
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0xd0], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x418afd
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0xd0]
push ecx
call fcn.004036d0
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0xdc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418b23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00410c60
mov bl, byte [ebp + 0xc]
add esp, 4
test bl, bl
jne 0x418bae
mov eax, dword [0x45f350]
test eax, eax
je 0x418b63
push 0
push 0x5c
push 0x800d
push eax
call esi
mov eax, dword [0x45f350]
test eax, eax
je 0x418b63
push 0
push 9
push 0x800e
push eax
call esi
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x78]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x418bae
lea eax, [ebp - 0x170]
push eax
mov ecx, str.Agent_install_terminated
mov byte [ebp - 0x178], 1
call fcn.004037b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea ecx, [ebp - 0x178]
push ecx
mov dword [ebp - 0x174], eax
call fcn.00433e48
cmp dword [0x45d528], 0
je 0x418c72
cmp dword [0x45f3e8], 0
mov edx, str.SOFTWAREWow6432Node
jne 0x418bce
mov edx, str.SOFTWARE
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418bd3
sub eax, edi
push edx
sar eax, 1
lea edx, [ebp - 0xd0]
push edx
mov ebx, eax
call fcn.004036d0
mov ecx, dword [0x45d530]
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 0xdc]
push eax
push ecx
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xdc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418c72
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
je 0x418c32
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xf8], ecx
test eax, eax
jne 0x418c72
push str.TCtrl
lea ecx, [ebp - 0xf8]
call fcn.00420870
cmp dword [ebp - 0xf8], 0
je 0x418c72
mov edx, dword [ebp - 0xf8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xf8], 0
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0xdc], eax
mov edi, 0x68
mov byte [ebp - 4], 0x1a
call fcn.004032e0
test eax, eax
je 0x418caa
push eax
mov eax, edi
lea edi, [ebp - 0xdc]
call fcn.00403490
mov byte [ebp - 4], 0x1b
mov edi, dword [ebp - 0xdc]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add edi, 0xfffffff0
call edx
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x418cdb
cmp eax, dword [edi]
jne 0x418cdb
mov ebx, edi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x418d17
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x418cf4
call fcn.00403620
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [edi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0042d7c7
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 4], 0x1d
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x418d3d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
xor eax, eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xdc], eax
jmp 0x418d50
cmp eax, 2
jge 0x419412
test eax, eax
je 0x418d7d
push str.StaffCop
lea ecx, [ebp - 0xd8]
push ecx
mov ebx, 0xe
call fcn.004036d0
mov dword [ebp - 0xe4], 3
cmp dword [0x45f3e8], 0
mov eax, str.Wow6432Node_
jne 0x418d90
mov eax, 0x451820
push eax
push str.SOFTWARE_sMicrosoftWindowsCurrentVersionUninstall
lea edi, [ebp - 0xd0]
call fcn.00403fb0
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0xcc], eax
mov eax, str.DisplayName
shr eax, 0x10
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0xfc], eax
test eax, eax
jne 0x418df4
mov ecx, str.DisplayName
movzx edi, cx
call fcn.004032e0
test eax, eax
je 0x418e0a
push eax
mov eax, edi
lea edi, [ebp - 0xcc]
call fcn.00403490
jmp 0x418e0a
push str.DisplayName
lea edx, [ebp - 0xcc]
push edx
mov ebx, 0xb
call fcn.004036d0
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0xd0]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041ddf0
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0xcc]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp + 0xc], 0
jne 0x418f45
mov eax, dword [0x45f350]
test eax, eax
je 0x418e99
mov ecx, dword [ebp - 0xe4]
push 0
add ecx, 0x5d
push ecx
push 0x800d
push eax
call esi
mov eax, dword [0x45f350]
test eax, eax
je 0x418e99
push 0
push 0
push 0x800e
push eax
call esi
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x78]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x418f45
mov edx, dword [0x45d48c]
lea eax, [ebp - 0x134]
mov dword [ebp - 0xfc], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x13c], 1
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
mov ecx, str.Agent_install_terminated
mov byte [ebp - 4], 0x20
test ecx, 0xffff0000
jne 0x418f0e
mov edx, ecx
movzx edi, dx
call fcn.004032e0
test eax, eax
je 0x418f24
push eax
mov eax, edi
lea edi, [ebp - 0x134]
call fcn.00403490
jmp 0x418f24
push str.Agent_install_terminated
lea eax, [ebp - 0x134]
push eax
mov ebx, 0x18
call fcn.004036d0
mov byte [ebp - 4], 0x1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea ecx, [ebp - 0x13c]
push ecx
mov dword [ebp - 0x138], eax
call fcn.00433e48
push str.InstallerProducts
lea edx, [ebp - 0xd0]
push edx
mov ebx, 0x12
call fcn.004036d0
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0xcc], eax
mov esi, str.ProductName
shr esi, 0x10
mov byte [ebp - 4], 0x21
test esi, esi
jne 0x418fa4
mov eax, str.ProductName
movzx edi, ax
call fcn.004032e0
test eax, eax
je 0x418fba
push eax
mov eax, edi
lea edi, [ebp - 0xcc]
call fcn.00403490
jmp 0x418fba
push str.ProductName
lea ecx, [ebp - 0xcc]
push ecx
mov ebx, 0xb
call fcn.004036d0
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0xe0]
push edx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0xd0]
push edx
push connect
call fcn.0041ddf0
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0xcc]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41900d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp + 0xc], 0
jne 0x4190fb
mov eax, dword [0x45f350]
test eax, eax
je 0x41904f
mov ecx, dword [ebp - 0xe4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
add ecx, 0x5e
push ecx
push 0x800d
push eax
call edi
mov eax, dword [0x45f350]
test eax, eax
je 0x41904f
push 0
push 0
push 0x800e
push eax
call edi
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x78]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4190fb
mov edx, dword [0x45d48c]
lea eax, [ebp - 0x110]
mov dword [ebp - 0xfc], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x118], 1
call eax
add eax, 0x10
mov dword [ebp - 0x110], eax
mov ecx, str.Agent_install_terminated
mov byte [ebp - 4], 0x23
test ecx, 0xffff0000
jne 0x4190c4
mov edx, ecx
movzx edi, dx
call fcn.004032e0
test eax, eax
je 0x4190da
push eax
mov eax, edi
lea edi, [ebp - 0x110]
call fcn.00403490
jmp 0x4190da
push str.Agent_install_terminated
lea eax, [ebp - 0x110]
push eax
mov ebx, 0x18
call fcn.004036d0
mov byte [ebp - 4], 0x1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x114], eax
call fcn.00433e48
push str.SoftwareClassesInstallerProducts
lea edx, [ebp - 0xd0]
push edx
mov ebx, 0x23
call fcn.004036d0
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0x24
test esi, esi
jne 0x419152
mov eax, str.ProductName
movzx edi, ax
call fcn.004032e0
test eax, eax
je 0x419168
push eax
mov eax, edi
lea edi, [ebp - 0xcc]
call fcn.00403490
jmp 0x419168
push str.ProductName
lea ecx, [ebp - 0xcc]
push ecx
mov ebx, 0xb
call fcn.004036d0
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0xe0]
push edx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0xd0]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041ddf0
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0xcc]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4191bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp + 0xc], 0
jne 0x4192a9
mov eax, dword [0x45f350]
test eax, eax
je 0x4191fd
mov ecx, dword [ebp - 0xe4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
add ecx, 0x5f
push ecx
push 0x800d
push eax
call esi
mov eax, dword [0x45f350]
test eax, eax
je 0x4191fd
push 0
push 0
push 0x800e
push eax
call esi
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x78]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4192a9
mov edx, dword [0x45d48c]
lea eax, [ebp - 0x128]
mov dword [ebp - 0xfc], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x130], 1
call eax
add eax, 0x10
mov dword [ebp - 0x128], eax
mov ecx, str.Agent_install_terminated
mov byte [ebp - 4], 0x26
test ecx, 0xffff0000
jne 0x419272
mov edx, ecx
movzx edi, dx
call fcn.004032e0
test eax, eax
je 0x419288
push eax
mov eax, edi
lea edi, [ebp - 0x128]
call fcn.00403490
jmp 0x419288
push str.Agent_install_terminated
lea eax, [ebp - 0x128]
push eax
mov ebx, 0x18
call fcn.004036d0
mov byte [ebp - 4], 0x1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea ecx, [ebp - 0x130]
push ecx
mov dword [ebp - 0x12c], eax
call fcn.00433e48
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserData
lea edx, [ebp - 0xd0]
push edx
mov ebx, 0x3c
call fcn.004036d0
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0x27
cmp dword [ebp - 0xfc], 0
jne 0x419305
mov eax, str.DisplayName
movzx edi, ax
call fcn.004032e0
test eax, eax
je 0x41931b
push eax
mov eax, edi
lea edi, [ebp - 0xcc]
call fcn.00403490
jmp 0x41931b
push str.DisplayName
lea ecx, [ebp - 0xcc]
push ecx
mov ebx, 0xb
call fcn.004036d0
mov byte [ebp - 4], 0x28
mov edx, dword [ebp - 0xfc]
push edx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.0041e160
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0xcc]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419369
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.SYSTEMCurrentControlSetServices
lea ecx, [ebp - 0xd0]
push ecx
mov ebx, 0x21
call fcn.004036d0
mov eax, dword [0x45d530]
lea edx, [ebp - 0xcc]
push edx
push eax
push 0
push str.SYSTEMCurrentControlSetServices
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xcc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4193fb
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
je 0x4193bd
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xf8], ecx
test eax, eax
jne 0x4193fb
cmp dword [0x45f3e8], eax
mov eax, str.sstray64.exe
jne 0x4193df
mov eax, 0x452a38
push eax
lea ecx, [ebp - 0xf8]
call fcn.00420870
push str.csrss_tc.exe
lea ecx, [ebp - 0xf8]
call fcn.00420870
inc dword [ebp - 0xdc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xdc]
jmp 0x418d50
cmp byte [ebp + 0xc], 0
jne 0x4194f2
mov eax, dword [0x45f350]
test eax, eax
je 0x419446
push 0
push 0x64
push 0x800d
push eax
call esi
mov eax, dword [0x45f350]
test eax, eax
je 0x419446
push 0
push 8
push 0x800e
push eax
call esi
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x78]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4194f2
mov edx, dword [0x45d48c]
lea eax, [ebp - 0x11c]
mov dword [ebp - 0xfc], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x124], 1
call eax
add eax, 0x10
mov dword [ebp - 0x11c], eax
mov ecx, str.Agent_install_terminated
mov byte [ebp - 4], 0x29
test ecx, 0xffff0000
jne 0x4194bb
mov edx, ecx
movzx edi, dx
call fcn.004032e0
test eax, eax
je 0x4194d1
push eax
mov eax, edi
lea edi, [ebp - 0x11c]
call fcn.00403490
jmp 0x4194d1
push str.Agent_install_terminated
lea eax, [ebp - 0x11c]
push eax
mov ebx, 0x18
call fcn.004036d0
mov byte [ebp - 4], 0x1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea ecx, [ebp - 0x124]
push ecx
mov dword [ebp - 0x120], eax
call fcn.00433e48
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0xd8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419518
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.004032c0
push 0xa
push 4
lea ecx, [ebp - 0x3c]
push ecx
mov byte [ebp - 4], 0xc
call fcn.004300dd
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xe0]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419554
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x41957a
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 - 0xec]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4195a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xc4]
cmp dword [ebp - 0xc8], ecx
je 0x4195b9
lea eax, [ebp - 0xc8]
call fcn.004202e0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xe8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4195df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x1b4]
test eax, eax
je 0x4195f6
push eax
call fcn.0044468c
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x419607
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x419630
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41972d
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.0042d4af
mov esp, ebp
pop ebp
ret 8