Function at 0x49b3a0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f178e
mov eax, dword fs:[0]
push eax
mov eax, 0x1644
call fcn.004e03c0
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x1640], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x1658]
mov dword fs:[0], eax
mov dword [esp + 0x1660], 3
xor ebx, ebx
push 0x1ff
lea eax, [esp + 0x59]
push ebx
push eax
mov byte [esp + 0x60], bl
call sub.MSVCR90.dll_memset
push 0x13ff
lea ecx, [esp + 0x265]
mov ebp, 0x200
push ebx
push ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x26c], bl
call sub.MSVCR90.dll_memset
add esp, 0x18
push str.SoftWareTrojanCut_
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1660], 4
lea edx, [esp + 0x1668]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004029d0
add esp, 0xc
mov byte [esp + 0x1660], 5
lea ecx, [esp + 0x2c]
call sub.mfc90.dll_Ordinal_580
mov byte [esp + 0x1660], 6
lea ecx, [esp + 0x40]
call sub.mfc90.dll_Ordinal_580
mov byte [esp + 0x1660], 7
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
cmp esi, ebx
je 0x49b562
mov ecx, dword [esp + 0x1668]
push str.tc_FileB
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x49b607
mov byte [esp + 0x1660], 6
lea ecx, [esp + 0x40]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x1660], 5
lea ecx, [esp + 0x2c]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x1660], 4
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1660], 3
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1660], 2
lea ecx, [esp + 0x1668]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1660], 1
lea ecx, [esp + 0x166c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1660], bl
lea ecx, [esp + 0x1670]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x1660], 0xffffffff
lea ecx, [esp + 0x1674]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
jmp 0x49b84b
xor edi, edi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x258]
push eax
mov eax, dword [esp + 0x20]
push ebx
push ebx
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x68]
push edx
push edi
push eax
mov byte [esp + 0x74], bl
mov byte [esp + 0x274], bl
mov dword [esp + 0x44], ebp
mov dword [esp + 0x34], 0x1400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, eax
cmp esi, ebx
jne 0x49b5f3
cmp dword [esp + 0x14], ebp
jae 0x49b5f3
mov ecx, dword [esp + 0x1670]
push ecx
lea edx, [esp + 0x258]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x49b5f3
mov eax, dword [esp + 0x1674]
push eax
lea ecx, [esp + 0x258]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x49b5f3
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0x34]
call sub.mfc90.dll_Ordinal_6154
inc edi
cmp esi, ebx
je 0x49b564
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x1668]
push str.tc_FileB
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x49b733
push str.SoftWareWow6432NodeTrojanCut_
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_820]
lea eax, [esp + 0x1668]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.004029d0
add esp, 0xc
mov byte [esp + 0x1660], 8
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x1660], 7
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x49b733
xor edi, edi
nop
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x258]
push eax
mov eax, dword [esp + 0x20]
push ebx
push ebx
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x68]
push edx
push edi
push eax
mov byte [esp + 0x74], bl
mov byte [esp + 0x274], bl
mov dword [esp + 0x44], ebp
mov dword [esp + 0x34], 0x1400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, eax
cmp esi, ebx
jne 0x49b71f
cmp dword [esp + 0x14], ebp
jae 0x49b71f
mov ecx, dword [esp + 0x1670]
push ecx
lea edx, [esp + 0x258]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x49b71f
mov eax, dword [esp + 0x1674]
push eax
lea ecx, [esp + 0x258]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x49b71f
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0x48]
call sub.mfc90.dll_Ordinal_6154
inc edi
cmp esi, ebx
je 0x49b690
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x34]
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
xor esi, esi
cmp eax, ebx
jle 0x49b770
cmp esi, ebx
jl 0x49b873
cmp esi, eax
jge 0x49b873
mov edx, dword [esp + 0x30]
mov eax, dword [edx + esi*4]
push eax
push str.SoftWareTrojanCut_tc_FileB
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
jl 0x49b743
mov eax, dword [esp + 0x48]
xor esi, esi
cmp eax, ebx
jle 0x49b7ad
lea ebx, [ebx]
cmp esi, ebx
jl 0x49b873
cmp esi, eax
jge 0x49b873
mov eax, dword [esp + 0x44]
mov eax, dword [eax + esi*4]
push eax
push str.SoftWareWow6432NodeTrojanCut_tc_FileB
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x49b780
mov byte [esp + 0x1660], 6
lea ecx, [esp + 0x40]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x1660], 5
lea ecx, [esp + 0x2c]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x1660], 4
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1660], 3
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1660], 2
lea ecx, [esp + 0x1668]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1660], 1
lea ecx, [esp + 0x166c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1660], bl
lea ecx, [esp + 0x1670]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x1660], 0xffffffff
lea ecx, [esp + 0x1674]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
mov ecx, dword [esp + 0x1658]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1640]
xor ecx, esp
call fcn.004e0148
add esp, 0x1650
ret
call sub.mfc90.dll_Ordinal_1252
int3