Function at 0x406925
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13b0
call fcn.00416190
push ebx
push esi
push edi
call fcn.004083eb
mov ecx, 0x421958
call fcn.00407454
lea ecx, [ebp - 0xe8]
mov byte [ebp - 5], al
call fcn.004074ff
push dword [ebp + 8]
lea ecx, [ebp - 0xa8]
call fcn.00407169
lea eax, [ebp + 8]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406994
lea ecx, [ebp - 4]
call fcn.0040743d
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x64
lea ecx, [ebp - 0x1c]
pop eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x80], eax
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x50], ebx
push eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x54], 0x41b3cc
call fcn.0040984a
lea ecx, [ebp - 0x1c]
call fcn.004066a9
lea ecx, [ebp - 0x80]
mov dword [ebp + 8], ebx
push ecx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push str.ISUSPM_Startup
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x1c]
call fcn.00406682
cmp dword [ebp - 0x48], ebx
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, str.bootstrap
je 0x406a10
push dword [ebp - 0x48]
call edi
test eax, eax
je 0x406a10
push 1
push 1
push ebx
push esi
lea ecx, [ebp - 0xa8]
call fcn.004071bc
test al, al
je 0x406a33
call fcn.00408535
call fcn.004086a4
push 1
push 1
push ebx
push esi
lea ecx, [ebp - 0xa8]
call fcn.004071bc
test al, al
jne 0x406ba7
push 1
push 1
push ebx
push str.startup
lea ecx, [ebp - 0xa8]
call fcn.004071bc
test al, al
je 0x406a56
call fcn.004086a4
jmp 0x406ba7
call fcn.00407838
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x406bd4
mov eax, dword [0x421a14]
cmp eax, ebx
je 0x406b91
push eax
call edi
test eax, eax
je 0x406b91
lea ecx, [ebp - 0x30]
call fcn.004016ab
mov esi, 0x41b3d0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x30], esi
call fcn.004016ab
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x68], esi
call fcn.004016ab
push dword [0x421950]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x44], esi
push 0x62
call fcn.00401b77
push dword [0x421950]
lea ecx, [ebp - 0x44]
push 0x49
call fcn.00401b77
push dword [0x421950]
lea ecx, [ebp - 0x30]
push 0x4b
call fcn.00401b77
push 0x26
lea eax, [ebp + 0xc]
pop esi
lea ecx, [ebp - 0x30]
push 1
push ebx
push 1
push eax
mov dword [ebp + 0xc], esi
call fcn.004097e0
push eax
lea ecx, [ebp - 0x30]
call fcn.00401c70
push 1
push ebx
lea eax, [ebp + 0xc]
push 1
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp + 0xc], esi
call fcn.004097e0
push eax
lea ecx, [ebp - 0x30]
call fcn.00401c70
push 0x41e534
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call fcn.00405407
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0x41b3cc
push esi
call edi
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.004015d2
lea ecx, [ebp - 0x1c]
call fcn.004016bf
mov esi, dword [ebp - 0x24]
push esi
call edi
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.004015d2
lea ecx, [ebp - 0x68]
call fcn.0040181c
mov esi, dword [ebp - 0x64]
lea ecx, [ebp - 0x44]
call fcn.0040181c
push 0x30
push esi
push dword [ebp - 0x40]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x44]
call fcn.004016bf
lea ecx, [ebp - 0x68]
call fcn.004016bf
lea ecx, [ebp - 0x30]
call fcn.004016bf
jmp 0x406ba4
push 0x30
push 0x41e514
push str.Agent_not_found
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
or ebx, 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004016bf
lea ecx, [ebp - 4]
call fcn.0040743d
lea ecx, [ebp - 0xa8]
call fcn.00407193
lea ecx, [ebp - 0xe8]
call fcn.004077d8
mov eax, ebx
jmp 0x407164
call fcn.004078fb
cmp eax, 5
jge 0x406d25
lea ecx, [ebp - 0x44]
call fcn.004016ab
mov esi, 0x41b3d0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x44], esi
call fcn.004016ab
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x7c], esi
call fcn.004016ab
push dword [0x421950]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x30], esi
push 0x62
call fcn.00401b77
push str.You_must_have_Internet_Explorer_5.0_or_higher.
lea ecx, [ebp - 0x68]
call fcn.004090a9
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x30]
push eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x58], 0x409
call fcn.00401f7c
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x20], eax
call fcn.004016bf
push dword [0x421950]
lea ecx, [ebp - 0x44]
push 0x4b
call fcn.00401b77
push 0x26
lea eax, [ebp + 0xc]
pop esi
lea ecx, [ebp - 0x44]
push 1
push ebx
push 1
push eax
mov dword [ebp + 0xc], esi
call fcn.004097e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401c70
push 1
push ebx
lea eax, [ebp + 0xc]
push 1
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp + 0xc], esi
call fcn.004097e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401c70
push 0x41e534
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 0x41b3cc
mov esi, eax
call edi
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.004015d2
lea ecx, [ebp - 0x1c]
call fcn.004016bf
mov esi, dword [ebp - 0x38]
push esi
call edi
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.004015d2
lea ecx, [ebp - 0x7c]
call fcn.0040181c
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x30]
call fcn.0040181c
push 0x30
push esi
push dword [ebp - 0x2c]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x30]
call fcn.004016bf
lea ecx, [ebp - 0x7c]
call fcn.004016bf
lea ecx, [ebp - 0x44]
call fcn.004016bf
lea ecx, [ebp - 0x54]
call fcn.004016bf
lea ecx, [ebp - 4]
call fcn.0040743d
jmp 0x40714b
lea ecx, [ebp - 0x120]
call fcn.004077f4
lea eax, [ebp - 0x120]
mov ecx, 0x421968
push eax
call fcn.00408ce5
push 0x4020
call fcn.004161bf
cmp eax, ebx
pop ecx
je 0x406d5c
mov ecx, eax
call fcn.00403c8a
mov dword [ebp - 0xc], eax
jmp 0x406d5f
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 0xb8]
push 5
push eax
call fcn.0040d1e8
pop ecx
pop ecx
lea ecx, [ebp - 0x94]
call fcn.004016ab
push dword [0x421950]
mov esi, 0x41b3d0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], esi
push 0x60
call fcn.00401b77
cmp dword [ebp - 0x88], ebx
je 0x406dac
push dword [ebp - 0x88]
call edi
test eax, eax
jne 0x406de3
push str.Downloaded_Program_Updates
lea ecx, [ebp - 0x7c]
call fcn.004090a9
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x94]
push eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x6c], 0x409
call fcn.00401f7c
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x84], eax
call fcn.004016bf
push dword [ebp - 0x88]
lea ecx, [ebp - 0xb8]
call fcn.0040267c
push 0x421944
lea ecx, [ebp - 0xb8]
call fcn.0040267c
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 0xb8]
push eax
lea ecx, [esi + 8]
call fcn.00401f7c
push 1
lea ecx, [ebp - 0xa8]
pop edi
push edi
push edi
push ebx
push str.scheduler
call fcn.004071bc
test al, al
je 0x4070e7
cmp byte [ebp - 5], bl
jne 0x40708c
push 0x1000
lea eax, [ebp - 0x13b0]
push ebx
push eax
mov dword [ebp - 0x3b0], ebx
call fcn.00416130
add esp, 0xc
lea eax, [ebp - 0x13b0]
mov ecx, esi
push eax
call fcn.00404159
cmp eax, 0xfffffffe
jne 0x406ea8
push 0x41e450
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push 0xa
push eax
lea eax, [ebp - 0xc8]
lea ecx, [ebp - 0xe8]
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 0x41b3cc
call fcn.0040760e
lea ecx, [ebp - 0x1c]
call fcn.004016bf
jmp 0x406eba
lea eax, [ebp - 0xc8]
lea ecx, [ebp - 0xe8]
push eax
call fcn.0040773f
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x2c]
mov ecx, 0x421958
push eax
call fcn.004074a3
cmp dword [ebp - 0x3b0], ebx
jle 0x407024
push ebx
lea ecx, [ebp - 0x1d8]
call fcn.00412258
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1d8]
call fcn.004090f4
test eax, eax
je 0x407019
push 0x80000
lea ecx, [ebp - 0x1d8]
push dword [ebp + 0xc]
call fcn.00412a49
lea ecx, [ebp - 0x120]
call fcn.00408a0c
cmp eax, edi
mov dword [ebp + 8], eax
mov byte [ebp + 0xc], bl
je 0x406f2c
push 2
pop edi
xor esi, esi
cmp edi, ebx
je 0x407019
jle 0x407011
cmp edi, 2
jle 0x406f81
cmp edi, 3
je 0x406f61
cmp edi, 4
jne 0x407011
push dword [ebp - 0xc]
push ebx
call fcn.00407afa
pop ecx
xor edi, edi
pop ecx
jmp 0x407011
cmp esi, ebx
jne 0x406f6d
push 1
pop edi
jmp 0x407011
push ebx
push esi
push dword [ebp + 0xc]
call fcn.00407f3b
add esp, 0xc
mov edi, eax
jmp 0x407011
lea eax, [ebp - 0x13b0]
lea ecx, [ebp - 0x3ac]
push eax
call fcn.00412acf
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x3ac]
call fcn.0040921d
cmp edi, 1
jne 0x406fb7
push 5
push dword [ebp - 0x3a8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x406fc2
lea ecx, [ebp - 0x3ac]
call fcn.00414d43
lea ecx, [ebp - 0x120]
call fcn.00408a0c
cmp eax, 1
jne 0x406fd6
xor edi, edi
jmp 0x407006
cmp eax, 2
jne 0x406ff2
push 3
mov byte [ebp + 0xc], bl
pop edi
mov esi, dword [ebp - 0x28c]
lea eax, [esi - 0x2c]
neg esi
sbb esi, esi
and esi, eax
jmp 0x407006
cmp eax, 3
jne 0x406fff
push eax
mov byte [ebp + 0xc], 1
pop edi
jmp 0x406fe1
cmp eax, 4
jne 0x407006
push eax
pop edi
lea ecx, [ebp - 0x3ac]
call fcn.00412e6b
mov dword [ebp + 8], ebx
jmp 0x406f2e
lea ecx, [ebp - 0x1d8]
call fcn.00412465
cmp dword [ebp - 0x3b0], ebx
mov dword [ebp + 0xc], ebx
jle 0x40705a
lea edi, [ebp - 0x13b0]
mov esi, dword [edi]
cmp esi, ebx
je 0x407049
mov ecx, esi
call fcn.00403688
push esi
call fcn.00416125
pop ecx
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add edi, 4
cmp eax, dword [ebp - 0x3b0]
jl 0x407035
mov esi, 0x1000
lea eax, [ebp - 0x13b0]
push esi
push ebx
push eax
call fcn.00416130
push esi
lea eax, [ebp - 0x13b0]
push ebx
push eax
mov dword [ebp - 0x3b0], ebx
call fcn.00416130
mov esi, dword [ebp - 0xc]
add esp, 0x18
push 1
pop edi
jmp 0x4070f0
push edi
lea ecx, [ebp - 0x1d8]
call fcn.00412258
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1d8]
call fcn.004090f4
test eax, eax
je 0x4070da
push 0x80000
lea ecx, [ebp - 0x1d8]
push dword [ebp + 0xc]
call fcn.00412a49
lea ecx, [ebp - 0x120]
call fcn.00408a0c
cmp eax, edi
mov dword [ebp + 8], eax
setne al
push esi
push eax
call fcn.00407afa
pop ecx
pop ecx
lea ecx, [ebp - 0x1d8]
call fcn.00412465
jmp 0x4070f0
push esi
push ebx
call fcn.00407afa
pop ecx
pop ecx
mov ecx, 0x421968
call fcn.00408d8c
cmp esi, ebx
je 0x407106
push edi
mov ecx, esi
call fcn.00407811
lea ecx, [ebp - 0x94]
call fcn.004016bf
lea ecx, [ebp - 0xb8]
call fcn.00401646
lea ecx, [ebp - 0x110]
call fcn.004096fa
lea ecx, [ebp - 0x11c]
call fcn.004096fa
lea ecx, [ebp - 0x54]
call fcn.004016bf
cmp dword [ebp - 4], ebx
je 0x40714b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xa8]
call fcn.00407193
lea ecx, [ebp - 0xe8]
call fcn.004077d8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret