Function at 0x5bc420
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 0x65b1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x74d890]
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.006186ab
add esp, 0xc
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0xf003f
push 0
push 0x66e97c
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 0x5bc4ee
mov dword [edi + 0x44], 1
jmp 0x5bc4f4
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 0x5bc518
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 0x5bc53c
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x338], ecx
cmp dword [edi + 0x338], 0
jne 0x5bc557
mov eax, dword [edi + 0x340]
cmp eax, 0x40
je 0x5bc557
cmp eax, 0x800
jne 0x5bc5a6
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 0x5bc57e
cmp dword [ebp - 0x1c], eax
je 0x5bc57e
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 0x5bc5a6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5bc5a6
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 0x5bc5ce
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 0x680cd0
mov edx, dword [ebp - 0x18]
push edx
call ebx
lea esi, [edi + 0x944]
test eax, eax
je 0x5bc5f7
mov dword [esi], 0
jmp 0x5bc5fc
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, 3
je 0x5bc623
test eax, eax
je 0x5bc623
mov dword [esi], 0
push 4
push esi
push 4
push 0
push 0x680cd0
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.005ac6d0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0x6aa4ac
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5bc658
mov eax, dword [edi + 0x44]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffffc5
add eax, 0x50
jmp 0x5bc65b
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 0x5bc690
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x5bc73c
mov eax, dword [edi + 0x44]
cmp eax, 4
je 0x5bc6b5
cmp eax, 5
je 0x5bc6b5
cmp dword [edi + 0x340], 0
je 0x5bc73c
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 0x5bc6e1
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 0x5bc708
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 0x5bc791
mov ecx, dword [ebp - 0x28]
mov dword [edi + 0x110], ecx
mov edx, dword [ebp - 0x24]
jmp 0x5bc78b
cmp byte [edi + 0x36c], 0
je 0x5bc791
mov eax, dword [edi + 0x340]
cmp eax, 0x40
je 0x5bc757
cmp eax, 0x80
jne 0x5bc791
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 0x5bc791
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 0x69008c
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
je 0x5bc7c3
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 0x5bc7ee
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 0x5bc819
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 0x5bc844
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 0x5bc878
mov eax, pe_nt_image_headers32
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
inc eax
push eax
call fcn.005e9aa7
add esp, 4
mov esi, eax
test esi, esi
jne 0x5bc896
mov eax, 0x753b
wait
jmp 0x5bd00a
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0
push esi
call fcn.00615eb0
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 0x5bc8c1
mov byte [esi], 0
lea ecx, [edi + 0x20]
push 0
push esi
call fcn.00426490
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bcbab
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6a8d28
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5bc922
push str.Cannot_read_data_from_registry__n
lea ecx, [edi + 0x51c]
call fcn.00561720
push 1
mov ecx, edi
call fcn.005acf00
push esi
call fcn.005e9ab2
add esp, 4
mov eax, 0x7541
wait
jmp 0x5bd00a
push esi
lea ecx, [edi + 0x20]
call fcn.0044fdc0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bcbab
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 0x5bc957
mov byte [esi], 0
push esi
lea ecx, [edi + 0x20]
call fcn.0044fe30
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bcbab
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x681654
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5bc9a6
mov eax, dword [str.anonymous]
mov dword [esi], eax
mov ecx, dword [0x67a290]
mov dword [esi + 4], ecx
mov dx, word [0x67a294]
mov word [esi + 8], dx
jmp 0x5bc9e6
push str.anonymous
push esi
call fcn.006172ee
add esp, 8
test eax, eax
jne 0x5bc9e6
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 0x5bc9e6
cmp dword [ebp - 0x24], eax
je 0x5bc9e6
mov byte [edi + 0x1c0], 1
push esi
lea ecx, [edi + 0x20]
call fcn.00509160
mov dword [ebp - 0x24], eax
push esi
test eax, eax
jne 0x5bcbac
push str.EncPassword
push 0x68ff84
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005af970
add esp, 0x14
test eax, eax
jne 0x5bca45
cmp dword [edi + 0x44], eax
jne 0x5bca42
mov edx, dword [str.anonymous_r.com]
mov dword [esi], edx
mov eax, dword [0x6aa474]
mov dword [esi + 4], eax
mov ecx, dword [0x6aa478]
mov dword [esi + 8], ecx
mov edx, dword [0x6aa47c]
mov dword [esi + 0xc], edx
jmp 0x5bca45
mov byte [esi], 0
push esi
lea ecx, [edi + 0x20]
call fcn.005091c0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bcbab
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 0x5bca8c
push eax
push esi
lea ecx, [edi + 0x20]
call fcn.005c6c70
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bcbab
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 0x5bcab4
push eax
push esi
lea ecx, [edi + 0x20]
call fcn.005c8c80
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 0x5bcae6
push esi
lea ecx, [edi + 0x20]
call fcn.005abf90
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bcbab
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 0x5bcb11
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 0x5bcb3f
mov byte [esi + 0x2f], al
push esi
lea ecx, [edi + 0x64]
push ecx
call fcn.006186ab
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 0x5bcb70
mov byte [esi + 0x2f], al
push esi
lea edx, [edi + 0x94]
push edx
call fcn.006186ab
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 0x5bcbc6
mov eax, dword [edi + 0x44]
cmp eax, 4
je 0x5bcbbd
cmp eax, 5
je 0x5bcbbd
push esi
lea ecx, [edi + 0x20]
call fcn.0044fd40
mov dword [ebp - 0x24], eax
test eax, eax
je 0x5bcbc6
push esi
call fcn.005e9ab2
add esp, 4
mov eax, dword [ebp - 0x24]
wait
jmp 0x5bd00a
push esi
lea ecx, [edi + 0x20]
call fcn.005c33c0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6aa420
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bcc12
push esi
lea ecx, [edi + 0x1a8]
call fcn.00546c40
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 0x5bcc00
sub eax, edx
jne 0x5bcc12
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 0x5bcc3c
push esi
lea ecx, [edi + 0xf0]
call fcn.00546c40
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6aa414
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bcc66
push esi
lea ecx, [edi + 0x1ac]
call fcn.00546c40
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 0x5bcc98
push esi
lea ecx, [edi + 0x20]
call fcn.0044fcc0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bcbab
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 0x5bcccb
push esi
push 0x66dea8
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 0x67c79c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5bcd08
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [edi + 0x20]
call fcn.005c3820
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bcbab
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [edi + 0x20]
call fcn.005c53d0
test eax, eax
jne 0x5bcdb0
mov ecx, dword [edi + 0x338]
cmp ecx, 4
je 0x5bcd43
cmp ecx, 8
je 0x5bcd43
mov eax, dword [edi + 0x340]
cmp eax, 0x800
je 0x5bcd43
cmp eax, 0x40
je 0x5bcd43
cmp ecx, 0x40
jne 0x5bcd4c
cmp byte [edi + 0x346], 0
jne 0x5bcdb0
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.005b6960
mov eax, dword [ebp]
test eax, eax
jne 0x5bcd76
lea eax, [ebp + 4]
push eax
lea ecx, [edi + 0x20]
call fcn.005c35d0
mov dword [ebp - 0x24], eax
test eax, eax
je 0x5bcda4
push esi
call fcn.005e9ab2
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00401210
mov eax, dword [ebp - 0x24]
wait
jmp 0x5bd00a
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 0x5bcdeb
push esi
lea ecx, [edi + 0x20]
call fcn.005c10d0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bcbab
mov byte [edi + 0x34e], 1
jmp 0x5bce23
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x67f988
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5bce23
push esi
lea ecx, [edi + 0x20]
call fcn.005c10d0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5bcbab
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 0x5bce4e
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 0x5bce79
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 0x5bcea4
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 0x5bced3
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 0x5bcf2e
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 0x5bcf5b
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x4ec], edx
jmp 0x5bcf9a
cmp dword [ebp - 0x34], 0
je 0x5bcf9a
mov eax, dword [edi + 0x4e8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00493f10
test eax, eax
je 0x5bcf7e
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 0x5bcfcf
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.005e9ab2
add esp, 4
xor eax, eax
wait
jmp 0x5bd00a
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.006157d3
add ebp, 0x298
mov esp, ebp
pop ebp
ret 8