Function at 0x4d8dd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6b15
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x634254]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d902e
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
call fcn.0040b05c
mov ecx, eax
test ecx, ecx
je 0x4d905e
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4d8e8e
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.0040b85d
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x208
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push 0
push str.version
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d8ecc
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x4d8ebd
cmp eax, 2
jne 0x4d8ecc
test esi, esi
je 0x4d8ecc
cmp dword [ebp - 0x14], 0
jne 0x4d8ecc
xor eax, eax
mov word [esi], ax
push dword [esi - 8]
push esi
call fcn.0057bd12
add esp, 8
test eax, eax
js 0x4d908e
cmp eax, dword [esi - 8]
jg 0x4d908e
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edi, esi
mov dword [ebx], ecx
xor eax, eax
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea ecx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4d8f10
sub edi, ecx
sar edi, 1
cmp edi, 7
ja 0x4d8f3f
mov dword [ebx + 0x10], edi
add edi, edi
push edi
push esi
push ebx
call fcn.00570d00
add esp, 0xc
xor eax, eax
mov word [edi + ebx], ax
jmp 0x4d8ff0
cmp edi, 0x7ffffffe
ja 0x4d9068
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4d8f65
mov dword [ebp - 0x20], SysReAllocString
mov eax, 0xfffffffe
jmp 0x4d8f87
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x20], eax
inc eax
cmp eax, 0x7fffffff
ja 0x4d9089
add eax, eax
cmp eax, 0x1000
jb 0x4d8fb0
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4d9089
push ecx
call fcn.005a1c68
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4d906d
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4d8fcc
test eax, eax
je 0x4d8fca
push eax
call fcn.005a1c68
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4d907b
jmp 0x4d8fcf
xor eax, eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 0x10], edi
add edi, edi
push edi
push esi
push eax
mov dword [ebx + 0x14], ecx
call fcn.00570780
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor ecx, ecx
mov dword [ebx], eax
mov word [edi + eax], cx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4d900c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4d904a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], eax
mov word [ebx], ax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b92b
call fcn.004072dc
push 0x630328
lea eax, [ebp - 0xd]
push eax
call fcn.0057134b
push 0x630328
lea eax, [ebp - 0xe]
push eax
call fcn.0057134b
call fcn.00407541
push 0x80070057
call fcn.0040b92b
int3