Function at 0x10046ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004ff21
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x10067068]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov edx, dword [section..data]
mov dword [ebp - 0xb0], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x54], ecx
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0x80]
push ecx
push 0x20019
push esi
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 1
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10046bf0
mov ecx, dword [ebp - 0x80]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x84]
push edx
push esi
lea eax, [ebp - 0x9c]
push eax
push esi
push str.Version
push ecx
mov dword [ebp - 0x84], esi
call edi
test eax, eax
jne 0x10046be2
cmp dword [ebp - 0x9c], 1
jne 0x10046be2
mov edx, dword [ebp - 0x84]
push edx
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_]
mov edx, dword [ebp - 0x80]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x84]
push eax
push esi
lea ecx, [ebp - 0x9c]
push ecx
push 0
push str.Version
push edx
call edi
test eax, eax
jne 0x10046bd8
mov edx, esi
lea edi, [ebp - 0x98]
call fcn.10001c40
mov bl, 1
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x10046c02
push 0x1005f2fc
lea ecx, [ebp - 0x56]
push ecx
mov byte [ebp - 0x56], 0
call sub.MSVCR100.dll__CxxThrowException
xor ebx, ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov byte [ebp - 4], 4
xor edx, edx
mov edi, 7
push 1
mov eax, 0x1005a3a0
lea esi, [ebp - 0x50]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], dx
call fcn.1000cf60
mov eax, dword [ebp - 0xb0]
mov byte [ebp - 4], 5
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x34], cx
mov ecx, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10046c72
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x34]
call fcn.1000cf60
lea edx, [ebp - 0x7c]
push edx
lea edx, [ebp - 0x50]
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.10047400
add esp, 4
lea ecx, [ebp - 0x94]
cmp ecx, eax
je 0x10046ccb
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x94], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], edx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x10046cf0
mov edi, dword [ebp - 0x78]
call fcn.10012640
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 7
mov esi, 8
mov byte [ebp - 4], 5
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
cmp dword [ebp - 0x20], esi
jb 0x10046d14
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], dx
cmp dword [ebp - 0x3c], esi
jb 0x10046d36
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
push 1
mov eax, 0x1005a3a0
lea esi, [ebp - 0x50]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], cx
call fcn.1000cf60
mov edx, dword [ebp - 0x54]
mov byte [ebp - 4], 8
mov eax, dword [edx]
xor ecx, ecx
mov word [ebp - 0x34], cx
mov ecx, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
lea esi, [ecx + 2]
jmp 0x10046d70
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10046d70
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x34]
call fcn.1000cf60
lea edx, [ebp - 0x7c]
push edx
lea edx, [ebp - 0x50]
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.10047400
add esp, 4
lea ecx, [ebp - 0xac]
cmp ecx, eax
je 0x10046dc9
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xac], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], edx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x10046dee
mov edi, dword [ebp - 0x78]
call fcn.10012640
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 7
mov esi, 8
mov byte [ebp - 4], 8
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
cmp dword [ebp - 0x20], esi
jb 0x10046e12
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], dx
cmp dword [ebp - 0x3c], esi
jb 0x10046e34
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
push 1
mov eax, 0x1005a3a0
lea esi, [ebp - 0x50]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], cx
call fcn.1000cf60
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x98]
xor edx, edx
mov eax, esi
mov word [ebp - 0x34], dx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10046e70
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp - 0x34]
call fcn.1000cf60
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x50]
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.10047400
add esp, 4
lea ecx, [ebp - 0x6c]
cmp ecx, eax
je 0x10046ebf
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x6c], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x10046ee4
mov edi, dword [ebp - 0x78]
call fcn.10012640
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 7
mov esi, dword [ebp - 0x90]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x20], 8
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
jb 0x10046f0a
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x3c], 8
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], dx
jb 0x10046f2d
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, dword [ebp - 0x94]
sub esi, edi
mov ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 4
jne 0x10047388
mov ecx, dword [ebp - 0xa8]
sub ecx, dword [ebp - 0xac]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
jne 0x10047388
mov ecx, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x6c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 4
jne 0x10047388
cmp dword [edi + 0x14], 8
jb 0x10046fa7
mov esi, dword [edi]
jmp 0x10046fad
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], 8
jb 0x10046fb8
mov eax, dword [eax]
mov ebx, dword [sym.imp.MSVCR100.dll__wtoi]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jg 0x10047376
mov esi, dword [ebp - 0xac]
mov ecx, 8
cmp dword [esi + 0x14], ecx
jb 0x10046fe5
mov esi, dword [esi]
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], ecx
jb 0x10046fef
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jl 0x10047376
mov ecx, 8
cmp dword [edi + 0x14], ecx
jb 0x10047012
mov esi, dword [edi]
jmp 0x10047014
mov esi, edi
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], ecx
jb 0x1004701e
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jne 0x10047063
mov ecx, 8
cmp dword [edi + 0x30], ecx
jb 0x1004703e
mov esi, dword [edi + 0x1c]
jmp 0x10047041
lea esi, [edi + 0x1c]
mov eax, dword [ebp - 0x6c]
add eax, 0x1c
cmp dword [eax + 0x14], ecx
jb 0x1004704e
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jg 0x10047376
mov ecx, 8
cmp dword [edi + 0x14], ecx
jb 0x10047071
mov esi, dword [edi]
jmp 0x10047073
mov esi, edi
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], ecx
jb 0x1004707d
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jne 0x100470f2
mov ecx, 8
cmp dword [edi + 0x30], ecx
jb 0x1004709d
mov esi, dword [edi + 0x1c]
jmp 0x100470a0
lea esi, [edi + 0x1c]
mov eax, dword [ebp - 0x6c]
add eax, 0x1c
cmp dword [eax + 0x14], ecx
jb 0x100470ad
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jne 0x100470f2
mov ecx, 8
cmp dword [edi + 0x4c], ecx
jb 0x100470cd
mov esi, dword [edi + 0x38]
jmp 0x100470d0
lea esi, [edi + 0x38]
mov eax, dword [ebp - 0x6c]
add eax, 0x38
cmp dword [eax + 0x14], ecx
jb 0x100470dd
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jg 0x10047376
mov ecx, 8
cmp dword [edi + 0x14], ecx
jb 0x10047100
mov esi, dword [edi]
jmp 0x10047102
mov esi, edi
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], ecx
jb 0x1004710c
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jne 0x100471b3
mov ecx, 8
cmp dword [edi + 0x30], ecx
jb 0x10047130
mov esi, dword [edi + 0x1c]
jmp 0x10047133
lea esi, [edi + 0x1c]
mov eax, dword [ebp - 0x6c]
add eax, 0x1c
cmp dword [eax + 0x14], ecx
jb 0x10047140
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jne 0x100471b3
mov ecx, 8
cmp dword [edi + 0x4c], ecx
jb 0x10047160
mov esi, dword [edi + 0x38]
jmp 0x10047163
lea esi, [edi + 0x38]
mov eax, dword [ebp - 0x6c]
add eax, 0x38
cmp dword [eax + 0x14], ecx
jb 0x10047170
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jne 0x100471b3
mov ecx, 8
cmp dword [edi + 0x68], ecx
jb 0x10047190
mov esi, dword [edi + 0x54]
jmp 0x10047193
lea esi, [edi + 0x54]
mov eax, dword [ebp - 0x6c]
add eax, 0x54
cmp dword [eax + 0x14], ecx
jb 0x100471a0
mov eax, dword [eax]
push eax
call ebx
push esi
mov edi, eax
call ebx
add esp, 8
cmp eax, edi
jg 0x10047376
mov edi, dword [ebp - 0xac]
mov ecx, 8
cmp dword [edi + 0x14], ecx
jb 0x100471c7
mov esi, dword [edi]
jmp 0x100471c9
mov esi, edi
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], ecx
jb 0x100471d3
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jne 0x10047218
mov ecx, 8
cmp dword [edi + 0x30], ecx
jb 0x100471f3
mov esi, dword [edi + 0x1c]
jmp 0x100471f6
lea esi, [edi + 0x1c]
mov eax, dword [ebp - 0x6c]
add eax, 0x1c
cmp dword [eax + 0x14], ecx
jb 0x10047203
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jl 0x10047376
mov ecx, 8
cmp dword [edi + 0x14], ecx
jb 0x10047226
mov esi, dword [edi]
jmp 0x10047228
mov esi, edi
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], ecx
jb 0x10047232
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jne 0x100472a7
mov ecx, 8
cmp dword [edi + 0x30], ecx
jb 0x10047252
mov esi, dword [edi + 0x1c]
jmp 0x10047255
lea esi, [edi + 0x1c]
mov eax, dword [ebp - 0x6c]
add eax, 0x1c
cmp dword [eax + 0x14], ecx
jb 0x10047262
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jne 0x100472a7
mov ecx, 8
cmp dword [edi + 0x4c], ecx
jb 0x10047282
mov esi, dword [edi + 0x38]
jmp 0x10047285
lea esi, [edi + 0x38]
mov eax, dword [ebp - 0x6c]
add eax, 0x38
cmp dword [eax + 0x14], ecx
jb 0x10047292
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jl 0x10047376
mov ecx, 8
cmp dword [edi + 0x14], ecx
jb 0x100472b5
mov esi, dword [edi]
jmp 0x100472b7
mov esi, edi
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], ecx
jb 0x100472c1
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jne 0x10047364
mov ecx, 8
cmp dword [edi + 0x30], ecx
jb 0x100472e5
mov esi, dword [edi + 0x1c]
jmp 0x100472e8
lea esi, [edi + 0x1c]
mov eax, dword [ebp - 0x6c]
add eax, 0x1c
cmp dword [eax + 0x14], ecx
jb 0x100472f5
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jne 0x10047364
mov ecx, 8
cmp dword [edi + 0x4c], ecx
jb 0x10047315
mov esi, dword [edi + 0x38]
jmp 0x10047318
lea esi, [edi + 0x38]
mov eax, dword [ebp - 0x6c]
add eax, 0x38
cmp dword [eax + 0x14], ecx
jb 0x10047325
mov eax, dword [eax]
push eax
call ebx
push esi
mov dword [ebp - 0x54], eax
call ebx
add esp, 8
cmp eax, dword [ebp - 0x54]
jne 0x10047364
mov ecx, 8
cmp dword [edi + 0x68], ecx
jb 0x10047345
mov esi, dword [edi + 0x54]
jmp 0x10047348
lea esi, [edi + 0x54]
mov eax, dword [ebp - 0x6c]
add eax, 0x54
cmp dword [eax + 0x14], ecx
jb 0x10047355
mov eax, dword [eax]
push eax
call ebx
push esi
mov edi, eax
call ebx
add esp, 8
cmp eax, edi
jl 0x10047376
push 0x1005f2fc
lea edx, [ebp - 0x59]
push edx
mov byte [ebp - 0x59], 1
call sub.MSVCR100.dll__CxxThrowException
push 0x1005f2fc
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 0x58], 0
call sub.MSVCR100.dll__CxxThrowException
push 0x1005f2fc
lea ecx, [ebp - 0x57]
push ecx
mov byte [ebp - 0x57], 0
call sub.MSVCR100.dll__CxxThrowException
mov edx, dword [ebp - 0xb4]
mov al, byte [edx]
mov byte [ebp - 0x55], al
mov eax, 0x100473ab
ret