Function at 0x5becd0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x298]
sub esp, 0x298
push 0xffffffffffffffff
push 0x65dea8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x74f8a0]
xor eax, ebp
mov dword [ebp + 0x294], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 0x2a4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
wait
mov eax, dword [ebp + 0x2a0]
mov dword [edi + 0x4e8], eax
push eax
push str.SoftwareDownloadManager_ld
lea ecx, [ebp + 0x214]
push ecx
call fcn.0061af5b
add esp, 0xc
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0xf003f
push 0
push 0x670984
push 0
lea ecx, [ebp + 0x214]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x14], 4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.TPswitch
mov ecx, dword [ebp - 0x18]
push ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call ebx
test eax, eax
je 0x5bed9e
mov dword [edi + 0x44], 1
jmp 0x5beda4
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x44], edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push str.nAggrV
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bedc8
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x340], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push str.nAggr2
mov eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
jne 0x5bedec
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x338], ecx
cmp dword [edi + 0x338], 0
jne 0x5bee07
mov eax, dword [edi + 0x340]
cmp eax, 0x40
je 0x5bee07
cmp eax, 0x800
jne 0x5bee56
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.bPFAV
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
jne 0x5bee2e
cmp dword [ebp - 0x1c], eax
je 0x5bee2e
mov byte [edi + 0x346], 1
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.nAATDID
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
jne 0x5bee56
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5bee56
mov dword [edi + 0x334], eax
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.bSendRFSdx
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
jne 0x5bee7e
cmp dword [ebp - 0x1c], 1
sete dl
mov byte [edi + 0x36c], dl
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0x682d38
mov edx, dword [ebp - 0x18]
push edx
call ebx
lea esi, [edi + 0x944]
test eax, eax
je 0x5beea7
mov dword [esi], 0
jmp 0x5beeac
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, 3
je 0x5beed3
test eax, eax
je 0x5beed3
mov dword [esi], 0
push 4
push esi
push 4
push 0
push 0x682d38
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esi]
push edx
mov ecx, edi
call fcn.005aef40
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0x6ac574
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5bef08
mov eax, dword [edi + 0x44]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffffc5
add eax, 0x50
jmp 0x5bef0b
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x34], eax
mov dword [ebp - 0x14], 8
lea esi, [edi + 0x4f0]
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push str.FileSize
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5bef40
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x5befec
mov eax, dword [edi + 0x44]
cmp eax, 4
je 0x5bef65
cmp eax, 5
je 0x5bef65
cmp dword [edi + 0x340], 0
je 0x5befec
mov esi, 8
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push str.Duration
mov eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
jne 0x5bef91
fld qword [ebp - 0x30]
fstp qword [edi + 0x3c8]
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x30]
push edx
xor esi, esi
push esi
push esi
push str.dwnlDuration
mov eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
jne 0x5befb8
fld qword [ebp - 0x30]
fstp qword [edi + 0x508]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], 8
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x28]
push edx
push esi
push esi
push str.nExpectedSize
mov eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
jne 0x5bf041
mov ecx, dword [ebp - 0x28]
mov dword [edi + 0x110], ecx
mov edx, dword [ebp - 0x24]
jmp 0x5bf03b
cmp byte [edi + 0x36c], 0
je 0x5bf041
mov eax, dword [edi + 0x340]
cmp eax, 0x40
je 0x5bf007
cmp eax, 0x80
jne 0x5bf041
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 8
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x30]
push edx
push eax
push eax
push str.nExpectedSize
mov eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
jne 0x5bf041
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x110], ecx
mov edx, dword [ebp - 0x2c]
mov dword [edi + 0x114], edx
mov dword [ebp - 0x14], 8
lea esi, [edi + 0x4f8]
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 0
push 0x6920f4
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
je 0x5bf073
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], 4
lea esi, [edi + 0x510]
lea edx, [ebp - 0x14]
push edx
push esi
push 0
push 0
push str.Speed
mov eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
je 0x5bf09e
mov dword [esi], 0
mov dword [ebp - 0x14], 4
lea esi, [edi + 0x174]
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push str.cFlags
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5bf0c9
mov dword [esi], 0
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push str.gpID
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf0f4
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xad0], eax
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x20]
cmp eax, 0x100
jae 0x5bf128
mov eax, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
inc eax
push eax
call fcn.005ec342
add esp, 4
mov esi, eax
test esi, esi
jne 0x5bf146
mov eax, 0x753b
wait
jmp 0x5bf8ba
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0
push esi
call fcn.00618760
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push str.FileName
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5bf171
mov byte [esi], 0
lea ecx, [edi + 0x20]
push 0
push esi
call fcn.00426850
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bf45b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6aadb0
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5bf1d2
push str.Cannot_read_data_from_registry__n
lea ecx, [edi + 0x51c]
call fcn.00564020
push 1
mov ecx, edi
call fcn.005af770
push esi
call fcn.005ec337
add esp, 4
mov eax, 0x7541
wait
jmp 0x5bf8ba
push esi
lea ecx, [edi + 0x20]
call fcn.0044ff40
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bf45b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push str.Path
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5bf207
mov byte [esi], 0
push esi
lea ecx, [edi + 0x20]
call fcn.0044ffb0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bf45b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6836bc
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5bf256
mov eax, dword [str.anonymous]
mov dword [esi], eax
mov ecx, dword [0x67c290]
mov dword [esi + 4], ecx
mov dx, word [0x67c294]
mov word [esi + 8], dx
jmp 0x5bf296
push str.anonymous
push esi
call fcn.00619b9e
add esp, 8
test eax, eax
jne 0x5bf296
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push str.bUNRA
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf296
cmp dword [ebp - 0x24], eax
je 0x5bf296
mov byte [edi + 0x1c0], 1
push esi
lea ecx, [edi + 0x20]
call fcn.0050afa0
mov dword [ebp - 0x24], eax
push esi
test eax, eax
jne 0x5bf45c
push str.EncPassword
push 0x691fec
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005b21e0
add esp, 0x14
test eax, eax
jne 0x5bf2f5
cmp dword [edi + 0x44], eax
jne 0x5bf2f2
mov edx, dword [str.anonymous_r.com]
mov dword [esi], edx
mov eax, dword [0x6ac53c]
mov dword [esi + 4], eax
mov ecx, dword [0x6ac540]
mov dword [esi + 8], ecx
mov edx, dword [0x6ac544]
mov dword [esi + 0xc], edx
jmp 0x5bf2f5
mov byte [esi], 0
push esi
lea ecx, [edi + 0x20]
call fcn.0050b000
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bf45b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push str.LastModified
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf33c
push eax
push esi
lea ecx, [edi + 0x20]
call fcn.005c94f0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bf45b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push str.mdtm
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf364
push eax
push esi
lea ecx, [edi + 0x20]
call fcn.005cb500
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push str.lastResult
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf396
push esi
lea ecx, [edi + 0x20]
call fcn.005ae800
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bf45b
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push str.dwnlrs
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf3c1
mov eax, dword [ebp - 0x38]
mov dword [edi + 0xabc], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x14]
push edx
push esi
push 0
push 0
push str.lastTryDate
mov eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
jne 0x5bf3ef
mov byte [esi + 0x2f], al
push esi
lea ecx, [edi + 0x64]
push ecx
call fcn.0061af5b
add esp, 8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 0
push str.dateAdded
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
jne 0x5bf420
mov byte [esi + 0x2f], al
push esi
lea edx, [edi + 0x94]
push edx
call fcn.0061af5b
add esp, 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push str.Cookie
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf476
mov eax, dword [edi + 0x44]
cmp eax, 4
je 0x5bf46d
cmp eax, 5
je 0x5bf46d
push esi
lea ecx, [edi + 0x20]
call fcn.0044fec0
mov dword [ebp - 0x24], eax
test eax, eax
je 0x5bf476
push esi
call fcn.005ec337
add esp, 4
mov eax, dword [ebp - 0x24]
wait
jmp 0x5bf8ba
push esi
lea ecx, [edi + 0x20]
call fcn.005c5c30
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6ac4e8
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf4c2
push esi
lea ecx, [edi + 0x1a8]
call fcn.005494d0
mov byte [edi + 0x1a4], 1
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5bf4b0
sub eax, edx
jne 0x5bf4c2
mov byte [edi + 0x353], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push str.PDCType
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf4ec
push esi
lea ecx, [edi + 0xf0]
call fcn.005494d0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6ac4dc
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf516
push esi
lea ecx, [edi + 0x1ac]
call fcn.005494d0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push str.Referer
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf548
push esi
lea ecx, [edi + 0x20]
call fcn.0044fe40
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bf45b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push str.owWPage
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf57b
push esi
push 0x66fea8
lea eax, [edi + 0x138]
push eax
call fcn.00402f70
add esp, 0xc
mov dword [ebp - 0x14], 0x208
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0xc]
push edx
push 0
push 0
push 0x67e7ec
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5bf5b8
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [edi + 0x20]
call fcn.005c6090
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bf45b
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [edi + 0x20]
call fcn.005c7c40
test eax, eax
jne 0x5bf660
mov ecx, dword [edi + 0x338]
cmp ecx, 4
je 0x5bf5f3
cmp ecx, 8
je 0x5bf5f3
mov eax, dword [edi + 0x340]
cmp eax, 0x800
je 0x5bf5f3
cmp eax, 0x40
je 0x5bf5f3
cmp ecx, 0x40
jne 0x5bf5fc
cmp byte [edi + 0x346], 0
jne 0x5bf660
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 8], eax
xor ecx, ecx
mov word [ebp + 4], cx
mov byte [ebp - 4], 1
push 1
lea edx, [ebp]
push edx
push eax
mov ecx, edi
call fcn.005b9210
mov eax, dword [ebp]
test eax, eax
jne 0x5bf626
lea eax, [ebp + 4]
push eax
lea ecx, [edi + 0x20]
call fcn.005c5e40
mov dword [ebp - 0x24], eax
test eax, eax
je 0x5bf654
push esi
call fcn.005ec337
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00401210
mov eax, dword [ebp - 0x24]
wait
jmp 0x5bf8ba
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00401210
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push str.WDescription
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf69b
push esi
lea ecx, [edi + 0x20]
call fcn.005c3950
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bf45b
mov byte [edi + 0x34e], 1
jmp 0x5bf6d3
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6819f0
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf6d3
push esi
lea ecx, [edi + 0x20]
call fcn.005c3950
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bf45b
mov byte [edi + 0x34e], al
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push str.fGDFB
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf6fe
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xd4], eax
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push str.fGDFE
mov eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
jne 0x5bf729
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0xd8], ecx
mov dword [ebp - 0x14], 4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.needER
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
jne 0x5bf754
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x320], edx
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push str.noSyntRef
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf783
cmp dword [ebp - 0x1c], 1
sete al
mov byte [edi + 0x360], al
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push str.categoryID
mov eax, dword [ebp - 0x18]
push eax
call ebx
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x1c]
mov dword [edi + 0x324], eax
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push str.CISBU
mov eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
jne 0x5bf7de
cmp dword [ebp - 0x1c], eax
setne cl
mov byte [edi + 0x357], cl
mov dword [ebp - 0x14], 4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.queueID
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
jne 0x5bf80b
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x4ec], edx
jmp 0x5bf84a
cmp dword [ebp - 0x34], 0
je 0x5bf84a
mov eax, dword [edi + 0x4e8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00495c60
test eax, eax
je 0x5bf82e
mov dword [edi + 0x4ec], 1
push 4
lea ecx, [edi + 0x4ec]
push ecx
push 4
push 0
push str.queueID
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push str.kpsnSDCD
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bf87f
cmp dword [ebp - 0x1c], eax
setne al
mov byte [edi + 0xadd], al
mov byte [edi + 0xade], 1
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.005ec337
add esp, 4
xor eax, eax
wait
jmp 0x5bf8ba
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x294]
xor ecx, ebp
call fcn.0061807e
add ebp, 0x298
mov esp, ebp
pop ebp
ret 8