Function at 0x41e9a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505067
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x55f43c]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], 0x200
mov byte [ebp - 0x224], 0
push 0x1ff
push 0
lea eax, [ebp - 0x223]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push str.SoftWareMMPTDebug_
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push ecx
push 0x2001f
push 0
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jne 0x41ea53
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp dword [ebp + 8], 0
je 0x41ebf4
mov dword [ebp - 0x1c], 0x200
push 0x200
push 0
lea eax, [ebp - 0x224]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0x5184ac
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc100.dll_Ordinal_314]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x23c]
push ecx
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov dword [ebp - 0x1c], 0x200
push 0x200
push 0
lea edx, [ebp - 0x224]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0x5184b8
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x22c]
call dword [sym.imp.mfc100.dll_Ordinal_314]
mov dword [ebp - 0x240], eax
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x244], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [ebp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov dword [ebp - 0x1c], 0x200
push 0x200
push 0
lea ecx, [ebp - 0x224]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x5184c4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x230]
call dword [sym.imp.mfc100.dll_Ordinal_314]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24c]
push edx
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x41ed1d
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_4498]
push eax
lea ecx, [ebp - 0x224]
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push 0x5183c7
mov edx, dword [ebp + 0xc]
push edx
call fcn.00420760
add esp, 8
movzx eax, al
test eax, eax
je 0x41ec57
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
push str.SendCat123
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_4498]
push eax
lea eax, [ebp - 0x224]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push 0x5183d1
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00420760
add esp, 8
movzx edx, al
test edx, edx
je 0x41ecba
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
push str.WaitCat123
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
mov ecx, dword [ebp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_4498]
push eax
lea edx, [ebp - 0x224]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push 0x5183d2
mov eax, dword [ebp + 0x10]
push eax
call fcn.00420760
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41ed1d
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push str.SendData
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00501b98
mov esp, ebp
pop ebp
ret 0x10