Function at 0x58e6f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609f5b
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 0x58e72d
cmp dword [ebp + 8], ebx
jne 0x58e784
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 0x58ec9b
mov eax, dword [esi + 0x2f8]
cmp eax, ebx
jne 0x58e797
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005df266
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 0x58ed12
push str.Cnvsn..._n
lea ecx, [esi + 0x494]
call fcn.0053a3a0
push 5
mov ecx, esi
call fcn.0058ef00
lea ecx, [ebp - 0x21c]
call fcn.00577150
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 0x58e7e0
lea eax, [esi + 0x58]
mov ecx, str._s.tmp
test ecx, ecx
je 0x58e89e
test eax, eax
je 0x58e89e
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040d700
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 0x58e825
lea eax, [ebp - 0x18]
mov edi, dword [ebp - 0x44]
push eax
call fcn.005c2c42
lea ebx, [eax + edi + 2]
lea edi, [ebx + ebx]
push edi
call fcn.005db66d
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x38], edx
je 0x58e886
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.005c2bd2
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c2c42
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.005c5530
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 0x58e8d6
lea ecx, [esi + 0x58]
push ecx
push edx
push eax
lea ecx, [esi + 0x20]
call fcn.0059d6b0
cmp eax, edi
je 0x58e914
push edi
mov ecx, esi
call fcn.0058ef00
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.005771d0
jmp 0x58e76c
mov eax, dword [esi + 0x164]
test eax, 0x10000
je 0x58eb70
test eax, 0x20000
je 0x58e9d7
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 0x58e95c
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
jne 0x58e966
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x58e970
lea eax, [ebp - 0x28]
push edx
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00577440
cmp eax, edi
jne 0x58e9b7
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.0058ef00
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
jmp 0x58e8f4
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x58e9c1
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.004873d0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
jmp 0x58ec13
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 0x58eab1
test ecx, ecx
je 0x58eab1
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0040d700
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 0x58ea35
lea eax, [ebp - 0x48]
mov edi, dword [ebp - 0x54]
push eax
call fcn.005c2c42
lea ebx, [eax + edi + 2]
lea edi, [ebx + ebx]
push edi
call fcn.005db66d
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x58ea96
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.005c2bd2
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005c2c42
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 0x58eab8
lea eax, [ebp - 0x18]
mov edx, dword [esi + 0x2f8]
push eax
lea ecx, [ebp - 0x21c]
mov eax, dword [edx + 0x50]
push eax
call fcn.005776f0
test eax, eax
je 0x58eb04
mov eax, dword [ebp - 0x38]
test eax, eax
mov edx, eax
jne 0x58eade
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x58eae8
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x58eaf2
lea eax, [ebp - 0x28]
push edx
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00577230
test eax, eax
jne 0x58eb3b
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.0058ef00
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
jmp 0x58e8f4
mov ecx, dword [esi + 0x2f8]
push 0
mov edx, dword [ecx + 0x50]
push edx
call fcn.004873d0
mov eax, dword [ebp - 0x1c]
add esp, 8
test eax, eax
jne 0x58eb59
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004873d0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
jmp 0x58ec13
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 0x58eb9c
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
jne 0x58eba6
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x58ebb0
lea eax, [ebp - 0x28]
push edx
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00577660
cmp eax, edi
jne 0x58ebf8
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.0058ef00
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
jmp 0x58e8f4
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x58ec02
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.004873d0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401070
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x58ec22
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.004873d0
mov ecx, dword [esi + 0x2f8]
add esp, 8
add ecx, 0x494
call fcn.0053a7c0
mov eax, dword [0x6cce30]
test eax, eax
jne 0x58ec4c
mov eax, 0x6cce34
push eax
call fcn.005c5c9a
mov ecx, dword [esi + 0x2f8]
add esp, 4
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x58ec6b
push eax
call fcn.005c5564
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x58ec75
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.005771d0
xor ebx, ebx
mov al, byte [esi + 0x32b]
test al, al
je 0x58ecf6
mov eax, dword [esi + 0x32c]
cmp eax, ebx
jne 0x58ecb5
lea eax, [esi + 0x330]
push eax
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x58ecf6
mov byte [esi + 0x32b], 0
mov eax, dword [esi + 0x32c]
cmp eax, ebx
jne 0x58ecd9
lea eax, [esi + 0x330]
lea edi, [esi + 0x20]
push eax
mov ecx, edi
call fcn.005a0150
mov eax, dword [esi + 0x468]
cmp eax, ebx
je 0x58ecf6
push eax
mov ecx, edi
call fcn.0059e3a0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.0058d3b0
cmp eax, ebx
jne 0x58ed3f
push ebx
mov ecx, esi
call fcn.0058ef00
jmp 0x58e76c
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 0x58e76c
mov edx, dword [esi + 0x468]
lea edi, [esi + 0x20]
push edx
mov ecx, edi
mov dword [esi + 0xcc], 1
call fcn.0059e3d0
mov eax, dword [esi + 0x54]
cmp eax, ebx
jne 0x58ed64
lea eax, [esi + 0x58]
push eax
call fcn.0052b920
mov edx, dword [0x6cce68]
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 0x58edb3
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x58edb3
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x58eda9
lea eax, [esi + 0x58]
push edi
push eax
call fcn.00588570
add esp, 8
mov eax, dword [esi + 0xa38]
test eax, eax
jne 0x58ee30
mov al, byte [esi + 0xa28]
test al, al
jne 0x58ee30
mov eax, dword [esi + 0x468]
test eax, eax
je 0x58ee3b
mov edx, dword [0x6cce68]
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 0x58edfc
cmp dword [ebp - 0x40], 1
je 0x58ee3b
lea ecx, [esi + 0x494]
call fcn.0053a7c0
mov eax, dword [0x6cce30]
test eax, eax
jne 0x58ee15
mov eax, 0x6cce34
push eax
call fcn.005c5c9a
mov eax, dword [esi + 0x4c]
add esp, 4
test eax, eax
je 0x58ee3b
push eax
call fcn.005c5564
add esp, 4
jmp 0x58ee3b
lea ecx, [esi + 0x494]
call fcn.0053a7c0
push 3
mov ecx, esi
call fcn.0058ef00
mov eax, dword [esi + 4]
test eax, eax
jne 0x58ee69
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x58ee55
lea eax, [esi + 0x58]
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x494]
push ecx
push edx
push eax
call fcn.005923b0
add esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
je 0x58e76c
mov eax, dword [esi + 0xc4]
push str..m3u
push eax
call fcn.005c40f0
add esp, 8
test eax, eax
jne 0x58ee9b
mov ecx, esi
call fcn.00595de0
test al, al
jne 0x58e76c
mov al, byte [esi + 0xa45]
test al, al
je 0x58eeb1
mov ecx, esi
call fcn.0058dfe0
jmp 0x58e76c
test dword [esi + 0x164], 0x10000
je 0x58e76c
mov eax, dword [0x6ccfac]
push 1
push 0x14a0
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x58e76c