Function at 0x476860
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55266b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
lea ecx, [esi + 0x17a4]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], ebx
call fcn.004aeee0
lea ecx, [esi + 0x48c]
call fcn.004afd50
lea ecx, [esi + 0x5c]
call fcn.004bdd70
lea ecx, [esi + 0x133c]
call fcn.004b2dc0
mov al, byte [esi + 0xb54]
lea edi, [esi + 0x720]
test al, al
je 0x4768d6
mov dl, byte [edi + 0x440]
test dl, dl
sete al
test al, al
jne 0x47690f
mov edx, dword [0x5ba8bc]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push ebx
push ebx
push str.GrStVsbt
push edx
mov dword [ebp - 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x476902
cmp dword [ebp - 0x1c], ebx
je 0x47690f
push 5
lea ecx, [esi + 0xcf8]
call fcn.00537206
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0x28], eax
mov al, byte [esi + 0x1c68]
mov byte [ebp - 4], 1
test al, al
jne 0x476967
mov ecx, edi
mov byte [esi + 0x1c68], 1
call fcn.00466f80
mov ecx, edi
call fcn.00469a60
mov eax, dword [esi + 0x1808]
push 0xfffffffffffffffe
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
mov ecx, edi
call fcn.00463240
lea ebx, [esi + 0xc90]
mov ecx, ebx
call fcn.004b49a0
jmp 0x476e52
mov al, byte [esi + 0xb81]
mov byte [ebp - 0x11], 0
test al, al
jne 0x476b48
cmp dword [esi + 0xc1c], ebx
je 0x4769f7
mov ecx, dword [esi + 0xc18]
mov edi, dword [ecx + 4]
cmp dword [edi + 0x408], ebx
jne 0x4769dd
cmp dword [edi + 0x648], ebx
je 0x4769b1
mov dword [edi + 0xc], 1
mov edx, dword [esi + 0xc18]
mov ecx, dword [edx + 4]
call fcn.004fb010
jmp 0x4769dd
cmp edi, ebx
mov byte [ebp - 4], 2
je 0x4769d4
mov ecx, edi
call fcn.004f5e70
push edi
call fcn.005380ca
add esp, 4
jmp 0x4769d4
mov dword [ebp - 4], 1
xor ebx, ebx
push ebx
lea ecx, [esi + 0x720]
call fcn.00470170
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0xc14]
call fcn.004733c0
cmp dword [esi + 0xb08], ebx
je 0x476a46
xor edi, edi
mov eax, dword [esi + 0xb00]
cmp edi, eax
mov eax, dword [esi + 0xb08]
jge 0x476a3d
mov eax, dword [eax + edi*4]
cmp eax, ebx
je 0x476a3a
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x476a28
push eax
call fcn.005380ca
add esp, 4
mov ecx, dword [esi + 0xb08]
mov eax, dword [ecx + edi*4]
push eax
call fcn.005380ca
add esp, 4
inc edi
jmp 0x476a01
push eax
call fcn.005380ca
add esp, 4
push 0xfa0
mov dword [esi + 0xb00], ebx
mov dword [esi + 0xb04], 0x3e8
call fcn.005380a1
mov ecx, dword [esi + 0xb04]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0xb08], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [esi + 0xb08], ebx
jne 0x476aa1
lea eax, [ebp - 0x20]
push 0x57d388
push eax
mov dword [ebp - 0x20], 0xc0000017
call fcn.0051e99c
lea ecx, [esi + 0x728]
call fcn.00512240
mov eax, dword [esi + 0xf10]
cmp eax, ebx
je 0x476aca
mov ecx, dword [esi + 0x1174]
push eax
push ebx
push 0x1101
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xf14]
mov dword [esi + 0xf10], ebx
cmp eax, ebx
mov byte [esi + 0xf1e], 0
mov byte [esi + 0xf1f], 0
mov byte [esi + 0xb0c], 0
je 0x476b03
mov edx, dword [esi + 0x1174]
push eax
push ebx
push 0x1101
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x1808]
lea ecx, [esi + 0xb38]
push eax
push 0x597ddc
push ecx
mov dword [esi + 0xf14], ebx
mov byte [esi + 0xf1d], 0
mov byte [esi + 0xf20], 0
mov byte [esi + 0xb0d], 0
call fcn.0053091a
lea edi, [esi + 0x720]
add esp, 0xc
mov ecx, edi
call fcn.00469a60
jmp 0x476b72
mov eax, dword [esi + 0x7d0]
cmp eax, 0x3e8
jle 0x476b72
mov edx, dword [esi + 0x71c]
push 6
push 0x1436
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 0x11], 1
mov ecx, edi
call fcn.0046fa60
xor edi, edi
xor ebx, ebx
mov dword [esi + 0xbdc], edi
mov dword [esi + 0xbd8], edi
cmp edi, dword [esi + 0x7d0]
jge 0x476bd5
push edi
lea ecx, [esi + 0x720]
call fcn.0046aeb0
mov al, byte [ebp - 0x11]
test al, al
je 0x476bd2
lea eax, [edi + edi*4]
lea eax, [eax + eax*8]
lea eax, [edi + eax*2]
cdq
idiv dword [esi + 0x7d0]
cmp eax, ebx
jle 0x476bd2
mov ecx, dword [esi + 0x71c]
push eax
push 0x143e
push 0x111
push ecx
mov ebx, eax
call dword [sym.imp.USER32.dll_SendMessageA]
inc edi
jmp 0x476b89
mov eax, dword [esi + 0xc10]
test eax, eax
je 0x476bf5
mov edx, dword [esi + 0xc50]
push 0
push 0
push 0x1425
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0xbd8]
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
push eax
mov eax, dword [esi + 0xcac]
push 0x1401
push 0x111
push eax
call ebx
mov ecx, dword [0x5b5ecc]
mov dword [ebp - 0x18], ecx
mov edx, dword [esi + 0xbdc]
lea eax, [ebp - 0x18]
push edx
push 0x599b9c
push eax
mov byte [ebp - 4], 4
call fcn.0053091a
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push ecx
lea ecx, [esi + 0xdcc]
call fcn.005370ea
mov edx, dword [esi + 0x11b0]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1009
push edx
call edi
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0xf50]
call fcn.0049e0c0
mov eax, dword [esi + 0xf04]
push eax
mov eax, dword [esi + 0x1174]
push 9
push 0x110b
push eax
call edi
mov al, byte [esi + 0xb81]
test al, al
jne 0x476cb9
mov eax, dword [esi + 0x1808]
push 0xfffffffffffffffe
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
push eax
push 0
lea ecx, [esi + 0x720]
call fcn.00463240
mov eax, dword [esi + 0x7d0]
xor edi, edi
cmp eax, edi
jle 0x476e19
mov al, byte [esi + 0xf1c]
test al, al
jne 0x476ce0
lea ecx, [esi + 0xc90]
call fcn.004b49a0
jmp 0x476d4a
mov al, byte [esi + 0xf1d]
test al, al
jne 0x476d4a
mov al, byte [esi + 0x9a6]
test al, al
jne 0x476d4a
mov eax, dword [esi + 0xf0c]
push 0xffff0002
push eax
push 0
push 0
push 0
push 1
lea edi, [esi + 0x1158]
push 0
push str.Other_sites
push 0x23
mov ecx, edi
call fcn.00532178
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 4
push eax
mov ecx, edi
mov dword [esi + 0xf14], eax
call fcn.0053212a
mov byte [esi + 0xf20], 0
mov byte [esi + 0xf1d], 1
xor edi, edi
mov al, byte [esi + 0xb0c]
test al, al
je 0x476d69
mov ecx, dword [esi + 0xcac]
push 0xfffffffffffffffe
push 0x1432
push 0x111
push ecx
call ebx
mov al, byte [esi + 0xb0d]
test al, al
je 0x476d88
mov edx, dword [esi + 0xcac]
push 0xfffffffffffffffd
push 0x1432
push 0x111
push edx
call ebx
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0xd4], 0x5602e8
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0xd4]
push edi
push eax
push edi
lea ecx, [esi + 0x728]
mov byte [ebp - 4], 5
call fcn.00510d00
test al, al
je 0x476e0a
mov al, byte [ebp - 0x94]
test al, al
jne 0x476e0a
mov ecx, dword [esi + 0xcac]
push edi
push 0x13fe
push 0x111
push ecx
call ebx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 4
call fcn.0043c730
mov edx, dword [esi + 0xf04]
lea ebx, [esi + 0xc90]
push edx
mov ecx, ebx
call fcn.004bc920
mov eax, dword [esi + 0x71c]
push 0
push 0x1437
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00537b04
mov al, byte [esi + 0xb54]
lea edi, [esi + 0x720]
test al, al
je 0x476e8c
mov dl, byte [edi + 0x440]
test dl, dl
sete al
test al, al
je 0x476e8c
mov ecx, dword [esi + 0xc4c]
push 0
push 0
push 0x1423
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x476f6f
mov ecx, ebx
call fcn.004b8940
mov al, byte [esi + 0x1c69]
test al, al
jne 0x476f18
xor eax, eax
mov byte [esi + 0x1c69], 1
mov dword [esi + 0xb84], eax
mov dword [esi + 0xb88], eax
mov byte [esi + 0xb8e], al
mov byte [esi + 0xb8c], al
mov byte [esi + 0xb8f], al
mov byte [esi + 0xb90], al
mov al, byte [esi + 0xbb5]
mov byte [esi + 0xc04], 0
test al, al
je 0x476efc
mov al, byte [esi + 0xbb6]
test al, al
je 0x476efc
mov ecx, ebx
call fcn.004b7db0
mov ecx, ebx
call fcn.004b8320
mov byte [esi + 0xbb6], 0
jmp 0x476f03
mov ecx, edi
call fcn.00464de0
mov edx, dword [esi + 0x1c]
push 0
push 0x3e8
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x476f6f
mov al, byte [esi + 0x1c68]
test al, al
je 0x476f6f
mov eax, dword [esi + 0xbf4]
test eax, eax
jne 0x476f6f
mov al, byte [esi + 0xbb5]
test al, al
je 0x476f57
mov al, byte [esi + 0xbb6]
test al, al
je 0x476f57
mov ecx, ebx
call fcn.004b7db0
mov ecx, ebx
call fcn.004b8320
mov byte [esi + 0xbb6], 0
jmp 0x476f6f
mov al, byte [esi + 0x9a8]
mov ecx, ebx
test al, al
je 0x476f6a
call fcn.004b8320
jmp 0x476f6f
call fcn.004b7c80
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00537b04
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret