Function at 0x4352c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8978
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x51eee0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x51a328], 0
jne 0x435321
call fcn.00439b60
test al, al
jne 0x43530a
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
mov al, byte [0x521044]
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 [0x51a328], 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.0040c1c0
mov esi, dword [ebp - 0x14]
or ebx, 0xffffffff
mov ecx, dword [esi - 0xc]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x43541e
js 0x435596
cmp word [esi], 0x30
jne 0x43541e
lea eax, [ecx - 1]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040c1c0
mov ecx, dword [eax]
lea edi, [esi - 0x10]
lea edx, [ecx - 0x10]
mov byte [ebp - 4], 3
cmp edx, edi
je 0x4353f3
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4353e4
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4353e4
push edx
call fcn.00404840
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4353dc
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 0x4353f3
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00409950
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 0x435413
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi - 0xc]
test ecx, ecx
jne 0x43537b
mov eax, dword [0x52115c]
test eax, eax
je 0x43542e
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.0040b720
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.0040b660
add esp, 0x18
push 0x52115c
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 0x43549e
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 0x4354be
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 0x4354de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
jne 0x4355a0
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.0040b720
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 [0x52115c]
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 0x43555e
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 0x43557e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
jne 0x4355a0
cmp dword [ebp - 0x1c], 0
setne dl
mov byte [ebp - 0xd], dl
mov byte [0x521044], dl
jmp 0x4355a4
push 0x80070057
call fcn.00404480
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 0x4355c1
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 0x4355e1
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 0x435602
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