Function at 0x40b8b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x51d9d8
push 0x466e50
mov eax, dword fs:[0]
push eax
add esp, 0xfffffb48
mov eax, dword [0x5246f0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x28], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x4c8], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov ecx, 0x12
mov esi, str.SoftwareMicrosoftInternet_Explorer
lea edi, [ebp - 0x280]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x280]
push ecx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x498], 0
je 0x40b946
jmp 0x40bb19
xor edx, edx
mov word [ebp - 0x490], dx
push 0x206
push 0
lea eax, [ebp - 0x48e]
push eax
call fcn.00463ac0
add esp, 0xc
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x494], 0x208
mov ecx, dword [str.svcVersion]
mov dword [ebp - 0x4b4], ecx
mov edx, dword [0x50f628]
mov dword [ebp - 0x4b0], edx
mov eax, dword [0x50f62c]
mov dword [ebp - 0x4ac], eax
mov ecx, dword [0x50f630]
mov dword [ebp - 0x4a8], ecx
mov edx, dword [0x50f634]
mov dword [ebp - 0x4a4], edx
mov ax, word [0x50f638]
mov word [ebp - 0x4a0], ax
lea ecx, [ebp - 0x494]
push ecx
lea edx, [ebp - 0x490]
push edx
lea eax, [ebp - 0x24]
push eax
push 0
lea ecx, [ebp - 0x4b4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x498], 0
je 0x40ba59
mov eax, dword [str.Version]
mov dword [ebp - 0x4c4], eax
mov ecx, dword [0x50f5b0]
mov dword [ebp - 0x4c0], ecx
mov edx, dword [0x50f5b4]
mov dword [ebp - 0x4bc], edx
mov eax, dword [0x50f5b8]
mov dword [ebp - 0x4b8], eax
lea ecx, [ebp - 0x494]
push ecx
lea edx, [ebp - 0x490]
push edx
lea eax, [ebp - 0x24]
push eax
push 0
lea ecx, [ebp - 0x4c4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x498], 0
je 0x40ba59
jmp 0x40bb19
push 0x2e
lea eax, [ebp - 0x490]
push eax
call fcn.0040c380
add esp, 8
mov dword [ebp - 0x49c], eax
cmp dword [ebp - 0x49c], 0
jne 0x40ba7e
jmp 0x40bb19
xor ecx, ecx
mov word [ebp - 0x230], cx
push 0x206
push 0
lea edx, [ebp - 0x22e]
push edx
call fcn.00463ac0
add esp, 0xc
mov eax, dword [ebp - 0x49c]
lea ecx, [ebp - 0x490]
sub eax, ecx
sar eax, 1
push eax
lea edx, [ebp - 0x490]
push edx
lea eax, [ebp - 0x230]
push eax
call fcn.0040c2e0
add esp, 0xc
mov dword [ebp - 0x284], 0
jmp 0x40badf
mov ecx, dword [ebp - 0x284]
add ecx, 1
mov dword [ebp - 0x284], ecx
cmp dword [ebp - 0x284], 5
jge 0x40bb19
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x284]
lea ecx, [eax*4 + 0x52ae5c]
push ecx
call fcn.0040c260
add esp, 8
movzx edx, al
test edx, edx
je 0x40bb17
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x20], eax
jmp 0x40bb19
jmp 0x40bad0
mov dword [ebp - 4], 0xfffffffe
call fcn.0040bb27
jmp 0x40bb38
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0045f522
mov esp, ebp
pop ebp
ret