Function at 0x416260
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x523c86
mov eax, dword fs:[0]
push eax
sub esp, 0x5a8
mov eax, dword [0x581500]
xor eax, esp
mov dword [esp + 0x5a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x581500]
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.004ff6c0
add esp, 0xc
lea ebx, [esp + 0x58]
mov dword [esp + 0x18], 0
call fcn.0041b180
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x416507
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x3b6]
push ecx
mov word [esp + 0x3b8], ax
call fcn.004ff6c0
mov eax, dword [esp + 0x68]
add esp, 0xc
cmp dword [esp + 0x70], 8
mov dword [esp + 0x20], 0x104
jae 0x41630a
lea eax, [esp + 0x5c]
inc esi
push esi
push eax
lea edx, [esp + 0x3b4]
push 0x104
push edx
call fcn.004fb3f9
add esp, 0x10
xor edi, edi
cmp word [esp + 0x3ac], 0x22
jne 0x416334
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 0x416340
sub eax, edx
sar eax, 1
lea esi, [eax - 1]
cmp esi, edi
jle 0x416507
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.004fb3f9
lea eax, [esp + 0x1ac]
xor edx, edx
push 0x55e290
push eax
mov word [esp + 0x1ba], dx
call fcn.004fc550
add esp, 0x18
test eax, eax
je 0x4163bc
dec esi
sub ebx, 2
cmp esi, edi
jg 0x416361
jmp 0x416507
push 0x208
lea ecx, [esp + 0x1a8]
push 0
push ecx
call fcn.004ff6c0
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.004fb3f9
add esp, 0x10
lea ecx, [esp + 0x74]
call fcn.004114e0
lea eax, [esp + 0x1a4]
mov ecx, eax
mov dword [esp + 0x19c], eax
test ecx, ecx
jne 0x41641e
mov dword [esp + 0x19c], 0x55922c
mov eax, dword [esp + 0x19c]
lea edx, [eax + 2]
jmp 0x416430
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416430
sub eax, edx
sar eax, 1
lea ebx, [eax + 1]
mov ecx, ebx
lea esi, [esp + 0x7c]
mov dword [esp + 0x78], eax
call fcn.00412590
cmp byte [esp + 0x190], 0
lea eax, [esp + 0x80]
jne 0x416466
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.004ff740
add esp, 0xc
cmp byte [esp + 0x190], 0
lea eax, [esp + 0x80]
jne 0x416493
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0x24]
push edx
add eax, 4
push eax
call fcn.004fc6e4
add esp, 8
test eax, eax
jne 0x4164ce
test dword [esp + 0x2a], 0x4000
jne 0x4164ce
mov eax, dword [esp + 0x1c]
push ebp
push edi
push 0x104
push eax
call fcn.004fb3f9
add esp, 0x10
mov dword [esp + 0x18], 1
cmp byte [esp + 0x190], 0
mov dword [esp + 0x74], vtable.t_str.0
jne 0x4164f8
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x80]
cmp eax, ecx
je 0x4164f8
push eax
call fcn.004faac5
add esp, 4
cmp dword [esp + 0x18], 0
mov ebp, dword [esp + 0x1c]
jne 0x4165be
lea edx, [esp + 0x19c]
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
mov dword [esp + 0x1b0], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4165a1
push 0x206
push eax
lea ecx, [esp + 0x1ae]
push ecx
mov word [esp + 0x1b0], ax
call fcn.004ff6c0
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 0x4165a1
lea eax, [esp + 0x1a4]
push eax
push str._sInternet_ExplorerIEXPLORE.exe
push 0x104
push ebp
call fcn.004fe3b9
add esp, 0x10
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x19c]
test eax, eax
je 0x4165b3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], 0
je 0x416645
push 0x55c228
lea ecx, [esp + 0x78]
call fcn.00411610
push ebp
push 0x55d15c
lea edx, [esp + 0x7c]
call fcn.00411e80
push 0x55c228
push 0x55d15c
lea edx, [esp + 0x84]
call fcn.00411e80
add esp, 0x10
cmp byte [esp + 0x190], 0
lea eax, [esp + 0x80]
jne 0x416609
mov eax, dword [esp + 0x7c]
add eax, 4
push eax
push 0x104
push ebp
call fcn.004fa6de
add esp, 0xc
cmp byte [esp + 0x190], 0
mov dword [esp + 0x74], vtable.t_str.0
jne 0x416645
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x80]
cmp eax, ecx
je 0x416645
push eax
call fcn.004faac5
add esp, 4
cmp dword [esp + 0x70], 8
jb 0x416659
mov edx, dword [esp + 0x5c]
push edx
call fcn.004fa74d
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.004fa259
add esp, 0x5b4
ret