Function at 0x4081d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48adc0
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x4c6018]
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 - 4], 0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x408211
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [ebp - 0x138]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push 0
mov bl, 5
push 0x3a
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_4143]
push 0
push 0x2e
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x114], eax
call dword [sym.imp.mfc100.dll_Ordinal_4143]
push 0
push 0x2f
lea ecx, [ebp - 0x118]
mov edi, eax
call dword [sym.imp.mfc100.dll_Ordinal_4143]
mov esi, eax
lea eax, [edi + 1]
push eax
push 0x2e
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc100.dll_Ordinal_4143]
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x128], eax
call dword [sym.imp.mfc100.dll_Ordinal_7487]
push eax
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp esi, 0xffffffff
jne 0x408300
push edi
push 0
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc100.dll_Ordinal_7876]
mov byte [ebp - 4], 7
jmp 0x408323
mov ecx, edi
sub ecx, esi
sub ecx, 2
push ecx
add esi, 2
push esi
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc100.dll_Ordinal_7876]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x118]
mov eax, dword [eax - 0xc]
sub eax, edi
dec eax
push eax
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc100.dll_Ordinal_11781]
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov edx, dword [ebp - 0x118]
mov eax, dword [edx - 0xc]
sub eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x118]
dec eax
push eax
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_11781]
push eax
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x128]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor esi, esi
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x12c], esi
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [ebp - 0x144]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0xd
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains_
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x134], pe_nt_image_headers32
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov edx, dword [ebp - 0x120]
lea ecx, [ebp - 0x12c]
push ecx
push 0x20019
push esi
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4086b9
mov edx, dword [ebp - 0x12c]
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x110]
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x4084ea
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x40865a
push 0x4ba518
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
push ecx
mov ecx, esp
test eax, eax
jne 0x408575
lea edx, [ebp - 0x124]
mov dword [ebp - 0x140], esp
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
push ecx
mov byte [ebp - 4], 0xe
mov eax, esp
mov dword [ebp - 0x148], esp
push eax
lea edi, [ebp - 0x110]
lea ebx, [ebp - 0x120]
call fcn.0040a2f0
add esp, 4
mov byte [ebp - 4], 0xd
call fcn.004088c0
test eax, eax
je 0x408664
mov dword [ebp - 0x114], 1
mov eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x144]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x138]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp + 0x1c], 0x10
jb 0x40856a
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x114]
jmp 0x40872e
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x148], esp
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
push ecx
mov byte [ebp - 4], 0xf
mov eax, esp
mov dword [ebp - 0x140], esp
push eax
lea edi, [ebp - 0x110]
lea ebx, [ebp - 0x120]
call fcn.0040a2f0
add esp, 4
mov byte [ebp - 4], 0xd
call fcn.00408750
test eax, eax
je 0x40865a
mov ecx, dword [ebp - 0x124]
cmp dword [ecx - 0xc], 0
je 0x4084e0
push ecx
lea edx, [ebp - 0x124]
mov ecx, esp
mov dword [ebp - 0x148], esp
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
lea eax, [ebp - 0x14c]
push eax
mov byte [ebp - 4], 0x10
call fcn.0040a2f0
lea ecx, [ebp - 0x128]
push ecx
mov edi, 0x4a3178
mov ebx, eax
mov byte [ebp - 4], 0x11
call fcn.0040a2f0
add esp, 4
mov byte [ebp - 4], 0x12
mov edx, esp
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x140], esp
push ecx
push edx
mov ecx, eax
call fcn.00409100
add esp, 8
mov byte [ebp - 4], 0x14
call fcn.004088c0
lea ecx, [ebp - 0x128]
mov edi, eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0xd
call dword [sym.imp.mfc100.dll_Ordinal_901]
test edi, edi
jne 0x4084e0
jmp 0x408664
mov dword [ebp - 0x114], 0
push pe_nt_image_headers32
lea edx, [ebp - 0x110]
push 0
push edx
call sub.MSVCR100.dll_memset
mov edx, dword [ebp - 0x12c]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x110]
push ecx
inc esi
push esi
push edx
mov dword [ebp - 0x134], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x408463
jmp 0x4084ea
lea ecx, [ebp - 0x144]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x138]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp + 0x1c], 0x10
jb 0x40872c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
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.00449013
mov esp, ebp
pop ebp
ret 0x1c