Function at 0x531b81
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e8fd
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x615720]
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.004e98c0
mov dword [ebp - 4], 0
push 0x5ad400
lea ecx, [ebp - 0x23c]
call fcn.004e98c0
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.0055eb60
add esp, 0xc
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x254]
call fcn.004e9c70
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.00552820
add esp, 8
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
je 0x531abe
lea edx, [ebp - 0x218]
push edx
call fcn.005606f7
add esp, 4
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x531b2b
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
push 0x5ad6b0
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.00552820
add esp, 8
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
je 0x531b2b
lea edx, [ebp - 0x218]
push edx
call fcn.005606f7
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.0x531b62
mov eax, dword [ebp - 0x260]
jmp dword [eax*4 + 0x531c90]
mov dword [ebp - 0x21c], 0x2af8
jmp 0x531bcb
mov dword [ebp - 0x21c], 0x2710
jmp 0x531bcb
mov dword [ebp - 0x21c], 0x2328
jmp 0x531bcb
mov dword [ebp - 0x21c], 0x1f40
jmp 0x531bcb
mov dword [ebp - 0x21c], 0x1b58
jmp 0x531bcb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.004e99d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.004e99d0
jmp 0x531c73
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.004e9c70
push eax
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x531c45
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 0x531c39
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x531c45
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.004e99d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.004e99d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e48d
mov esp, ebp
pop ebp
ret 4