Function at 0x437f90
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0482
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x620024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x340], ecx
mov dword [ebp - 0x348], 0
call fcn.00449b3d
mov ecx, eax
test ecx, ecx
je 0x438725
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x344], eax
push str.EDEW
push str.SoftwareDataTek
lea eax, [ebp - 0x344]
mov dword [ebp - 4], 0
push 0x5f4448
push eax
call fcn.00402b00
push 0x110
lea eax, [ebp - 0x32c]
push 0
push eax
call fcn.00588550
add esp, 0x1c
mov dword [ebp - 0x330], 0x114
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, dword [ebp - 0x344]
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x338]
mov dword [ebp - 0x334], 0
push eax
push 0
push 0xf003f
push 0
push 0x5f3770
push 0
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, eax
push esi
call ebx
test esi, esi
jne 0x438500
mov esi, dword [ebp - 0x340]
add esi, 0xf0
mov ecx, esi
call fcn.004234a0
mov ecx, eax
call fcn.004233a0
mov edx, dword [esi]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x334], eax
test eax, eax
js 0x438739
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, dword [ebp - 0x334]
or eax, ecx
jge 0x4380d8
push dword [ebp - 0x334]
mov ecx, esi
call fcn.00403000
mov edx, dword [esi]
push edx
call fcn.0059093a
mov eax, dword [esi]
add esp, 4
mov ecx, dword [ebp - 0x334]
cmp ecx, dword [eax - 8]
jg 0x438739
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
push 4
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x340]
mov eax, dword [eax + 0xc0]
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x334]
push eax
push 4
push edx
push str.EdeReportError
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call ebx
mov eax, dword [ebp - 0x340]
xor ebx, ebx
push 4
test esi, esi
mov eax, dword [eax + 0xc4]
sete bl
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x334]
push eax
push 4
push 0
push str.EdeReportFile
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
push 4
cmove eax, ebx
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x340]
mov eax, dword [eax + 0xc8]
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x334]
push eax
push 4
push 0
push str.EdeReportCheck
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x340]
xor ebx, ebx
push 4
test esi, esi
mov eax, dword [eax + 0xcc]
cmove ebx, dword [ebp - 0x33c]
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x334]
push eax
push 4
push 0
push str.EdeSelectRun
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
push 4
cmove eax, ebx
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x340]
mov eax, dword [eax + 0xd0]
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x334]
push eax
push 4
push 0
push str.EdeReportUnused
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x340]
xor ebx, ebx
push 4
test esi, esi
mov eax, dword [eax + 0xd8]
cmove ebx, dword [ebp - 0x33c]
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x334]
push eax
push 4
push 0
push str.ScheduleOSrunCheck
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
push 4
cmove eax, ebx
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x340]
mov eax, dword [eax + 0xdc]
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x334]
push eax
push 4
push 0
push str.ScheduleReportCheck
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x340]
xor ebx, ebx
push 4
test esi, esi
mov eax, dword [eax + 0xe0]
cmove ebx, dword [ebp - 0x33c]
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x334]
push eax
push 4
push 0
push str.ScheduleReportError
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
push 4
cmove eax, ebx
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x340]
mov eax, dword [eax + 0xe4]
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x334]
push eax
push 4
push 0
push str.ScheduleRunCheck
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x340]
xor ebx, ebx
test esi, esi
cmove ebx, dword [ebp - 0x33c]
mov eax, dword [eax + 0xe8]
push 4
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x334]
push eax
push 4
push 0
push str.ScheduleQueueCheck
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
push 4
cmove eax, ebx
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x340]
mov eax, dword [eax + 0xd4]
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x334]
push eax
push 4
push 0
push str.PasswdCheck
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x340]
xor ebx, ebx
test esi, esi
cmove ebx, dword [ebp - 0x33c]
mov esi, dword [eax + 0xf0]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.Passwd
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x338]
xor ecx, ecx
test esi, esi
cmove ecx, ebx
mov dword [ebp - 0x33c], ecx
test eax, eax
je 0x43844c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x338], 0
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x340]
cmp dword [eax + 0xd8], 0
je 0x4385eb
lea eax, [ebp - 0x334]
mov dword [ebp - 0x334], 0
push eax
lea eax, [ebp - 0x338]
push eax
push 0
push 0xf003f
push 0
push 0x5f3770
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
push esi
call ebx
test esi, esi
jne 0x4385df
call fcn.0044bbac
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4385d3
mov byte [ebp - 4], 1
mov eax, dword [0x62b984]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x4384e8
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x43850f
call fcn.00449b3d
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x43872f
jmp 0x43850f
mov dword [ebp - 0x33c], 0
jmp 0x438452
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x348], 1
mov dword [ebp - 0x334], eax
mov eax, dword [0x62b984]
push 0x16
push str.EDEwScheduleReboot.exe
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x334]
push eax
call fcn.00416370
add esp, 0x14
lea ecx, [ebp - 0x334]
push 1
push 0x5f4368
call fcn.00405b30
push 7
push str._reboot
lea ecx, [ebp - 0x334]
call fcn.00405b30
mov esi, dword [ebp - 0x334]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.EdeW
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ecx, ecx
mov byte [ebp - 4], 0
test ebx, ebx
cmove ecx, dword [ebp - 0x33c]
add esi, 0xfffffff0
mov dword [ebp - 0x33c], ecx
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4385cb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x438626
mov dword [ebp - 0x33c], 0
jmp 0x438626
mov dword [ebp - 0x33c], 0
jmp 0x438641
lea eax, [ebp - 0x338]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
push esi
call ebx
test esi, esi
jne 0x438641
push str.EdeW
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push eax
call ebx
mov eax, dword [ebp - 0x338]
test eax, eax
je 0x438641
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x338], 0
cmp dword [ebp - 0x320], 2
jne 0x4386e4
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x348], 0
mov eax, dword [eax + 0xec]
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x338]
push eax
push 0
push 0xf003f
push 0
push 0x5f3770
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
push esi
call ebx
test esi, esi
jne 0x4386e4
mov eax, dword [ebp - 0x344]
push 4
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x344]
push eax
push 4
push esi
push str.ClearPageFileAtShutdown
push dword [ebp - 0x338]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call ebx
mov eax, dword [ebp - 0x338]
test eax, eax
je 0x4386e4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x338], esi
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x438703
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x33c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00586281
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403300
push 0x80004005
call fcn.00403300
push 0x80070057
call fcn.00403300
int3