Function at 0x412b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c1d0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4ade78]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x4ac3a8], 0
jne 0x412bd8
mov al, byte [0x4af8b0]
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.07462cf09e3b013003f40973f5b3301f0032850
lea ecx, [ebp - 0x18]
mov byte [0x4ac3a8], 0
call fcn.00401b30
push str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.00401b30
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.004164a0
mov esi, dword [ebp - 0x14]
or ebx, 0xffffffff
mov ecx, dword [esi - 0xc]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x412cd4
js 0x412df0
cmp byte [esi], 0x30
jne 0x412cd4
lea eax, [ecx - 1]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
call fcn.004164a0
mov ecx, dword [eax]
lea edi, [esi - 0x10]
lea edx, [ecx - 0x10]
mov byte [ebp - 4], 3
cmp edx, edi
je 0x412ca9
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x412c9a
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x412c9a
push edx
call fcn.00403ee0
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x412c92
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 0x412ca9
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00408620
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 0x412cc9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi - 0xc]
test ecx, ecx
jne 0x412c32
mov eax, dword [0x4af99c]
test eax, eax
je 0x412ce4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareBrowserExten
lea ecx, [ebp - 0x2c]
call fcn.00401b30
push str.sionsProxySettings_
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 4
call fcn.00402d20
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.00402c60
add esp, 0x18
push 0x4af99c
push 0x20019
push 0
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
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 0x412d54
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 0x412d74
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 0x412d94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x412dfa
mov ecx, dword [0x4af2c0]
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0xc
idiv ecx
cmp edx, 0xb
jne 0x412e32
push 0x28
call fcn.004601e0
add esp, 4
mov ebx, eax
xor edi, edi
call fcn.00461e71
add eax, dword [0x4af2c0]
inc edi
mov dword [ebx + edi*4 - 4], eax
cmp edi, 0xa
jl 0x412dc1
mov eax, dword [ebx + 0x24]
push ebx
mov dword [0x4af2c0], eax
call fcn.0046208f
add esp, 4
or ebx, 0xffffffff
mov byte [ebp - 0xd], 0
jmp 0x412e48
push 0x80070057
call fcn.00403930
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push str.UseLocalSettings
push dword [0x4af99c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x412e38
mov byte [ebp - 0xd], 0
jmp 0x412e48
cmp dword [ebp - 0x1c], 0
setne dl
mov byte [ebp - 0xd], dl
mov byte [0x4af8b0], dl
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 0x412e65
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 0x412e85
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 0x412ea6
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