Function at 0x51f2dd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c36a
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5d86f0]
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.004e8770
mov dword [ebp - 4], 0
push 0x5730f8
lea ecx, [ebp - 0x23c]
call fcn.004e8770
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.005443d0
add esp, 0xc
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x254]
call fcn.004e8b40
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.0053bb70
add esp, 8
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
je 0x51f20e
lea edx, [ebp - 0x218]
push edx
call fcn.00545a85
add esp, 4
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x51f27b
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
push 0x573244
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.0053bb70
add esp, 8
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
je 0x51f27b
lea edx, [ebp - 0x218]
push edx
call fcn.00545a85
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.0x51f2b2
mov eax, dword [ebp - 0x260]
jmp dword [eax*4 + 0x51f3e0]
mov dword [ebp - 0x21c], 0x2af8
jmp 0x51f31b
mov dword [ebp - 0x21c], 0x2710
jmp 0x51f31b
mov dword [ebp - 0x21c], 0x2328
jmp 0x51f31b
mov dword [ebp - 0x21c], 0x1f40
jmp 0x51f31b
mov dword [ebp - 0x21c], 0x1b58
jmp 0x51f31b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.004e8880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.004e8880
jmp 0x51f3c3
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.004e8b40
push eax
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x51f395
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 0x51f389
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x51f395
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.004e8880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.004e8880
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret 4