Function at 0x59b169
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fca7
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x697bc0]
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.004ef370
mov dword [ebp - 4], 0
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
lea ecx, [ebp - 0x23c]
call fcn.004ef370
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.005c63d0
add esp, 0xc
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x254]
call fcn.004ef850
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.00570570
add esp, 8
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
je 0x59b0be
lea edx, [ebp - 0x218]
push edx
call fcn.005c45e6
add esp, 4
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x59b12b
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
push 0x62148c
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.00570570
add esp, 8
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
je 0x59b12b
lea edx, [ebp - 0x218]
push edx
call fcn.005c45e6
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.0x59b162
mov eax, dword [ebp - 0x260]
jmp dword [eax*4 + 0x59b290]
mov dword [ebp - 0x21c], 0x2af8
jmp 0x59b1cb
mov dword [ebp - 0x21c], 0x2710
jmp 0x59b1cb
mov dword [ebp - 0x21c], 0x2328
jmp 0x59b1cb
mov dword [ebp - 0x21c], 0x1f40
jmp 0x59b1cb
mov dword [ebp - 0x21c], 0x1b58
jmp 0x59b1cb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.004ef480
jmp 0x59b273
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.004ef850
push eax
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x59b245
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 0x59b239
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x59b245
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.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.004ef480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 4