Function at 0x4741a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, 0x493fc4
mov ebx, 0x493fc0
cmp byte [0x493fe8], 0
je 0x474387
mov eax, dword [ebx]
mov dword [esp], eax
jmp 0x4741db
add dword [ebx], 0x1000
mov eax, dword [ebx]
mov dword [esp], eax
mov eax, 0x493fbc
mov edx, dword [ebx]
call fcn.00402734
push esp
mov eax, dword [0x493fbc]
push eax
push 0
push 0
push 0x474468
push 0x80000004
call sub.advapi32.dll_RegQueryValueExA_1
cmp eax, 0xea
je 0x4741c4
mov eax, dword [0x493fbc]
mov eax, dword [eax + 0x18]
add eax, dword [0x493fbc]
mov dword [esi], eax
mov eax, dword [0x493fbc]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x47422e
mov eax, dword [esi]
cmp dword [eax + 0xc], 0xee
je 0x47422e
mov eax, dword [esi]
mov eax, dword [eax]
add eax, dword [esi]
mov dword [esi], eax
dec ecx
jne 0x474218
mov eax, dword [esi]
cmp dword [eax + 0xc], 0xee
je 0x47424f
mov ecx, 0x474474
mov dl, 1
mov eax, dword [0x407c3c]
call fcn.0040c274
call fcn.00403b70
cmp dword [0x493fcc], 0
jge 0x474286
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
mov dword [0x493fcc], eax
mov eax, dword [0x493fcc]
shl eax, 3
call fcn.004026f4
mov dword [0x493fd0], eax
mov eax, dword [0x493fcc]
shl eax, 3
call fcn.004026f4
mov dword [0x493fd4], eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, dword [esi]
mov dword [0x493fc8], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jle 0x4742bb
mov eax, dword [0x493fc8]
cmp dword [eax + 4], 6
je 0x4742bb
mov eax, dword [0x493fc8]
mov eax, dword [eax]
add eax, dword [0x493fc8]
mov dword [0x493fc8], eax
dec ecx
jne 0x47429b
mov eax, dword [0x493fc8]
cmp dword [eax + 4], 6
je 0x4742dc
mov ecx, 0x4744b0
mov dl, 1
mov eax, dword [0x407c3c]
call fcn.0040c274
call fcn.00403b70
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, dword [esi]
mov ecx, dword [0x493fcc]
dec ecx
test ecx, ecx
jl 0x474343
inc ecx
xor ebx, ebx
mov esi, dword [eax]
add esi, eax
mov eax, dword [0x493fd4]
mov edx, dword [0x493fd0]
mov edi, dword [edx + ebx*8]
mov dword [eax + ebx*8], edi
mov edi, dword [edx + ebx*8 + 4]
mov dword [eax + ebx*8 + 4], edi
mov eax, dword [0x493fc8]
mov eax, dword [eax + 0x24]
mov edi, esi
add eax, edi
mov edx, dword [eax]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [0x493fd0]
mov edx, dword [esp + 0x18]
mov dword [eax + ebx*8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ebx*8 + 4], edx
mov eax, dword [esi]
add eax, edi
inc ebx
dec ecx
jne 0x4742f1
mov eax, dword [0x493fd8]
mov dword [0x493fe0], eax
mov eax, dword [0x493fdc]
mov dword [0x493fe4], eax
lea eax, [esp + 4]
push eax
mov eax, dword [0x493fbc]
add eax, 0x24
push eax
call sub.kernel32.dll_SystemTimeToFileTime
mov eax, dword [esp + 4]
mov dword [0x493fd8], eax
mov eax, dword [esp + 8]
mov dword [0x493fdc], eax
jmp 0x474460
cmp byte [0x493fe9], 0
jne 0x474437
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push 0x4744ec
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x4743c9
mov ecx, 0x474508
mov dl, 1
mov eax, dword [0x407c3c]
call fcn.0040c274
call fcn.00403b70
mov dword [esp + 0x10], 4
lea eax, [esp + 0x10]
push eax
push 0x493fec
lea eax, [esp + 0x1c]
push eax
push 0
push 0x474530
mov eax, dword [esp + 0x20]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
push 0x493ff0
push 0x20019
push 0
push 0x474540
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x474430
mov ecx, 0x47455c
mov dl, 1
mov eax, dword [0x407c3c]
call fcn.0040c274
call fcn.00403b70
mov byte [0x493fe9], 1
mov dword [esp + 0x10], 4
lea eax, [esp + 0x10]
push eax
push 0x493fec
lea eax, [esp + 0x1c]
push eax
push 0
push 0x474530
mov eax, dword [0x493ff0]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
add esp, 0x20
pop edi
pop esi
pop ebx
ret