Function at 0x58e9e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a27b
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 0x58ea1d
cmp dword [ebp + 8], ebx
jne 0x58ea74
mov eax, dword [0x6c826c]
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.00401f50
mov eax, dword [esi + 0x300]
mov byte [ebp - 4], 2
cmp eax, 4
jne 0x58ef8b
mov eax, dword [esi + 0x2f8]
cmp eax, ebx
jne 0x58ea87
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005df556
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 0x58f002
push str.Cnvsn..._n
lea ecx, [esi + 0x494]
call fcn.0053a5c0
push 5
mov ecx, esi
call fcn.0058f1f0
lea ecx, [ebp - 0x21c]
call fcn.00577490
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 0x58ead0
lea eax, [esi + 0x58]
mov ecx, str._s.tmp
test ecx, ecx
je 0x58eb8e
test eax, eax
je 0x58eb8e
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.00401ec0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
test eax, eax
jne 0x58eb15
lea eax, [ebp - 0x18]
mov edi, dword [ebp - 0x44]
push eax
call fcn.005c2f1a
lea ebx, [eax + edi + 2]
lea edi, [ebx + ebx]
push edi
call fcn.005db95d
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x38], edx
je 0x58eb76
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.00401f40
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401f40
push eax
mov eax, dword [ebp - 0x38]
push ebx
push eax
call fcn.005c2eaa
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c2f1a
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.005c5810
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 0x58ebc6
lea ecx, [esi + 0x58]
push ecx
push edx
push eax
lea ecx, [esi + 0x20]
call fcn.0059d9a0
cmp eax, edi
je 0x58ec04
push edi
mov ecx, esi
call fcn.0058f1f0
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.00577510
jmp 0x58ea5c
mov eax, dword [esi + 0x164]
test eax, 0x10000
je 0x58ee60
test eax, 0x20000
je 0x58ecc7
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.00401f50
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 7
cmp eax, edi
mov edx, eax
jne 0x58ec4c
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
jne 0x58ec56
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x58ec60
lea eax, [ebp - 0x28]
push edx
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00577780
cmp eax, edi
jne 0x58eca7
mov eax, dword [0x6cdb98]
mov ecx, dword [0x6cd43c]
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.0058f1f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
jmp 0x58ebe4
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x58ecb1
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.004871f0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
jmp 0x58ef03
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 0x58eda1
test ecx, ecx
je 0x58eda1
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.00401ec0
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xa
test eax, eax
jne 0x58ed25
lea eax, [ebp - 0x48]
mov edi, dword [ebp - 0x54]
push eax
call fcn.005c2f1a
lea ebx, [eax + edi + 2]
lea edi, [ebx + ebx]
push edi
call fcn.005db95d
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x58ed86
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.00401f40
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401f40
push eax
mov eax, dword [ebp - 0x1c]
push ebx
push eax
call fcn.005c2eaa
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005c2f1a
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 0x58eda8
lea eax, [ebp - 0x18]
mov edx, dword [esi + 0x2f8]
push eax
lea ecx, [ebp - 0x21c]
mov eax, dword [edx + 0x50]
push eax
call fcn.00577a30
test eax, eax
je 0x58edf4
mov eax, dword [ebp - 0x38]
test eax, eax
mov edx, eax
jne 0x58edce
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x58edd8
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x58ede2
lea eax, [ebp - 0x28]
push edx
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00577570
test eax, eax
jne 0x58ee2b
mov ecx, dword [0x6cdb98]
mov edx, dword [0x6cd43c]
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.0058f1f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
jmp 0x58ebe4
mov ecx, dword [esi + 0x2f8]
push 0
mov edx, dword [ecx + 0x50]
push edx
call fcn.004871f0
mov eax, dword [ebp - 0x1c]
add esp, 8
test eax, eax
jne 0x58ee49
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004871f0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
jmp 0x58ef03
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.00401f50
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0xb
cmp eax, edi
mov edx, eax
jne 0x58ee8c
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
jne 0x58ee96
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x58eea0
lea eax, [ebp - 0x28]
push edx
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.005779a0
cmp eax, edi
jne 0x58eee8
mov ecx, dword [0x6cdb98]
mov edx, dword [0x6cd43c]
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.0058f1f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
jmp 0x58ebe4
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x58eef2
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.004871f0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401070
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x58ef12
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.004871f0
mov ecx, dword [esi + 0x2f8]
add esp, 8
add ecx, 0x494
call fcn.0053a9e0
mov eax, dword [0x6cce30]
test eax, eax
jne 0x58ef3c
mov eax, 0x6cce34
push eax
call fcn.005c5f7a
mov ecx, dword [esi + 0x2f8]
add esp, 4
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x58ef5b
push eax
call fcn.005c5844
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x58ef65
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401f50
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.00577510
xor ebx, ebx
mov al, byte [esi + 0x32b]
test al, al
je 0x58efe6
mov eax, dword [esi + 0x32c]
cmp eax, ebx
jne 0x58efa5
lea eax, [esi + 0x330]
push eax
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x58efe6
mov byte [esi + 0x32b], 0
mov eax, dword [esi + 0x32c]
cmp eax, ebx
jne 0x58efc9
lea eax, [esi + 0x330]
lea edi, [esi + 0x20]
push eax
mov ecx, edi
call fcn.005a0440
mov eax, dword [esi + 0x468]
cmp eax, ebx
je 0x58efe6
push eax
mov ecx, edi
call fcn.0059e690
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.0058d6a0
cmp eax, ebx
jne 0x58f02f
push ebx
mov ecx, esi
call fcn.0058f1f0
jmp 0x58ea5c
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 0x58ea5c
mov edx, dword [esi + 0x468]
lea edi, [esi + 0x20]
push edx
mov ecx, edi
mov dword [esi + 0xcc], 1
call fcn.0059e6c0
mov eax, dword [esi + 0x54]
cmp eax, ebx
jne 0x58f054
lea eax, [esi + 0x58]
push eax
call fcn.0052bb30
mov edx, dword [0x6cce6c]
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 0x58f0a3
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x58f0a3
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x58f099
lea eax, [esi + 0x58]
push edi
push eax
call fcn.00588850
add esp, 8
mov eax, dword [esi + 0xa38]
test eax, eax
jne 0x58f120
mov al, byte [esi + 0xa28]
test al, al
jne 0x58f120
mov eax, dword [esi + 0x468]
test eax, eax
je 0x58f12b
mov edx, dword [0x6cce6c]
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 0x58f0ec
cmp dword [ebp - 0x40], 1
je 0x58f12b
lea ecx, [esi + 0x494]
call fcn.0053a9e0
mov eax, dword [0x6cce30]
test eax, eax
jne 0x58f105
mov eax, 0x6cce34
push eax
call fcn.005c5f7a
mov eax, dword [esi + 0x4c]
add esp, 4
test eax, eax
je 0x58f12b
push eax
call fcn.005c5844
add esp, 4
jmp 0x58f12b
lea ecx, [esi + 0x494]
call fcn.0053a9e0
push 3
mov ecx, esi
call fcn.0058f1f0
mov eax, dword [esi + 4]
test eax, eax
jne 0x58f159
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x58f145
lea eax, [esi + 0x58]
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x494]
push ecx
push edx
push eax
call fcn.005926a0
add esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
je 0x58ea5c
mov eax, dword [esi + 0xc4]
push str..m3u
push eax
call fcn.005c43d0
add esp, 8
test eax, eax
jne 0x58f18b
mov ecx, esi
call fcn.005960d0
test al, al
jne 0x58ea5c
mov al, byte [esi + 0xa45]
test al, al
je 0x58f1a1
mov ecx, esi
call fcn.0058e2d0
jmp 0x58ea5c
test dword [esi + 0x164], 0x10000
je 0x58ea5c
mov eax, dword [0x6ccfac]
push 1
push 0x14a0
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x58ea5c