Function at 0x591e70
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60e5e8
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 + 0xa34], ebx
je 0x591edd
mov eax, dword [esi + 0x468]
mov dword [esi + 0xa24], 0x7540
mov ecx, dword [0x6d216c]
push 1
push eax
push ecx
push 0x7540
lea ecx, [esi + 0x20]
call fcn.005a02c0
push str.Cancel_by_user._n
lea ecx, [esi + 0x494]
call fcn.0053def0
push 2
mov ecx, esi
call fcn.005931e0
cmp dword [esi + 0xa34], ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x592208
cmp dword [esi + 0xa24], ebx
jne 0x592208
cmp byte [esi + 0xa28], bl
je 0x591f10
mov edx, dword [esi + 0x478]
mov eax, dword [esi + 0x47c]
or edx, eax
jne 0x591f10
push ebx
jmp 0x591f12
push 3
mov ecx, esi
call fcn.005931e0
cmp dword [esi + 0x300], 4
jne 0x591f40
mov ecx, dword [esi + 0x304]
cmp ecx, ebx
je 0x591f40
cmp byte [ecx + 0x30d], bl
je 0x591f40
push 1
call fcn.005929d0
jmp 0x592182
cmp dword [esi + 0x5c], ebx
je 0x591f5b
cmp dword [esi + 0xcc], ebx
jne 0x591f5b
push 1
mov ecx, esi
call fcn.005929d0
jmp 0x592182
cmp byte [esi + 0x32b], bl
je 0x59202e
mov eax, dword [esi + 0x32c]
cmp eax, ebx
jne 0x591f77
lea eax, [esi + 0x330]
push eax
call fcn.005c7292
add esp, 4
test eax, eax
je 0x59202e
mov eax, dword [esi + 0x54]
cmp eax, ebx
jne 0x591f92
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.00402060
mov byte [esi + 0x32b], bl
mov eax, dword [esi + 0x32c]
cmp eax, ebx
mov dword [esp + 0x28], ebx
jne 0x591fc3
lea eax, [esi + 0x330]
push edi
lea edi, [esi + 0x20]
push eax
mov ecx, edi
call fcn.005a47b0
mov eax, dword [esi + 0x468]
cmp eax, ebx
je 0x591fe1
push eax
mov ecx, edi
call fcn.005a2a00
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00591690
test eax, eax
pop edi
jne 0x59201d
push ebx
mov ecx, esi
call fcn.005931e0
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 0x59207c
mov eax, dword [0x6d116c]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push ebx
push ebx
push str.bSetServerTimeToFile
push eax
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x59207c
cmp dword [esp + 0x10], ebx
je 0x59207c
mov eax, dword [esi + 0x54]
cmp eax, ebx
jne 0x59206f
lea eax, [esi + 0x58]
lea ecx, [esi + 0x20]
push ecx
push eax
call fcn.0058c840
add esp, 8
push 3
mov ecx, esi
call fcn.005931e0
cmp dword [esi + 0xa38], ebx
jne 0x592095
cmp byte [esi + 0xa28], bl
je 0x5920a0
lea ecx, [esi + 0x494]
call fcn.0053e310
cmp dword [esi + 0xcc], ebx
je 0x5920cb
cmp dword [esi + 4], ebx
jne 0x5920cb
mov eax, dword [esi + 0x54]
cmp eax, ebx
jne 0x5920b7
lea eax, [esi + 0x58]
mov ecx, dword [esi + 0x10]
lea edx, [esi + 0x494]
push edx
push ecx
push eax
call fcn.00596a10
add esp, 0xc
mov eax, dword [esi + 0xc4]
push str..m3u
push eax
call fcn.005c8740
add esp, 8
test eax, eax
jne 0x5920fe
cmp dword [esi + 0xcc], ebx
je 0x592182
mov ecx, esi
call fcn.0059a440
test al, al
jne 0x5922a9
cmp dword [esi + 0xcc], ebx
je 0x592182
cmp byte [esi + 0xa45], bl
je 0x59218a
mov edx, dword [esi + 0x468]
lea ecx, [esi + 0x20]
push edx
call fcn.005a2a30
mov eax, dword [esi + 0x490]
cmp eax, ebx
je 0x59217b
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x59217b
mov ecx, dword [esi + 0x490]
call fcn.00483230
mov edx, dword [esi + 0x490]
mov ecx, dword [0x6d3d24]
push 0x43
push ebx
mov eax, dword [edx + 0xc]
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x490]
push 1
call fcn.004824e0
mov ecx, dword [esi + 0x490]
push ebx
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.005922c0
cmp byte [esi + 0xa45], bl
jne 0x592208
cmp dword [esi + 4], ebx
jne 0x592208
cmp dword [esi + 8], ebx
jne 0x592208
cmp byte [esi + 0xa47], bl
jne 0x5921ac
cmp byte [esi + 0xa49], bl
jne 0x5921ac
cmp byte [esi + 0xa48], bl
je 0x592208
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x5921c1
push ebx
push 0x1472
push 0x111
push eax
call ebp
mov cl, byte [esi + 0xa47]
xor eax, eax
cmp cl, bl
mov dword [esi + 0x10], ebx
je 0x5921d5
mov eax, 1
cmp byte [esi + 0xa48], bl
je 0x5921df
or al, 2
cmp byte [esi + 0xa49], bl
je 0x5921e9
or al, 4
cmp byte [esi + 0xa4a], bl
je 0x5921f3
or al, 8
push eax
mov eax, dword [esi + 0x14]
push 0x1481
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esi + 0xa34], ebx
jne 0x59225b
cmp dword [esi + 0xa24], ebx
je 0x592246
cmp dword [esi + 0x18], ebx
jne 0x592246
cmp byte [esi + 0xa44], bl
jne 0x592246
mov eax, dword [esi + 4]
cmp eax, 4
je 0x592239
cmp eax, 5
je 0x592239
mov eax, 1
jmp 0x59223b
xor eax, eax
push ebx
push 1
push eax
mov ecx, esi
call fcn.0058f3a0
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x59225b
push ebx
push 0x1472
push 0x111
push eax
call ebp
mov eax, dword [esi + 0xa2c]
cmp eax, ebx
je 0x5922a9
mov ecx, dword [esi + 0xa30]
cmp ecx, 0xfffffffb
je 0x592290
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