Function at 0x404d10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x42ee68
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43e0c0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], ebx
mov eax, dword [ebx + 0xc24]
cmp eax, 0x100
jg 0x404d66
je case.0x404d5f.16
sub eax, 0x10
cmp eax, 0x70
ja case.0x404d5f.17
movzx eax, byte [eax + 0x404f6c]
jmp dword [eax*4 + 0x404f64]
cmp eax, 0x200
je case.0x404d5f.16
cmp eax, 0x400
je case.0x404d5f.16
cmp eax, 0x800
jne case.0x404d5f.17
xor edi, edi
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push edi
push str.SoftWareMicrosoftInetStpComponents
push 0x80000002
mov dword [esp + 0x58], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x404dec
mov ecx, dword [ebx + 0xc30]
mov esi, dword [esp + 0x14]
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], eax
jg 0x404e1e
test esi, esi
je 0x404dd3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push str.CIisinstApp::CheckSetUpComp___:_RegKeyOpen_Faied
add ebx, 0xc1c
push ebx
call fcn.00408c80
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
test eax, eax
jl 0x404f5f
cmp eax, dword [ebx + 0xc30]
jge 0x404f5f
mov edx, dword [ebx + 0xc2c]
lea eax, [edx + eax*4]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004014b0
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x34], edi
mov byte [esp + 0x44], 1
call fcn.0040b86e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x404f55
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
push edi
lea ecx, [ebx + 0xc3c]
mov byte [esp + 0x4c], 2
call fcn.004045d0
mov ebp, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push ebp
push esi
mov dword [esp + 0x40], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x404ebc
mov esi, eax
jmp 0x404eca
mov esi, dword [esp + 0x2c]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
push esi
push ebp
push edi
add ebx, 0xc1c
push str._s_t_INI:_s_REG:_d
push ebx
call fcn.00408c80
add esp, 0x14
test esi, esi
je 0x404ef4
push edi
push str._s_t_Not_Installed:
push ebx
call fcn.00408c80
add esp, 0xc
add ebp, 0xfffffff0
mov byte [esp + 0x44], 1
lea edx, [ebp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x404f16
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
add edi, 0xfffffff0
mov byte [esp + 0x44], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f37
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
jl 0x404e16
jmp 0x404dc8
push 0x80004005
call fcn.004011c0
jmp fcn.00409d9a