Function at 0x436140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb098
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x524ee0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x520328], 0
jne 0x436188
mov al, byte [0x5272e8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0000000
lea ecx, [ebp - 0x18]
mov byte [0x520328], 0
call fcn.00401ff0
push str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.00401ff0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp - 0x20]
sub ecx, dword [eax - 0xc]
lea eax, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c1b0
mov esi, dword [ebp - 0x14]
or ebx, 0xffffffff
mov ecx, dword [esi - 0xc]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x436285
js 0x4363fd
cmp word [esi], 0x30
jne 0x436285
lea eax, [ecx - 1]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040c1b0
mov ecx, dword [eax]
lea edi, [esi - 0x10]
lea edx, [ecx - 0x10]
mov byte [ebp - 4], 3
cmp edx, edi
je 0x43625a
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x43624b
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x43624b
push edx
call fcn.004047d0
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x436243
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
jmp 0x43625a
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00409670
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43627a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi - 0xc]
test ecx, ecx
jne 0x4361e2
mov eax, dword [0x527494]
test eax, eax
je 0x436295
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareBrowserExten
lea ecx, [ebp - 0x2c]
call fcn.00401ff0
push str.sionsProxySettings_
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 4
call fcn.0040b6c0
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.0040b600
add esp, 0x18
push 0x527494
push 0x20019
push 0
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x28]
test eax, eax
setne byte [ebp - 0xd]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436305
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436325
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436345
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
jne 0x436407
push str.UseLoc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], 4
call fcn.00401ff0
push str.alSettings
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 6
call fcn.0040b6c0
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push 0
push dword [eax]
push dword [0x527494]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x2c]
test eax, eax
setne byte [ebp - 0xd]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4363c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4363e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
jne 0x436407
cmp dword [ebp - 0x1c], 0
setne dl
mov byte [ebp - 0xd], dl
mov byte [0x5272e8], dl
jmp 0x43640b
push 0x80070057
call fcn.00404410
mov byte [ebp - 0xd], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436428
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436448
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x436469
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret