Function at 0x5a7320
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x626728
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xa44], ebx
je 0x5a738d
mov eax, dword [esi + 0x478]
mov dword [esi + 0xa34], 0x7540
mov ecx, dword [0x6ed830]
push 1
push eax
push ecx
push 0x7540
lea ecx, [esi + 0x20]
call fcn.005b6b30
push 0x6df898
lea ecx, [esi + 0x4a4]
call fcn.0054f300
push 2
mov ecx, esi
call fcn.005a8df0
cmp dword [esi + 0xa44], ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x5a76e8
cmp dword [esi + 0xa34], ebx
jne 0x5a76e8
cmp byte [esi + 0xa38], bl
je 0x5a73c0
mov edx, dword [esi + 0x488]
mov eax, dword [esi + 0x48c]
or edx, eax
jne 0x5a73c0
push ebx
jmp 0x5a73c2
push 3
mov ecx, esi
call fcn.005a8df0
mov eax, dword [esi + 0x310]
cmp eax, 4
je 0x5a73e2
cmp dword [esi + 0x318], 0x40
je 0x5a73e2
cmp eax, 0x40
jne 0x5a7400
mov ecx, dword [esi + 0x314]
cmp ecx, ebx
je 0x5a7400
cmp byte [ecx + 0x31d], bl
je 0x5a7400
push 1
call fcn.005a7f40
jmp 0x5a764a
cmp dword [esi + 0x5c], ebx
je 0x5a741b
cmp dword [esi + 0xcc], ebx
jne 0x5a741b
push 1
mov ecx, esi
call fcn.005a7f40
jmp 0x5a764a
cmp byte [esi + 0x33c], bl
je 0x5a74ee
mov eax, dword [esi + 0x340]
cmp eax, ebx
jne 0x5a7437
lea eax, [esi + 0x344]
push eax
call fcn.005de123
add esp, 4
test eax, eax
je 0x5a74ee
mov eax, dword [esi + 0x54]
cmp eax, ebx
jne 0x5a7452
lea eax, [esi + 0x58]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], bx
call fcn.004023e0
mov byte [esi + 0x33c], bl
mov eax, dword [esi + 0x340]
cmp eax, ebx
mov dword [esp + 0x28], ebx
jne 0x5a7483
lea eax, [esi + 0x344]
push edi
lea edi, [esi + 0x20]
push eax
mov ecx, edi
call fcn.005bb0c0
mov eax, dword [esi + 0x478]
cmp eax, ebx
je 0x5a74a1
push eax
mov ecx, edi
call fcn.005b92d0
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.005a6b40
test eax, eax
pop edi
jne 0x5a74dd
push ebx
mov ecx, esi
call fcn.005a8df0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401070
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401070
cmp dword [esi + 0xcc], ebx
je 0x5a753c
mov eax, dword [0x6ec7a0]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push ebx
push ebx
push 0x6d5dbc
push eax
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5a753c
cmp dword [esp + 0x10], ebx
je 0x5a753c
mov eax, dword [esi + 0x54]
cmp eax, ebx
jne 0x5a752f
lea eax, [esi + 0x58]
lea ecx, [esi + 0x20]
push ecx
push eax
call fcn.005a1b00
add esp, 8
push 3
mov ecx, esi
call fcn.005a8df0
cmp dword [esi + 0xa48], ebx
jne 0x5a7555
cmp byte [esi + 0xa38], bl
je 0x5a7560
lea ecx, [esi + 0x4a4]
call fcn.0054f720
cmp dword [esi + 0xcc], ebx
je 0x5a758b
cmp dword [esi + 4], ebx
jne 0x5a758b
mov eax, dword [esi + 0x54]
cmp eax, ebx
jne 0x5a7577
lea eax, [esi + 0x58]
mov ecx, dword [esi + 0x10]
lea edx, [esi + 0x4a4]
push edx
push ecx
push eax
call fcn.005ac6d0
add esp, 0xc
mov eax, dword [esi + 0xc4]
push 0x6df928
push eax
call fcn.005de4a0
add esp, 8
test eax, eax
jne 0x5a75be
cmp dword [esi + 0xcc], ebx
je 0x5a764a
mov ecx, esi
call fcn.005b0730
test al, al
jne 0x5a7789
cmp dword [esi + 0xcc], ebx
je 0x5a764a
cmp byte [esi + 0xa55], bl
je 0x5a7656
mov edx, dword [esi + 0x478]
lea ecx, [esi + 0x20]
push edx
call fcn.005b9300
mov eax, dword [esi + 0x4a0]
cmp eax, ebx
je 0x5a7643
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5a7643
mov ecx, dword [esi + 0x4a0]
call fcn.0048d670
mov edx, dword [esi + 0x4a0]
mov ecx, dword [0x6ef3e4]
push 0x43
push ebx
mov eax, dword [edx + 0x10]
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x4a0]
push 1
call fcn.0048c890
mov ecx, dword [esi + 0x4a0]
push ebx
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.005a77a0
cmp byte [esi + 0xa55], bl
jne 0x5a76e8
cmp dword [esi + 4], ebx
jne 0x5a76e8
cmp dword [esi + 8], ebx
jne 0x5a76e8
cmp byte [esi + 0xa57], bl
jne 0x5a7680
cmp byte [esi + 0xa59], bl
jne 0x5a7680
cmp byte [esi + 0xa58], bl
je 0x5a76e8
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x5a7695
push ebx
push 0x1472
push 0x111
push eax
call ebp
mov cl, byte [esi + 0xa57]
xor eax, eax
cmp cl, bl
mov dword [esi + 0x10], ebx
je 0x5a76a9
mov eax, 1
cmp byte [esi + 0xa58], bl
je 0x5a76b3
or al, 2
cmp byte [esi + 0xa59], bl
je 0x5a76bd
or al, 4
cmp byte [esi + 0xa5a], bl
je 0x5a76c7
or al, 8
mov ecx, dword [esi + 0xa5c]
cmp ecx, ebx
je 0x5a76d3
or eax, ecx
push eax
mov eax, dword [esi + 0x14]
push 0x1481
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esi + 0xa44], ebx
jne 0x5a773b
cmp dword [esi + 0xa34], ebx
je 0x5a7726
cmp dword [esi + 0x18], ebx
jne 0x5a7726
cmp byte [esi + 0xa54], bl
jne 0x5a7726
mov eax, dword [esi + 4]
cmp eax, 4
je 0x5a7719
cmp eax, 5
je 0x5a7719
mov eax, 1
jmp 0x5a771b
xor eax, eax
push ebx
push 1
push eax
mov ecx, esi
call fcn.005a4680
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x5a773b
push ebx
push 0x1472
push 0x111
push eax
call ebp
mov eax, dword [esi + 0xa3c]
cmp eax, ebx
je 0x5a7789
mov ecx, dword [esi + 0xa40]
cmp ecx, 0xfffffffb
je 0x5a7770
push ecx
push 0x1472
push 0x111
push eax
call ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push esi
push ebx
push 0x1411
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret