Function at 0x5ba9e0
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 0x658ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x7496c8]
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 + 0x4e0], eax
push eax
push str.SoftwareDownloadManager_ld
lea ecx, [ebp + 0x214]
push ecx
call fcn.0061611b
add esp, 0xc
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0xf003f
push 0
push 0x66b96c
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 0x5baaae
mov dword [edi + 0x44], 1
jmp 0x5baab4
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 0x5baad8
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 0x5baafc
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x338], ecx
cmp dword [edi + 0x338], 0
jne 0x5bab17
mov eax, dword [edi + 0x340]
cmp eax, 0x40
je 0x5bab17
cmp eax, 0x800
jne 0x5bab66
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 0x5bab3e
cmp dword [ebp - 0x1c], eax
je 0x5bab3e
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 0x5bab66
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5bab66
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 0x5bab8e
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 0x67dca8
mov edx, dword [ebp - 0x18]
push edx
call ebx
lea esi, [edi + 0x93c]
test eax, eax
je 0x5babb7
mov dword [esi], 0
jmp 0x5babbc
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, 3
je 0x5babe3
test eax, eax
je 0x5babe3
mov dword [esi], 0
push 4
push esi
push 4
push 0
push 0x67dca8
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.005aaf10
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0x6a7424
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5bac18
mov eax, dword [edi + 0x44]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffffc5
add eax, 0x50
jmp 0x5bac1b
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x34], eax
mov dword [ebp - 0x14], 8
lea esi, [edi + 0x4e8]
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 0x5bac50
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x5bacfc
mov eax, dword [edi + 0x44]
cmp eax, 4
je 0x5bac75
cmp eax, 5
je 0x5bac75
cmp dword [edi + 0x340], 0
je 0x5bacfc
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 0x5baca1
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 0x5bacc8
fld qword [ebp - 0x30]
fstp qword [edi + 0x500]
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 0x5bad51
mov ecx, dword [ebp - 0x28]
mov dword [edi + 0x110], ecx
mov edx, dword [ebp - 0x24]
jmp 0x5bad4b
cmp byte [edi + 0x36c], 0
je 0x5bad51
mov eax, dword [edi + 0x340]
cmp eax, 0x40
je 0x5bad17
cmp eax, 0x80
jne 0x5bad51
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 0x5bad51
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 + 0x4f0]
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 0
push 0x68d064
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
je 0x5bad83
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], 4
lea esi, [edi + 0x508]
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 0x5badae
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 0x5badd9
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 0x5bae04
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xac8], 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 0x5bae38
mov eax, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
inc eax
push eax
call fcn.005e76b2
add esp, 4
mov esi, eax
test esi, esi
jne 0x5bae56
mov eax, 0x753b
wait
jmp 0x5bb5ca
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0
push esi
call fcn.00613900
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 0x5bae81
mov byte [esi], 0
lea ecx, [edi + 0x20]
push 0
push esi
call fcn.00426780
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bb16b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6a5cf8
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5baee2
push str.Cannot_read_data_from_registry__n
lea ecx, [edi + 0x514]
call fcn.005603a0
push 1
mov ecx, edi
call fcn.005ab740
push esi
call fcn.005e76a7
add esp, 4
mov eax, 0x7541
wait
jmp 0x5bb5ca
push esi
lea ecx, [edi + 0x20]
call fcn.0044f710
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bb16b
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 0x5baf17
mov byte [esi], 0
push esi
lea ecx, [edi + 0x20]
call fcn.0044f780
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bb16b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x67e62c
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5baf66
mov eax, dword [str.anonymous]
mov dword [esi], eax
mov ecx, dword [0x677240]
mov dword [esi + 4], ecx
mov dx, word [0x677244]
mov word [esi + 8], dx
jmp 0x5bafa6
push str.anonymous
push esi
call fcn.00614d5e
add esp, 8
test eax, eax
jne 0x5bafa6
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 0x5bafa6
cmp dword [ebp - 0x24], eax
je 0x5bafa6
mov byte [edi + 0x1c0], 1
push esi
lea ecx, [edi + 0x20]
call fcn.00507f60
mov dword [ebp - 0x24], eax
push esi
test eax, eax
jne 0x5bb16c
push str.EncPassword
push 0x68cf5c
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005ae1c0
add esp, 0x14
test eax, eax
jne 0x5bb005
cmp dword [edi + 0x44], eax
jne 0x5bb002
mov edx, dword [str.anonymous_r.com]
mov dword [esi], edx
mov eax, dword [0x6a73ec]
mov dword [esi + 4], eax
mov ecx, dword [0x6a73f0]
mov dword [esi + 8], ecx
mov edx, dword [0x6a73f4]
mov dword [esi + 0xc], edx
jmp 0x5bb005
mov byte [esi], 0
push esi
lea ecx, [edi + 0x20]
call fcn.00507fc0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bb16b
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 0x5bb04c
push eax
push esi
lea ecx, [edi + 0x20]
call fcn.005c5190
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bb16b
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 0x5bb074
push eax
push esi
lea ecx, [edi + 0x20]
call fcn.005c71a0
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 0x5bb0a6
push esi
lea ecx, [edi + 0x20]
call fcn.005aa760
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bb16b
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 0x5bb0d1
mov eax, dword [ebp - 0x38]
mov dword [edi + 0xab4], 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 0x5bb0ff
mov byte [esi + 0x2f], al
push esi
lea ecx, [edi + 0x64]
push ecx
call fcn.0061611b
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 0x5bb130
mov byte [esi + 0x2f], al
push esi
lea edx, [edi + 0x94]
push edx
call fcn.0061611b
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 0x5bb186
mov eax, dword [edi + 0x44]
cmp eax, 4
je 0x5bb17d
cmp eax, 5
je 0x5bb17d
push esi
lea ecx, [edi + 0x20]
call fcn.0044f690
mov dword [ebp - 0x24], eax
test eax, eax
je 0x5bb186
push esi
call fcn.005e76a7
add esp, 4
mov eax, dword [ebp - 0x24]
wait
jmp 0x5bb5ca
push esi
lea ecx, [edi + 0x20]
call fcn.005c1960
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6a7398
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bb1d2
push esi
lea ecx, [edi + 0x1a8]
call fcn.00545860
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 0x5bb1c0
sub eax, edx
jne 0x5bb1d2
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 0x5bb1fc
push esi
lea ecx, [edi + 0xf0]
call fcn.00545860
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6a738c
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bb226
push esi
lea ecx, [edi + 0x1ac]
call fcn.00545860
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 0x5bb258
push esi
lea ecx, [edi + 0x20]
call fcn.0044f610
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bb16b
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 0x5bb28b
push esi
push 0x66ae98
lea eax, [edi + 0x138]
push eax
call fcn.00402f80
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 0x67975c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5bb2c8
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [edi + 0x20]
call fcn.005c1dc0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bb16b
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [edi + 0x20]
call fcn.005c3970
test eax, eax
jne 0x5bb370
mov ecx, dword [edi + 0x338]
cmp ecx, 4
je 0x5bb303
cmp ecx, 8
je 0x5bb303
mov eax, dword [edi + 0x340]
cmp eax, 0x800
je 0x5bb303
cmp eax, 0x40
je 0x5bb303
cmp ecx, 0x40
jne 0x5bb30c
cmp byte [edi + 0x346], 0
jne 0x5bb370
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.005b5070
mov eax, dword [ebp]
test eax, eax
jne 0x5bb336
lea eax, [ebp + 4]
push eax
lea ecx, [edi + 0x20]
call fcn.005c1b70
mov dword [ebp - 0x24], eax
test eax, eax
je 0x5bb364
push esi
call fcn.005e76a7
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.004011f0
mov eax, dword [ebp - 0x24]
wait
jmp 0x5bb5ca
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.004011f0
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 0x5bb3ab
push esi
lea ecx, [edi + 0x20]
call fcn.005bf680
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bb16b
mov byte [edi + 0x34e], 1
jmp 0x5bb3e3
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x67c960
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bb3e3
push esi
lea ecx, [edi + 0x20]
call fcn.005bf680
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bb16b
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 0x5bb40e
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 0x5bb439
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 0x5bb464
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 0x5bb493
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 0x5bb4ee
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 0x5bb51b
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x4e4], edx
jmp 0x5bb55a
cmp dword [ebp - 0x34], 0
je 0x5bb55a
mov eax, dword [edi + 0x4e0]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00492bd0
test eax, eax
je 0x5bb53e
mov dword [edi + 0x4e4], 1
push 4
lea ecx, [edi + 0x4e4]
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 0x5bb58f
cmp dword [ebp - 0x1c], eax
setne al
mov byte [edi + 0xad5], al
mov byte [edi + 0xad6], 1
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.005e76a7
add esp, 4
xor eax, eax
wait
jmp 0x5bb5ca
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.00613241
add ebp, 0x298
mov esp, ebp
pop ebp
ret 8