Function at 0x590620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60bf1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov al, byte [esi + 0xa28]
mov dword [ebp - 0x50], esi
test al, al
mov dword [ebp - 4], ebx
je 0x59065d
cmp dword [ebp + 8], ebx
jne 0x5906b4
mov eax, dword [0x6ca27c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x50]
lea ecx, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x28], bx
call fcn.00401f60
mov eax, dword [esi + 0x300]
mov byte [ebp - 4], 2
cmp eax, 4
jne 0x590bcb
mov eax, dword [esi + 0x2f8]
cmp eax, ebx
jne 0x5906c7
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005e118c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 0x8bc], 3
jne 0x590c42
push str.Cnvsn..._n
lea ecx, [esi + 0x494]
call fcn.0053c170
push 5
mov ecx, esi
call fcn.00590e30
lea ecx, [ebp - 0x21c]
call fcn.005790d0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x34], bx
mov eax, dword [esi + 0x54]
mov byte [ebp - 4], 4
cmp eax, ebx
jne 0x590710
lea eax, [esi + 0x58]
mov ecx, str._s.tmp
test ecx, ecx
je 0x5907ce
test eax, eax
je 0x5907ce
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040d680
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00401070
push str._s.tmp
lea ecx, [ebp - 0x4c]
call fcn.00401ed0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
test eax, eax
jne 0x590755
lea eax, [ebp - 0x18]
mov edi, dword [ebp - 0x44]
push eax
call fcn.005c4b4a
lea ebx, [eax + edi + 2]
lea edi, [ebx + ebx]
push edi
call fcn.005dd58d
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x38], edx
je 0x5907b6
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x1c]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401f50
push eax
mov eax, dword [ebp - 0x38]
push ebx
push eax
call fcn.005c4ada
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c4b4a
add esp, 0x14
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
mov edx, dword [esi + 0x2f8]
xor edi, edi
push edi
push 2
mov eax, dword [edx + 0x474]
push eax
mov ecx, dword [edx + 0x470]
push ecx
call fcn.005c7440
mov ebx, dword [esi + 0x470]
mov ecx, dword [esi + 0x474]
add eax, ebx
adc edx, ecx
mov ecx, dword [esi + 0x54]
cmp ecx, edi
jne 0x590806
lea ecx, [esi + 0x58]
push ecx
push edx
push eax
lea ecx, [esi + 0x20]
call fcn.0059f5e0
cmp eax, edi
je 0x590844
push edi
mov ecx, esi
call fcn.00590e30
mov byte [esi + 0xa4d], 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.00579150
jmp 0x59069c
mov eax, dword [esi + 0x164]
test eax, 0x10000
je 0x590aa0
test eax, 0x20000
je 0x590907
mov edx, dword [esi + 0x2f8]
lea ecx, [ebp - 0x1c]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x1c], edi
push eax
mov dword [ebp - 0x14], edi
mov word [ebp - 0x18], di
call fcn.00401f60
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 7
cmp eax, edi
mov edx, eax
jne 0x59088c
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
jne 0x590896
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x5908a0
lea eax, [ebp - 0x28]
push edx
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.005793c0
cmp eax, edi
jne 0x5908e7
mov eax, dword [0x6cfba8]
mov ecx, dword [0x6cf44c]
mov edx, dword [esi + 0x14]
push 0x50010
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
mov ecx, esi
call fcn.00590e30
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
jmp 0x590824
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x5908f1
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00488f50
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
jmp 0x590b43
xor eax, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], di
mov ecx, dword [esi + 0x2f8]
mov edx, str._s.tmpa
test edx, edx
mov ecx, dword [ecx + 0x50]
mov byte [ebp - 4], 8
je 0x5909e1
test ecx, ecx
je 0x5909e1
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0040d680
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.00401070
push str._s.tmpa
lea ecx, [ebp - 0x5c]
call fcn.00401ed0
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xa
test eax, eax
jne 0x590965
lea eax, [ebp - 0x48]
mov edi, dword [ebp - 0x54]
push eax
call fcn.005c4b4a
lea ebx, [eax + edi + 2]
lea edi, [ebx + ebx]
push edi
call fcn.005dd58d
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x5909c6
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x4c]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401f50
push eax
mov eax, dword [ebp - 0x1c]
push ebx
push eax
call fcn.005c4ada
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005c4b4a
add esp, 0x14
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call fcn.00401070
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.00401070
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x5909e8
lea eax, [ebp - 0x18]
mov edx, dword [esi + 0x2f8]
push eax
lea ecx, [ebp - 0x21c]
mov eax, dword [edx + 0x50]
push eax
call fcn.00579670
test eax, eax
je 0x590a34
mov eax, dword [ebp - 0x38]
test eax, eax
mov edx, eax
jne 0x590a0e
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x590a18
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x590a22
lea eax, [ebp - 0x28]
push edx
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.005791b0
test eax, eax
jne 0x590a6b
mov ecx, dword [0x6cfba8]
mov edx, dword [0x6cf44c]
mov eax, dword [esi + 0x14]
push 0x50010
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
mov ecx, esi
call fcn.00590e30
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
jmp 0x590824
mov ecx, dword [esi + 0x2f8]
push 0
mov edx, dword [ecx + 0x50]
push edx
call fcn.00488f50
mov eax, dword [ebp - 0x1c]
add esp, 8
test eax, eax
jne 0x590a89
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.00488f50
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
jmp 0x590b43
mov eax, dword [esi + 0x2f8]
lea ecx, [ebp - 0x1c]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], edi
push eax
mov dword [ebp - 0x14], edi
mov word [ebp - 0x18], di
call fcn.00401f60
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0xb
cmp eax, edi
mov edx, eax
jne 0x590acc
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
jne 0x590ad6
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x590ae0
lea eax, [ebp - 0x28]
push edx
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.005795e0
cmp eax, edi
jne 0x590b28
mov ecx, dword [0x6cfba8]
mov edx, dword [0x6cf44c]
mov eax, dword [esi + 0x14]
push 0x50010
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
mov ecx, esi
call fcn.00590e30
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
jmp 0x590824
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x590b32
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00488f50
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401070
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x590b52
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00488f50
mov ecx, dword [esi + 0x2f8]
add esp, 8
add ecx, 0x494
call fcn.0053c590
mov eax, dword [0x6cee40]
test eax, eax
jne 0x590b7c
mov eax, 0x6cee44
push eax
call fcn.005c7baa
mov ecx, dword [esi + 0x2f8]
add esp, 4
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x590b9b
push eax
call fcn.005c7474
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x590ba5
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401f60
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.00579150
xor ebx, ebx
mov al, byte [esi + 0x32b]
test al, al
je 0x590c26
mov eax, dword [esi + 0x32c]
cmp eax, ebx
jne 0x590be5
lea eax, [esi + 0x330]
push eax
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x590c26
mov byte [esi + 0x32b], 0
mov eax, dword [esi + 0x32c]
cmp eax, ebx
jne 0x590c09
lea eax, [esi + 0x330]
lea edi, [esi + 0x20]
push eax
mov ecx, edi
call fcn.005a2080
mov eax, dword [esi + 0x468]
cmp eax, ebx
je 0x590c26
push eax
mov ecx, edi
call fcn.005a02d0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.0058f2e0
cmp eax, ebx
jne 0x590c6f
push ebx
mov ecx, esi
call fcn.00590e30
jmp 0x59069c
mov byte [esi + 0x30d], 1
mov dword [eax + 0x304], esi
mov edx, dword [esi + 0x2f8]
mov eax, dword [esi + 0x14]
push edx
push 0x1496
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x59069c
mov edx, dword [esi + 0x468]
lea edi, [esi + 0x20]
push edx
mov ecx, edi
mov dword [esi + 0xcc], 1
call fcn.005a0300
mov eax, dword [esi + 0x54]
cmp eax, ebx
jne 0x590c94
lea eax, [esi + 0x58]
push eax
call fcn.0052d700
mov edx, dword [0x6cee7c]
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x3c]
push eax
push ecx
push 0
push 0
push str.bSetServerTimeToFile
push edx
mov dword [ebp - 0x40], 4
call ebx
test eax, eax
jne 0x590ce3
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x590ce3
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x590cd9
lea eax, [esi + 0x58]
push edi
push eax
call fcn.0058a490
add esp, 8
mov eax, dword [esi + 0xa38]
test eax, eax
jne 0x590d60
mov al, byte [esi + 0xa28]
test al, al
jne 0x590d60
mov eax, dword [esi + 0x468]
test eax, eax
je 0x590d6b
mov edx, dword [0x6cee7c]
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x40]
push eax
push ecx
push 0
push 0
push str.bSaveLogs
push edx
mov dword [ebp - 0x3c], 4
call ebx
test eax, eax
jne 0x590d2c
cmp dword [ebp - 0x40], 1
je 0x590d6b
lea ecx, [esi + 0x494]
call fcn.0053c590
mov eax, dword [0x6cee40]
test eax, eax
jne 0x590d45
mov eax, 0x6cee44
push eax
call fcn.005c7baa
mov eax, dword [esi + 0x4c]
add esp, 4
test eax, eax
je 0x590d6b
push eax
call fcn.005c7474
add esp, 4
jmp 0x590d6b
lea ecx, [esi + 0x494]
call fcn.0053c590
push 3
mov ecx, esi
call fcn.00590e30
mov eax, dword [esi + 4]
test eax, eax
jne 0x590d99
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x590d85
lea eax, [esi + 0x58]
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x494]
push ecx
push edx
push eax
call fcn.005942e0
add esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
je 0x59069c
mov eax, dword [esi + 0xc4]
push str..m3u
push eax
call fcn.005c6000
add esp, 8
test eax, eax
jne 0x590dcb
mov ecx, esi
call fcn.00597d10
test al, al
jne 0x59069c
mov al, byte [esi + 0xa45]
test al, al
je 0x590de1
mov ecx, esi
call fcn.0058ff10
jmp 0x59069c
test dword [esi + 0x164], 0x10000
je 0x59069c
mov eax, dword [0x6cefbc]
push 1
push 0x14a0
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x59069c