Function at 0x499980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a36fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
lea ecx, [esi + 0x17d4]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], ebx
call fcn.004d6e20
lea ecx, [esi + 0x48c]
call fcn.004d88d0
lea ecx, [esi + 0x5c]
call fcn.004e7ac0
lea ecx, [esi + 0x136c]
call fcn.004dbde0
mov al, byte [esi + 0xb7c]
lea edi, [esi + 0x738]
test al, al
je 0x4999f6
mov dl, byte [edi + 0x450]
test dl, dl
sete al
test al, al
jne 0x499a2f
mov edx, dword [0x6614e8]
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 0x499a22
cmp dword [ebp - 0x1c], ebx
je 0x499a2f
push 5
lea ecx, [esi + 0xd28]
call fcn.00586233
mov eax, dword [0x65ca8c]
mov dword [ebp - 0x28], eax
mov al, byte [esi + 0x1ca0]
mov byte [ebp - 4], 1
test al, al
jne 0x499a85
mov ecx, edi
mov byte [esi + 0x1ca0], 1
call fcn.00489480
mov ecx, edi
call fcn.0048c280
mov eax, dword [esi + 0x1838]
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
mov ecx, edi
call fcn.00483a20
lea ecx, [esi + 0xcc0]
call fcn.004dda10
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x499f77
mov al, byte [esi + 0xbb1]
mov byte [ebp - 0x11], 0
test al, al
jne 0x499c66
cmp dword [esi + 0xc4c], ebx
je 0x499b15
mov ecx, dword [esi + 0xc48]
mov edi, dword [ecx + 4]
cmp dword [edi + 0x400], ebx
jne 0x499afb
cmp dword [edi + 0x74c], ebx
je 0x499acf
mov dword [edi + 0xc], 1
mov edx, dword [esi + 0xc48]
mov ecx, dword [edx + 4]
call fcn.0053f210
jmp 0x499afb
cmp edi, ebx
mov byte [ebp - 4], 2
je 0x499af2
mov ecx, edi
call fcn.00537f80
push edi
call fcn.00582ef5
add esp, 4
jmp 0x499af2
mov dword [ebp - 4], 1
xor ebx, ebx
push ebx
lea ecx, [esi + 0x738]
call fcn.004931c0
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0xc44]
call fcn.004963f0
cmp dword [esi + 0xb30], ebx
je 0x499b64
xor edi, edi
mov eax, dword [esi + 0xb28]
cmp edi, eax
mov eax, dword [esi + 0xb30]
jge 0x499b5b
mov eax, dword [eax + edi*4]
cmp eax, ebx
je 0x499b58
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x499b46
push eax
call fcn.00582ef5
add esp, 4
mov ecx, dword [esi + 0xb30]
mov eax, dword [ecx + edi*4]
push eax
call fcn.00582ef5
add esp, 4
inc edi
jmp 0x499b1f
push eax
call fcn.00582ef5
add esp, 4
push 0xfa0
mov dword [esi + 0xb28], ebx
mov dword [esi + 0xb2c], 0x3e8
call fcn.00582ecc
mov ecx, dword [esi + 0xb2c]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0xb30], 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 + 0xb30], ebx
jne 0x499bbf
lea eax, [ebp - 0x20]
push 0x60c9d8
push eax
mov dword [ebp - 0x20], 0xc0000017
call fcn.0056c2f9
lea ecx, [esi + 0x740]
call fcn.0055dd20
mov eax, dword [esi + 0xf40]
cmp eax, ebx
je 0x499be8
mov ecx, dword [esi + 0x11a4]
push eax
push ebx
push 0x1101
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xf44]
mov dword [esi + 0xf40], ebx
cmp eax, ebx
mov byte [esi + 0xf4e], 0
mov byte [esi + 0xf4f], 0
mov byte [esi + 0xb34], 0
je 0x499c21
mov edx, dword [esi + 0x11a4]
push eax
push ebx
push 0x1101
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x1838]
lea ecx, [esi + 0xb60]
push eax
push 0x636fa0
push ecx
mov dword [esi + 0xf44], ebx
mov byte [esi + 0xf4d], 0
mov byte [esi + 0xf50], 0
mov byte [esi + 0xb35], 0
call fcn.0057f8fb
lea edi, [esi + 0x738]
add esp, 0xc
mov ecx, edi
call fcn.0048c280
jmp 0x499c90
mov eax, dword [esi + 0x7e8]
cmp eax, 0x3e8
jle 0x499c90
mov edx, dword [esi + 0x730]
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.00492a80
xor edi, edi
xor ebx, ebx
mov dword [esi + 0xc0c], edi
mov dword [esi + 0xc08], edi
cmp edi, dword [esi + 0x7e8]
jge 0x499cf3
push edi
lea ecx, [esi + 0x738]
call fcn.0048d7d0
mov al, byte [ebp - 0x11]
test al, al
je 0x499cf0
lea eax, [edi + edi*4]
lea eax, [eax + eax*8]
lea eax, [edi + eax*2]
cdq
idiv dword [esi + 0x7e8]
cmp eax, ebx
jle 0x499cf0
mov ecx, dword [esi + 0x730]
push eax
push 0x143e
push 0x111
push ecx
mov ebx, eax
call dword [sym.imp.USER32.dll_SendMessageA]
inc edi
jmp 0x499ca7
mov eax, dword [esi + 0xc40]
test eax, eax
je 0x499d15
mov edx, dword [esi + 0xc80]
xor ebx, ebx
push ebx
push ebx
push 0x1425
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x499d17
xor ebx, ebx
mov eax, dword [esi + 0xc08]
push eax
mov eax, dword [esi + 0xcdc]
push 0x1401
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x65ca8c]
mov dword [ebp - 0x18], ecx
mov edx, dword [esi + 0xc0c]
lea eax, [ebp - 0x18]
push edx
push 0x6390c4
push eax
mov byte [ebp - 4], 4
call fcn.0057f8fb
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push ecx
lea ecx, [esi + 0xdfc]
call fcn.00586117
mov edx, dword [esi + 0x11e0]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1009
push edx
call edi
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0xf80]
call fcn.004580e0
mov eax, dword [esi + 0xf34]
push eax
mov eax, dword [esi + 0x11a4]
push 9
push 0x110b
push eax
call edi
mov al, byte [esi + 0xbb1]
test al, al
jne 0x499dc7
mov eax, dword [esi + 0x1838]
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
lea ecx, [esi + 0x738]
call fcn.00483a20
cmp dword [esi + 0x7e8], ebx
jle 0x499f3f
mov al, byte [esi + 0xf4c]
test al, al
jne 0x499dea
lea ecx, [esi + 0xcc0]
call fcn.004dda10
jmp 0x499e49
mov al, byte [esi + 0xf4d]
test al, al
jne 0x499e49
mov al, byte [esi + 0x9be]
test al, al
jne 0x499e49
mov eax, dword [esi + 0xf3c]
push 0xffff0002
push eax
push ebx
push ebx
push ebx
push 1
lea edi, [esi + 0x1188]
push ebx
push str.Other_sites
push 0x23
mov ecx, edi
call fcn.00581156
push 0xfffffffffffffffd
push ebx
push ebx
push ebx
push ebx
push ebx
push 4
push eax
mov ecx, edi
mov dword [esi + 0xf44], eax
call fcn.00581108
mov byte [esi + 0xf50], 0
mov byte [esi + 0xf4d], 1
mov al, byte [esi + 0xb34]
test al, al
je 0x499e70
mov ecx, dword [esi + 0xcdc]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0xfffffffffffffffe
push 0x1432
push 0x111
push ecx
call edi
jmp 0x499e76
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
mov al, byte [esi + 0xb35]
test al, al
je 0x499e95
mov edx, dword [esi + 0xcdc]
push 0xfffffffffffffffd
push 0x1432
push 0x111
push edx
call edi
mov eax, dword [0x65ca8c]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x80], ebx
mov word [ebp - 0x84], bx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x78], bx
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 - 0xe4], 0x5bb0e4
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0xe4]
push ebx
push eax
push ebx
lea ecx, [esi + 0x740]
mov byte [ebp - 4], 5
call fcn.0055c420
test al, al
je 0x499f2e
mov al, byte [ebp - 0xa4]
test al, al
jne 0x499f2e
mov ecx, dword [esi + 0xcdc]
push ebx
push 0x13fe
push 0x111
push ecx
call edi
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 4
call fcn.004511f0
jmp 0x499f45
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esi + 0xf34]
lea ecx, [esi + 0xcc0]
push edx
call fcn.004e6510
mov eax, dword [esi + 0x730]
push ebx
push 0x1437
push 0x111
push eax
call edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00586b33
mov al, byte [esi + 0xb7c]
lea ebx, [esi + 0x738]
test al, al
je 0x499fad
mov dl, byte [ebx + 0x450]
test dl, dl
sete al
test al, al
je 0x499fad
mov ecx, dword [esi + 0xc7c]
push 0
push 0
push 0x1423
push ecx
call edi
jmp 0x49a096
lea edi, [esi + 0xcc0]
mov ecx, edi
call fcn.004e1ab0
mov al, byte [esi + 0x1ca1]
test al, al
jne 0x49a03f
xor eax, eax
mov byte [esi + 0x1ca1], 1
mov dword [esi + 0xbb4], eax
mov dword [esi + 0xbb8], eax
mov byte [esi + 0xbbe], al
mov byte [esi + 0xbbc], al
mov byte [esi + 0xbbf], al
mov byte [esi + 0xbc0], al
mov al, byte [esi + 0xbe5]
mov byte [esi + 0xc34], 0
test al, al
je 0x49a023
mov al, byte [esi + 0xbe6]
test al, al
je 0x49a023
mov ecx, edi
call fcn.004e0ee0
mov ecx, edi
call fcn.004e1490
mov byte [esi + 0xbe6], 0
jmp 0x49a02a
mov ecx, ebx
call fcn.00485ac0
mov edx, dword [esi + 0x1c]
push 0
push 0x3e8
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x49a096
mov al, byte [esi + 0x1ca0]
test al, al
je 0x49a096
mov eax, dword [esi + 0xc24]
test eax, eax
jne 0x49a096
mov al, byte [esi + 0xbe5]
test al, al
je 0x49a07e
mov al, byte [esi + 0xbe6]
test al, al
je 0x49a07e
mov ecx, edi
call fcn.004e0ee0
mov ecx, edi
call fcn.004e1490
mov byte [esi + 0xbe6], 0
jmp 0x49a096
mov al, byte [esi + 0x9c0]
mov ecx, edi
test al, al
je 0x49a091
call fcn.004e1490
jmp 0x49a096
call fcn.004e0db0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00586b33
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret