Function at 0x4199b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5516d4
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5ba6c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0xff
lea eax, [ebp - 0x20f]
push ebx
push eax
mov byte [ebp - 0x210], bl
call fcn.0052f600
push 0xff
lea ecx, [ebp - 0x10f]
push ebx
push ecx
mov byte [ebp - 0x110], bl
call fcn.0052f600
add esp, 0x18
call fcn.0042e490
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x419a30
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x214], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x218]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerNew_WindowsAllow
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x419a95
mov byte [ebp - 4], bl
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419a90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x419bee
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x110]
push edx
mov edx, dword [ebp - 0x218]
push ebx
mov eax, 0x100
push ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x210]
push ecx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edi, 1
cmp eax, ebx
jne 0x419b9e
nop
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x419af0
sub eax, edx
je 0x419b52
lea eax, [ebp - 0x210]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x419b04
sub eax, edx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
call fcn.004017f0
lea ecx, [ebp - 0x214]
call fcn.004040a0
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x214]
cmp eax, ebx
je 0x419b52
cmp dword [esi - 0xc], ebx
jl 0x419b52
push eax
push esi
call fcn.00530b86
add esp, 8
cmp eax, ebx
je 0x419b52
sub eax, esi
cmp eax, 0xffffffff
jne 0x419bc2
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x110]
push edx
mov edx, dword [ebp - 0x218]
push ebx
mov eax, 0x100
push ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x210]
push ecx
push edi
push edx
mov byte [ebp - 0x110], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
inc edi
cmp eax, ebx
je 0x419ae0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x218]
push 2
lea eax, [ebp - 0x220]
push eax
push 3
push ebx
push ecx
push edx
mov word [ebp - 0x220], bx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419bee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419c14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f5f0
mov esp, ebp
pop ebp
ret