Function at 0x421740
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x50e276
mov eax, dword fs:[0]
push eax
sub esp, 0x5a8
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x5a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x5bc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5cc]
push 0x208
push 0
push ebp
mov dword [esp + 0x28], ebp
call fcn.004f2770
add esp, 0xc
lea ebx, [esp + 0x58]
mov dword [esp + 0x18], 0
call fcn.00425a40
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x4219e7
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x3b6]
push ecx
mov word [esp + 0x3b8], ax
call fcn.004f2770
mov eax, dword [esp + 0x68]
add esp, 0xc
cmp dword [esp + 0x70], 8
mov dword [esp + 0x20], 0x104
jae 0x4217ea
lea eax, [esp + 0x5c]
inc esi
push esi
push eax
lea edx, [esp + 0x3b4]
push 0x104
push edx
call fcn.004f0240
add esp, 0x10
xor edi, edi
cmp word [esp + 0x3ac], 0x22
jne 0x421814
mov edi, 1
lea eax, [esp + 0x3ac]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421820
sub eax, edx
sar eax, 1
lea esi, [eax - 1]
cmp esi, edi
jle 0x4219e7
lea ebx, [esp + esi*2 + 0x3a8]
push 3
push ebx
xor eax, eax
lea ecx, [esp + 0x1a4]
push 4
push ecx
mov word [esp + 0x1ac], ax
mov dword [esp + 0x1ae], eax
mov word [esp + 0x1b2], ax
call fcn.004f0240
lea eax, [esp + 0x1ac]
xor edx, edx
push 0x54b44c
push eax
mov word [esp + 0x1ba], dx
call fcn.004ecf82
add esp, 0x18
test eax, eax
je 0x42189c
dec esi
sub ebx, 2
cmp esi, edi
jg 0x421841
jmp 0x4219e7
push 0x208
lea ecx, [esp + 0x1a8]
push 0
push ecx
call fcn.004f2770
add esp, 0xc
sub esi, edi
lea ebp, [esi + 1]
push ebp
lea edi, [esp + edi*2 + 0x3b0]
push edi
lea edx, [esp + 0x1ac]
push 0x104
push edx
call fcn.004f0240
add esp, 0x10
lea ecx, [esp + 0x74]
call fcn.004174b0
lea eax, [esp + 0x1a4]
mov ecx, eax
mov dword [esp + 0x19c], eax
test ecx, ecx
jne 0x4218fe
mov dword [esp + 0x19c], 0x544b54
mov eax, dword [esp + 0x19c]
lea edx, [eax + 2]
jmp 0x421910
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421910
sub eax, edx
sar eax, 1
lea ebx, [eax + 1]
mov ecx, ebx
lea esi, [esp + 0x7c]
mov dword [esp + 0x78], eax
call fcn.00418590
cmp byte [esp + 0x190], 0
lea eax, [esp + 0x80]
jne 0x421946
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x19c]
lea edx, [ebx + ebx]
push edx
push ecx
add eax, 4
push eax
call fcn.004f27f0
add esp, 0xc
cmp byte [esp + 0x190], 0
lea eax, [esp + 0x80]
jne 0x421973
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0x24]
push edx
add eax, 4
push eax
call fcn.004eea16
add esp, 8
test eax, eax
jne 0x4219ae
test dword [esp + 0x2a], 0x4000
jne 0x4219ae
mov eax, dword [esp + 0x1c]
push ebp
push edi
push 0x104
push eax
call fcn.004f0240
add esp, 0x10
mov dword [esp + 0x18], 1
cmp byte [esp + 0x190], 0
mov dword [esp + 0x74], vtable.t_str.0
jne 0x4219d8
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x80]
cmp eax, ecx
je 0x4219d8
push eax
call fcn.004ed7b6
add esp, 4
cmp dword [esp + 0x18], 0
mov ebp, dword [esp + 0x1c]
jne 0x421a9e
lea edx, [esp + 0x19c]
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1b0], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421a81
push 0x206
push eax
lea ecx, [esp + 0x1ae]
push ecx
mov word [esp + 0x1b0], ax
call fcn.004f2770
add esp, 0xc
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1a0]
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.ProgramFilesDir
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421a81
lea eax, [esp + 0x1a4]
push eax
push str._sInternet_ExplorerIEXPLORE.exe
push 0x104
push ebp
call fcn.004ed1b6
add esp, 0x10
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x19c]
test eax, eax
je 0x421a93
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], 0
je 0x421b25
push 0x54644c
lea ecx, [esp + 0x78]
call fcn.004175e0
push ebp
push 0x549858
lea edx, [esp + 0x7c]
call fcn.00417ed0
push 0x54644c
push 0x549858
lea edx, [esp + 0x84]
call fcn.00417ed0
add esp, 0x10
cmp byte [esp + 0x190], 0
lea eax, [esp + 0x80]
jne 0x421ae9
mov eax, dword [esp + 0x7c]
add eax, 4
push eax
push 0x104
push ebp
call fcn.004ee6af
add esp, 0xc
cmp byte [esp + 0x190], 0
mov dword [esp + 0x74], vtable.t_str.0
jne 0x421b25
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x80]
cmp eax, ecx
je 0x421b25
push eax
call fcn.004ed7b6
add esp, 4
cmp dword [esp + 0x70], 8
jb 0x421b39
mov edx, dword [esp + 0x5c]
push edx
call fcn.004ed1ab
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5a0]
xor ecx, esp
call fcn.004ecddb
add esp, 0x5b4
ret