Function at 0x4a6430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b877b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
lea ecx, [esi + 0x17f4]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], ebx
call fcn.004e67a0
lea ecx, [esi + 0x48c]
call fcn.004e8250
lea ecx, [esi + 0x5c]
call fcn.004f7770
lea ecx, [esi + 0x138c]
call fcn.004eb770
mov al, byte [esi + 0xb94]
lea edi, [esi + 0x738]
test al, al
je 0x4a64a6
mov dl, byte [edi + 0x468]
test dl, dl
sete al
test al, al
jne 0x4a64df
mov edx, dword [0x67a050]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push ebx
push ebx
push 0x65638c
push edx
mov dword [ebp - 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4a64d2
cmp dword [ebp - 0x1c], ebx
je 0x4a64df
push 5
lea ecx, [esi + 0xd48]
call fcn.0059a446
mov eax, dword [0x6754d4]
mov dword [ebp - 0x28], eax
mov al, byte [esi + 0x1cc0]
mov byte [ebp - 4], 1
test al, al
jne 0x4a6535
mov ecx, edi
mov byte [esi + 0x1cc0], 1
call fcn.00493760
mov ecx, edi
call fcn.00496e20
mov eax, dword [esi + 0x1858]
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
mov ecx, edi
call fcn.0048cee0
lea ecx, [esi + 0xce0]
call fcn.004ed3b0
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4a6a41
mov al, byte [esi + 0xbc9]
mov byte [ebp - 0x11], 0
test al, al
jne 0x4a6716
cmp dword [esi + 0xc6c], ebx
je 0x4a65c5
mov ecx, dword [esi + 0xc68]
mov edi, dword [ecx + 4]
cmp dword [edi + 0x400], ebx
jne 0x4a65ab
cmp dword [edi + 0x84c], ebx
je 0x4a657f
mov dword [edi + 0xc], 1
mov edx, dword [esi + 0xc68]
mov ecx, dword [edx + 4]
call fcn.005516e0
jmp 0x4a65ab
cmp edi, ebx
mov byte [ebp - 4], 2
je 0x4a65a2
mov ecx, edi
call fcn.0054a0f0
push edi
call fcn.00597102
add esp, 4
jmp 0x4a65a2
mov dword [ebp - 4], 1
xor ebx, ebx
push ebx
lea ecx, [esi + 0x738]
call fcn.0049ec10
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0xc64]
call fcn.004a2ce0
cmp dword [esi + 0xb40], ebx
je 0x4a6614
xor edi, edi
mov eax, dword [esi + 0xb38]
cmp edi, eax
mov eax, dword [esi + 0xb40]
jge 0x4a660b
mov eax, dword [eax + edi*4]
cmp eax, ebx
je 0x4a6608
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x4a65f6
push eax
call fcn.00597102
add esp, 4
mov ecx, dword [esi + 0xb40]
mov eax, dword [ecx + edi*4]
push eax
call fcn.00597102
add esp, 4
inc edi
jmp 0x4a65cf
push eax
call fcn.00597102
add esp, 4
push 0xfa0
mov dword [esi + 0xb38], ebx
mov dword [esi + 0xb3c], 0x3e8
call fcn.005970d9
mov ecx, dword [esi + 0xb3c]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0xb40], 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 + 0xb40], ebx
jne 0x4a666f
lea eax, [ebp - 0x20]
push 0x622bf0
push eax
mov dword [ebp - 0x20], 0xc0000017
call fcn.00580382
lea ecx, [esi + 0x740]
call fcn.00570fb0
mov eax, dword [esi + 0xf60]
cmp eax, ebx
je 0x4a6698
mov ecx, dword [esi + 0x11c4]
push eax
push ebx
push 0x1101
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xf64]
mov dword [esi + 0xf60], ebx
cmp eax, ebx
mov byte [esi + 0xf6e], 0
mov byte [esi + 0xf6f], 0
mov byte [esi + 0xb44], 0
je 0x4a66d1
mov edx, dword [esi + 0x11c4]
push eax
push ebx
push 0x1101
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x1858]
lea ecx, [esi + 0xb78]
push eax
push 0x64efb0
push ecx
mov dword [esi + 0xf64], ebx
mov byte [esi + 0xf6d], 0
mov byte [esi + 0xf70], 0
mov byte [esi + 0xb45], 0
call fcn.00593b08
lea edi, [esi + 0x738]
add esp, 0xc
mov ecx, edi
call fcn.00496e20
jmp 0x4a6740
mov eax, dword [esi + 0x7e8]
cmp eax, 0x3e8
jle 0x4a6740
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.0049e4b0
xor edi, edi
xor ebx, ebx
mov dword [esi + 0xc2c], edi
mov dword [esi + 0xc28], edi
cmp edi, dword [esi + 0x7e8]
jge 0x4a67a3
push edi
lea ecx, [esi + 0x738]
call fcn.004983f0
mov al, byte [ebp - 0x11]
test al, al
je 0x4a67a0
lea eax, [edi + edi*4]
lea eax, [eax + eax*8]
lea eax, [edi + eax*2]
cdq
idiv dword [esi + 0x7e8]
cmp eax, ebx
jle 0x4a67a0
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 0x4a6757
mov eax, dword [esi + 0xc60]
test eax, eax
je 0x4a67c5
mov edx, dword [esi + 0xca0]
xor ebx, ebx
push ebx
push ebx
push 0x1425
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4a67c7
xor ebx, ebx
mov eax, dword [esi + 0xc28]
push eax
mov eax, dword [esi + 0xcfc]
push 0x1401
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x6754d4]
mov dword [ebp - 0x18], ecx
mov edx, dword [esi + 0xc2c]
lea eax, [ebp - 0x18]
push edx
push 0x6514b0
push eax
mov byte [ebp - 4], 4
call fcn.00593b08
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push ecx
lea ecx, [esi + 0xe1c]
call fcn.0059a32a
mov edx, dword [esi + 0x1200]
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 + 0xfa0]
call fcn.004d3f40
mov eax, dword [esi + 0xf54]
push eax
mov eax, dword [esi + 0x11c4]
push 9
push 0x110b
push eax
call edi
mov al, byte [esi + 0xbc9]
test al, al
jne 0x4a6877
mov eax, dword [esi + 0x1858]
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
lea ecx, [esi + 0x738]
call fcn.0048cee0
cmp dword [esi + 0x7e8], ebx
jle 0x4a6a09
mov al, byte [esi + 0xf6c]
test al, al
jne 0x4a689a
lea ecx, [esi + 0xce0]
call fcn.004ed3b0
jmp 0x4a68f9
mov al, byte [esi + 0xf6d]
test al, al
jne 0x4a68f9
mov al, byte [esi + 0x9c6]
test al, al
jne 0x4a68f9
mov eax, dword [esi + 0xf5c]
push 0xffff0002
push eax
push ebx
push ebx
push ebx
push 1
lea edi, [esi + 0x11a8]
push ebx
push 0x657ba4
push 0x23
mov ecx, edi
call fcn.00595366
push 0xfffffffffffffffd
push ebx
push ebx
push ebx
push ebx
push ebx
push 4
push eax
mov ecx, edi
mov dword [esi + 0xf64], eax
call fcn.00595318
mov byte [esi + 0xf70], 0
mov byte [esi + 0xf6d], 1
mov al, byte [esi + 0xb44]
test al, al
je 0x4a6920
mov ecx, dword [esi + 0xcfc]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0xfffffffffffffffe
push 0x1432
push 0x111
push ecx
call edi
jmp 0x4a6926
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
mov al, byte [esi + 0xb45]
test al, al
je 0x4a6945
mov edx, dword [esi + 0xcfc]
push 0xfffffffffffffffd
push 0x1432
push 0x111
push edx
call edi
mov eax, dword [0x6754d4]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x90], ebx
mov word [ebp - 0x94], bx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x84], ebx
mov word [ebp - 0x88], bx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], ebx
mov word [ebp - 0x7c], bx
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], ebx
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x58], bx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xf4], 0x5d1124
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0xf4]
push ebx
push eax
push ebx
lea ecx, [esi + 0x740]
mov byte [ebp - 4], 5
call fcn.0056f480
test al, al
je 0x4a69f8
mov al, byte [ebp - 0xb4]
test al, al
jne 0x4a69f8
mov ecx, dword [esi + 0xcfc]
push ebx
push 0x13fe
push 0x111
push ecx
call edi
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 4
call fcn.00458730
jmp 0x4a6a0f
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esi + 0xf54]
lea ecx, [esi + 0xce0]
push edx
call fcn.004f60a0
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.0059ad3d
mov al, byte [esi + 0xb94]
lea ebx, [esi + 0x738]
test al, al
je 0x4a6a77
mov dl, byte [ebx + 0x468]
test dl, dl
sete al
test al, al
je 0x4a6a77
mov ecx, dword [esi + 0xc9c]
push 0
push 0
push 0x1423
push ecx
call edi
jmp 0x4a6b60
lea edi, [esi + 0xce0]
mov ecx, edi
call fcn.004f1530
mov al, byte [esi + 0x1cc1]
test al, al
jne 0x4a6b09
xor eax, eax
mov byte [esi + 0x1cc1], 1
mov dword [esi + 0xbcc], eax
mov dword [esi + 0xbd0], eax
mov byte [esi + 0xbd6], al
mov byte [esi + 0xbd4], al
mov byte [esi + 0xbd7], al
mov byte [esi + 0xbd8], al
mov al, byte [esi + 0xbfd]
mov byte [esi + 0xc54], 0
test al, al
je 0x4a6aed
mov al, byte [esi + 0xbfe]
test al, al
je 0x4a6aed
mov ecx, edi
call fcn.004f0920
mov ecx, edi
call fcn.004f0f10
mov byte [esi + 0xbfe], 0
jmp 0x4a6af4
mov ecx, ebx
call fcn.0048f230
mov edx, dword [esi + 0x1c]
push 0
push 0x3e8
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4a6b60
mov al, byte [esi + 0x1cc0]
test al, al
je 0x4a6b60
mov eax, dword [esi + 0xc44]
test eax, eax
jne 0x4a6b60
mov al, byte [esi + 0xbfd]
test al, al
je 0x4a6b48
mov al, byte [esi + 0xbfe]
test al, al
je 0x4a6b48
mov ecx, edi
call fcn.004f0920
mov ecx, edi
call fcn.004f0f10
mov byte [esi + 0xbfe], 0
jmp 0x4a6b60
mov al, byte [esi + 0x9c8]
mov ecx, edi
test al, al
je 0x4a6b5b
call fcn.004f0f10
jmp 0x4a6b60
call fcn.004f07f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0059ad3d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret