Function at 0x1004635c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x1005af74
call fcn.10052270
sub esp, 0xa70
push ebx
push esi
push edi
mov dword [ebp - 0x38], ecx
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x36f]
mov byte [ebp - 0x370], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x167]
mov byte [ebp - 0x168], bl
mov byte [ebp - 0xa7c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0xa7b]
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x26b]
mov byte [ebp - 0x26c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
mov esi, 0x103
jne 0x100468b7
lea eax, [ebp - 0x370]
push esi
push eax
mov dword [ebp - 0x28], ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x100468ae
lea eax, [ebp - 0x370]
lea ecx, [ebp - 0x3c]
push eax
call fcn.100034da
lea eax, [ebp - 0x370]
mov dword [ebp - 4], ebx
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains
push 0x10070058
lea eax, [ebp - 0x26c]
push esi
push eax
call fcn.10001f81
add esp, 0x14
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x100465b5
lea eax, [ebp - 0x18]
mov edi, dword [sym.imp.SHLWAPI.dll_SHEnumValueA]
push eax
lea eax, [ebp - 0xa7c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], 0x3ff
mov dword [ebp - 0x1c], esi
call edi
test eax, eax
jne 0x100465ac
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0x60]
push eax
call fcn.100034da
push 0x10077be8
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
push eax
call fcn.10018299
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100164a2
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.1000349d
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.1000349d
test byte [ebp - 0xa7c], 2
je 0x10046548
mov eax, dword [ebp - 0x34]
push ecx
mov dword [ebp - 0x40], esp
mov ecx, esp
cmp dword [eax - 0xc], ebx
jl 0x10046517
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x10046526
mov eax, dword [0x10070040]
mov dword [ecx], eax
push dword [ebp - 0x34]
call fcn.100036ad
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x38]
push 0x10077bdc
push eax
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 4
push eax
push dword [ebp + 8]
call fcn.100469ff
push 0x400
lea eax, [ebp - 0xa7c]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x104
lea eax, [ebp - 0x168]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
inc dword [ebp - 0x20]
mov dword [ebp - 0x18], 0x3ff
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.1000349d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xa7c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x10]
jmp 0x10046499
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x473]
mov byte [ebp - 0x474], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x577]
mov byte [ebp - 0x578], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
push eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x1004687a
lea eax, [ebp - 0x474]
push esi
push eax
mov dword [ebp - 0x2c], ebx
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x10046871
lea eax, [ebp - 0x474]
lea ecx, [ebp - 0x50]
push eax
call fcn.100034da
push 0x10077bd8
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
push eax
call fcn.10018299
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100164a2
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.1000349d
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.1000349d
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x26c]
push eax
push 0x10070058
lea eax, [ebp - 0x578]
push esi
push eax
call fcn.10001f81
add esp, 0x14
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x578]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x1004683e
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.SHLWAPI.dll_SHEnumValueA]
push eax
lea eax, [ebp - 0xa7c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x20], 0x3ff
mov dword [ebp - 0x1c], esi
call edi
test eax, eax
jne 0x10046835
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0x5c]
push eax
call fcn.100034da
push 0x10077be8
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xc
push eax
call fcn.10018299
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100164a2
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x10
call fcn.1000349d
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
call fcn.1000349d
test byte [ebp - 0xa7c], 2
je 0x10046777
mov eax, dword [ebp - 0x24]
push ecx
mov dword [ebp - 0x48], esp
mov ecx, esp
cmp dword [eax - 0xc], ebx
jl 0x1004675d
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x1004676c
mov eax, dword [0x10070040]
mov dword [ecx], eax
push dword [ebp - 0x24]
call fcn.100036ad
mov byte [ebp - 4], 0xf
push 0x10077bdc
jmp 0x100467b7
test byte [ebp - 0xa7c], 4
je 0x100467d0
mov eax, dword [ebp - 0x24]
push ecx
mov dword [ebp - 0x48], esp
mov ecx, esp
cmp dword [eax - 0xc], ebx
jl 0x1004679f
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x100467ae
mov eax, dword [0x10070040]
mov dword [ecx], eax
push dword [ebp - 0x24]
call fcn.100036ad
mov byte [ebp - 4], 0xf
push 0x10077bcc
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x578]
push eax
push dword [ebp + 8]
call fcn.100469ff
push 0x400
lea eax, [ebp - 0xa7c]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x104
lea eax, [ebp - 0x168]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
inc dword [ebp - 0x18]
mov dword [ebp - 0x20], 0x3ff
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.1000349d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xa7c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
jmp 0x100466df
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
lea eax, [ebp - 0x474]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
inc dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.1000349d
lea eax, [ebp - 0x474]
push esi
push eax
push dword [ebp - 0x2c]
jmp 0x1004660c
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
lea eax, [ebp - 0x370]
push ebx
push eax
call sub.MSVCRT.dll_memset
or dword [ebp - 4], 0xffffffff
add esp, 0xc
inc dword [ebp - 0x28]
lea ecx, [ebp - 0x3c]
call fcn.1000349d
lea eax, [ebp - 0x370]
push esi
push eax
push dword [ebp - 0x28]
jmp 0x10046402
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x67b]
mov byte [ebp - 0x67c], bl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x26c]
push ebx
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x14], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x100469ee
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea eax, [ebp - 0x370]
push esi
push eax
push ebx
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x100469e5
lea eax, [ebp - 0x370]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains
push 0x10070058
lea eax, [ebp - 0x26c]
push esi
push eax
call fcn.10001f81
lea eax, [ebp - 0x44]
push eax
push 4
lea eax, [ebp - 0x26c]
push 0x10076b80
push eax
push dword [ebp + 8]
call fcn.1002145e
add esp, 0x28
test eax, eax
je 0x100469ba
lea eax, [ebp - 0x67c]
push eax
push 1
lea eax, [ebp - 0x26c]
push str.:Range
push eax
push dword [ebp + 8]
call fcn.1002145e
add esp, 0x14
test eax, eax
je 0x100469ba
test byte [ebp - 0x44], 2
je 0x100469ba
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x10078b14
call fcn.100034da
mov ecx, dword [ebp - 0x38]
or dword [ebp - 4], 0xffffffff
push 0x10077bdc
lea eax, [ebp - 0x26c]
push 0x10078b14
push eax
push dword [ebp + 8]
call fcn.100469ff
push 0x104
lea eax, [ebp - 0x370]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
inc dword [ebp - 0x28]
lea eax, [ebp - 0x370]
push esi
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x14]
jmp 0x10046917
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4