Function at 0x404c50
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5396c2
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x59e9e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xec]
push eax
push 1
push 0
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404e7e
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xd8]
push eax
push 0
push 0
push str.Version
push dword [ebp - 0xec]
mov dword [ebp - 0xf0], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404e6a
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xdc]
call fcn.004010b0
push dword [ebp - 0xdc]
mov dword [ebp - 4], 0
push str.Internet_Explorer_version_key____s_
push 0
call fcn.00535450
add esp, 0xc
lea eax, [ebp - 0xe4]
push eax
push 0x54be6c
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xe4], 0
call fcn.00405130
push dword [ebp - 0xe0]
mov byte [ebp - 4], 1
call fcn.0051bb8b
add esp, 4
or esi, 0xffffffff
cmp eax, 5
jle 0x404d4e
mov bl, 1
jmp 0x404e23
push dword [ebp - 0xe0]
call fcn.0051bb8b
add esp, 4
cmp eax, 5
jne 0x404e23
lea eax, [ebp - 0xe4]
push eax
push 0x54be6c
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00405130
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.004012c0
mov edx, dword [ebp - 0xe8]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404db6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xe0]
call fcn.0051bb8b
add esp, 4
test eax, eax
jle 0x404dcc
mov bl, 1
jmp 0x404e23
lea eax, [ebp - 0xe4]
push eax
push 0x54be6c
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00405130
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 3
call fcn.004012c0
lea ecx, [ebp - 0xe8]
call fcn.00401250
push dword [ebp - 0xe0]
call fcn.0051bb8b
movzx ebx, bl
add esp, 4
mov ecx, 1
cmp eax, 0xc1f
cmovge ebx, ecx
mov edx, dword [ebp - 0xe0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404e46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xdc]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x404e6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xec]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x404f1d
call fcn.004063ec
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x404e9a
push 0x80004005
call fcn.004015d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe4], eax
mov dword [ebp - 4], 4
call fcn.004063ec
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x404ecd
push 0x80004005
call fcn.004015d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xdc], eax
push 0x6e
push 0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 5
call fcn.00401ea0
push 0x6f
push 0
lea ecx, [ebp - 0xdc]
call fcn.00401ea0
push 0
push dword [ebp - 0xe4]
push dword [ebp - 0xdc]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051afd4
mov esp, ebp
pop ebp
ret