Function at 0x563490
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x6656ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], 0x6b0e60
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x2c], ebx
call fcn.00492530
push 0x758a38
mov esi, eax
call fcn.0055ae50
push 0x758a34
call fcn.0055b090
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add esp, 0xc
mov dword [0x758a4c], ecx
mov dword [0x758a50], edx
mov eax, dword [esi]
push 0x2714
mov ecx, esi
call dword [eax + 0x38]
mov dword [0x758a58], eax
mov edx, dword [esi]
push 0x2746
mov ecx, esi
call dword [edx + 0x38]
push 1
mov ecx, 0x758988
mov dword [0x758a5c], eax
mov dword [0x758994], ebx
call fcn.00582130
mov eax, dword [0x75898c]
push 1
mov ecx, 0x758998
mov dword [eax], 2
mov dword [eax + 4], 2
mov dword [0x7589a4], ebx
call fcn.00582130
mov eax, dword [0x75899c]
mov edi, 3
push 1
mov ecx, 0x7589a8
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [0x7589b4], ebx
call fcn.00582130
mov eax, dword [0x7589ac]
mov ebp, 4
push 2
mov ecx, 0x7589b8
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [0x7589c4], ebx
call fcn.00582130
mov eax, dword [0x7589bc]
push 2
mov ecx, 0x7589c8
mov dword [eax], ebp
mov dword [eax + 4], edi
mov dword [eax + 8], 2
mov dword [eax + 0xc], edi
mov dword [0x7589d4], ebx
call fcn.00582130
mov eax, dword [0x7589cc]
push 2
mov ecx, 0x7589d8
mov dword [eax], ebp
mov dword [eax + 4], edi
mov dword [eax + 8], 0x10
mov dword [eax + 0xc], edi
mov dword [0x7589e4], ebx
call fcn.00582130
mov eax, dword [0x7589dc]
mov dword [eax], 8
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
lea eax, [esp + 0x10]
mov edi, 1
push eax
push edi
push ebx
push 0x72322c
push SysReAllocStringLen
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x56363e
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push ebx
push 0x723220
push eax
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
dec eax
je 0x56365c
dec eax
je 0x563650
mov dword [0x758a54], ebx
jmp 0x563662
mov dword [0x758a54], 2
jmp 0x563662
mov dword [0x758a54], edi
push 0xc
call fcn.006247b3
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x28], 1
je 0x563682
mov ecx, eax
call fcn.0055c500
jmp 0x563684
xor eax, eax
mov ecx, dword [0x758a50]
mov dword [0x758a68], eax
push eax
mov byte [esp + 0x2c], bl
mov edx, dword [ecx]
call dword [edx + 0x28]
push 0x30
call fcn.006247b3
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x28], 2
je 0x5636b9
mov ecx, eax
call fcn.0058b6b0
jmp 0x5636bb
xor eax, eax
mov ecx, dword [0x758a50]
mov dword [0x758a6c], eax
push eax
mov byte [esp + 0x2c], bl
mov edx, dword [ecx]
call dword [edx + 0x28]
mov ecx, dword [0x758a50]
mov dword [0x758a70], ebx
mov dword [0x758a10], ebx
mov dword [0x758a14], ebx
mov dword [0x758a74], ebx
mov eax, dword [ecx]
push edi
push 0x72325c
call dword [eax + 0x18]
cmp eax, ebx
mov dword [0x758a60], eax
jne 0x563725
mov ecx, dword [0x758a50]
push ebx
push 0x72325c
push 0x72325c
mov edx, dword [ecx]
call dword [edx + 0x14]
mov dword [0x758a60], eax
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0x28]
mov ecx, dword [0x758a50]
push 0x2783
lea edx, [esp + 0x34]
push esi
mov eax, dword [ecx]
push edx
call dword [eax + 0x94]
push eax
mov ecx, 0x758a40
mov byte [esp + 0x2c], 3
call fcn.00499cd0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.00499a60
mov ecx, dword [0x758a50]
push 0x2784
lea edx, [esp + 0x34]
push esi
mov eax, dword [ecx]
push edx
call dword [eax + 0x94]
push eax
mov ecx, 0x758a3c
mov byte [esp + 0x2c], 4
call fcn.00499cd0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.00499a60
push 0x10
call fcn.006247b3
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x28], 5
je 0x5637b1
mov ecx, eax
call fcn.0058b360
jmp 0x5637b3
xor eax, eax
mov ecx, dword [0x758a50]
mov dword [0x758a70], eax
push eax
mov byte [esp + 0x2c], bl
mov edx, dword [ecx]
call dword [edx + 0x24]
mov eax, dword [esi]
push 0x2720
mov ecx, esi
call dword [eax + 0x30]
mov dword [0x758a10], eax
mov edx, dword [esi]
push 0x273e
mov ecx, esi
call dword [edx + 0x30]
mov dword [0x758a14], eax
mov eax, dword [0x758a40]
cmp eax, ebx
mov dword [0x758a18], 0xff00
mov ecx, 0x7427d8
je 0x56380c
add eax, 0xc
mov dword [0x758a1c], eax
jmp 0x563812
mov dword [0x758a1c], ecx
mov eax, dword [0x758a3c]
cmp eax, ebx
je 0x563825
add eax, 0xc
mov dword [0x758a20], eax
jmp 0x56382b
mov dword [0x758a20], ecx
mov ecx, dword [0x758a60]
mov dword [0x758a24], edi
mov dword [0x758a28], ebx
push 0x758a10
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [0x758a70]
mov dword [0x758a74], eax
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 4]
push 0x6c
call fcn.006247b3
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x28], 6
je 0x56387a
mov ecx, eax
call fcn.00587610
jmp 0x56387c
xor eax, eax
mov ecx, dword [0x758a50]
mov dword [0x758a78], eax
push eax
mov byte [esp + 0x2c], bl
mov edx, dword [ecx]
call dword [edx + 0x28]
push 0xb0
call fcn.006247b3
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x28], 7
je 0x5638b4
mov ecx, eax
call fcn.00587290
jmp 0x5638b6
xor eax, eax
push ebx
push eax
mov byte [esp + 0x30], bl
call fcn.0055aa20
push 0xc0
call fcn.006247b3
add esp, 0xc
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x28], 8
je 0x5638e4
mov ecx, eax
call fcn.00582f10
jmp 0x5638e6
xor eax, eax
push ebx
push eax
mov byte [esp + 0x30], bl
call fcn.0055aa20
push 0xb0
call fcn.006247b3
add esp, 0xc
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x28], 9
je 0x563914
mov ecx, eax
call fcn.0056a560
jmp 0x563916
xor eax, eax
push ebx
push eax
mov byte [esp + 0x30], bl
call fcn.0055aa20
push 0xc0
call fcn.006247b3
add esp, 0xc
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xa
je 0x563944
mov ecx, eax
call fcn.00582760
jmp 0x563946
xor eax, eax
push ebx
push eax
mov byte [esp + 0x30], bl
call fcn.0055aa20
mov eax, dword [esi]
add esp, 8
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret