Function at 0x52b535
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ae89
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5ea6f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x278], ecx
push str.SOFTWAREMicrosoftInternet_Explorer
lea ecx, [ebp - 0x254]
call fcn.004e9850
mov dword [ebp - 4], 0
push 0x582760
lea ecx, [ebp - 0x23c]
call fcn.004e9850
mov byte [ebp - 4], 1
mov dword [ebp - 0x264], reloc.WS2_32.dll_bind
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x224], 0x104
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00550c40
add esp, 0xc
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x254]
call fcn.004e9c20
push eax
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
push str.svcVersion
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x268], eax
push 0x2e
lea ecx, [ebp - 0x218]
push ecx
call fcn.00547b50
add esp, 8
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
je 0x52b47e
lea edx, [ebp - 0x218]
push edx
call fcn.0054e2de
add esp, 4
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x52b4eb
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
push 0x5828b0
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x268], eax
push 0x2e
lea ecx, [ebp - 0x218]
push ecx
call fcn.00547b50
add esp, 8
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
je 0x52b4eb
lea edx, [ebp - 0x218]
push edx
call fcn.0054e2de
add esp, 4
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x260], ecx
mov edx, dword [ebp - 0x260]
sub edx, 7
mov dword [ebp - 0x260], edx
cmp dword [ebp - 0x260], 4
ja case.default.0x52b522
mov eax, dword [ebp - 0x260]
jmp dword [eax*4 + 0x52b650]
mov dword [ebp - 0x21c], 0x2af8
jmp 0x52b58b
mov dword [ebp - 0x21c], 0x2710
jmp 0x52b58b
mov dword [ebp - 0x21c], 0x2328
jmp 0x52b58b
mov dword [ebp - 0x21c], 0x1f40
jmp 0x52b58b
mov dword [ebp - 0x21c], 0x1b58
jmp 0x52b58b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.004e9960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.004e9960
jmp 0x52b633
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.004e9c20
push eax
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x52b605
mov dword [ebp - 0x26c], 4
mov eax, dword [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x52b5f9
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x52b605
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x27c], eax
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.004e9960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.004e9960
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005507d9
mov esp, ebp
pop ebp
ret 4