Function at 0x5c3e60
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 0x663238
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x755898]
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.006201db
add esp, 0xc
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0xf003f
push 0
push 0x676974
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 0x5c3f2e
mov dword [edi + 0x44], 1
jmp 0x5c3f34
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 0x5c3f58
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 0x5c3f7c
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x338], ecx
cmp dword [edi + 0x338], 0
jne 0x5c3f97
mov eax, dword [edi + 0x340]
cmp eax, 0x40
je 0x5c3f97
cmp eax, 0x800
jne 0x5c3fe6
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 0x5c3fbe
cmp dword [ebp - 0x1c], eax
je 0x5c3fbe
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 0x5c3fe6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5c3fe6
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 0x5c400e
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 0x688dd0
mov edx, dword [ebp - 0x18]
push edx
call ebx
lea esi, [edi + 0x944]
test eax, eax
je 0x5c4037
mov dword [esi], 0
jmp 0x5c403c
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, 3
je 0x5c4063
test eax, eax
je 0x5c4063
mov dword [esi], 0
push 4
push esi
push 4
push 0
push 0x688dd0
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.005b4090
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0x6b26dc
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5c4098
mov eax, dword [edi + 0x44]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffffc5
add eax, 0x50
jmp 0x5c409b
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 0x5c40d0
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x5c417c
mov eax, dword [edi + 0x44]
cmp eax, 4
je 0x5c40f5
cmp eax, 5
je 0x5c40f5
cmp dword [edi + 0x340], 0
je 0x5c417c
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 0x5c4121
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 0x5c4148
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 0x5c41d1
mov ecx, dword [ebp - 0x28]
mov dword [edi + 0x110], ecx
mov edx, dword [ebp - 0x24]
jmp 0x5c41cb
cmp byte [edi + 0x36c], 0
je 0x5c41d1
mov eax, dword [edi + 0x340]
cmp eax, 0x40
je 0x5c4197
cmp eax, 0x80
jne 0x5c41d1
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 0x5c41d1
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 0x6981a4
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
je 0x5c4203
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 0x5c422e
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 0x5c4259
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 0x5c4284
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 0x5c42b8
mov eax, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
inc eax
push eax
call fcn.005f15c2
add esp, 4
mov esi, eax
test esi, esi
jne 0x5c42d6
mov eax, 0x753b
wait
jmp 0x5c4a4a
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0
push esi
call fcn.0061d9e0
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 0x5c4301
mov byte [esi], 0
lea ecx, [edi + 0x20]
push 0
push esi
call fcn.00426c00
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c45eb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6b0f18
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5c4362
push str.Cannot_read_data_from_registry__n
lea ecx, [edi + 0x51c]
call fcn.00568c40
push 1
mov ecx, edi
call fcn.005b48c0
push esi
call fcn.005f15b7
add esp, 4
mov eax, 0x7541
wait
jmp 0x5c4a4a
push esi
lea ecx, [edi + 0x20]
call fcn.00452c50
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c45eb
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 0x5c4397
mov byte [esi], 0
push esi
lea ecx, [edi + 0x20]
call fcn.00452cc0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c45eb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x68976c
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5c43e6
mov eax, dword [str.anonymous]
mov dword [esi], eax
mov ecx, dword [0x682358]
mov dword [esi + 4], ecx
mov dx, word [0x68235c]
mov word [esi + 8], dx
jmp 0x5c4426
push str.anonymous
push esi
call fcn.0061ee1e
add esp, 8
test eax, eax
jne 0x5c4426
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 0x5c4426
cmp dword [ebp - 0x24], eax
je 0x5c4426
mov byte [edi + 0x1c0], 1
push esi
lea ecx, [edi + 0x20]
call fcn.0050f540
mov dword [ebp - 0x24], eax
push esi
test eax, eax
jne 0x5c45ec
push str.EncPassword
push 0x69809c
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005b7330
add esp, 0x14
test eax, eax
jne 0x5c4485
cmp dword [edi + 0x44], eax
jne 0x5c4482
mov edx, dword [str.anonymous_r.com]
mov dword [esi], edx
mov eax, dword [0x6b26a4]
mov dword [esi + 4], eax
mov ecx, dword [0x6b26a8]
mov dword [esi + 8], ecx
mov edx, dword [0x6b26ac]
mov dword [esi + 0xc], edx
jmp 0x5c4485
mov byte [esi], 0
push esi
lea ecx, [edi + 0x20]
call fcn.0050f5a0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c45eb
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 0x5c44cc
push eax
push esi
lea ecx, [edi + 0x20]
call fcn.005ce6a0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c45eb
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 0x5c44f4
push eax
push esi
lea ecx, [edi + 0x20]
call fcn.005d06b0
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 0x5c4526
push esi
lea ecx, [edi + 0x20]
call fcn.005b3950
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c45eb
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 0x5c4551
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 0x5c457f
mov byte [esi + 0x2f], al
push esi
lea ecx, [edi + 0x64]
push ecx
call fcn.006201db
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 0x5c45b0
mov byte [esi + 0x2f], al
push esi
lea edx, [edi + 0x94]
push edx
call fcn.006201db
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 0x5c4606
mov eax, dword [edi + 0x44]
cmp eax, 4
je 0x5c45fd
cmp eax, 5
je 0x5c45fd
push esi
lea ecx, [edi + 0x20]
call fcn.00452bd0
mov dword [ebp - 0x24], eax
test eax, eax
je 0x5c4606
push esi
call fcn.005f15b7
add esp, 4
mov eax, dword [ebp - 0x24]
wait
jmp 0x5c4a4a
push esi
lea ecx, [edi + 0x20]
call fcn.005cadf0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6b2650
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5c4652
push esi
lea ecx, [edi + 0x1a8]
call fcn.0054e080
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 0x5c4640
sub eax, edx
jne 0x5c4652
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 0x5c467c
push esi
lea ecx, [edi + 0xf0]
call fcn.0054e080
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6b2644
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5c46a6
push esi
lea ecx, [edi + 0x1ac]
call fcn.0054e080
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 0x5c46d8
push esi
lea ecx, [edi + 0x20]
call fcn.00452b50
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c45eb
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 0x5c470b
push esi
push 0x675ea0
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 0x68489c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5c4748
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [edi + 0x20]
call fcn.005cb250
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c45eb
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [edi + 0x20]
call fcn.005cce00
test eax, eax
jne 0x5c47f0
mov ecx, dword [edi + 0x338]
cmp ecx, 4
je 0x5c4783
cmp ecx, 8
je 0x5c4783
mov eax, dword [edi + 0x340]
cmp eax, 0x800
je 0x5c4783
cmp eax, 0x40
je 0x5c4783
cmp ecx, 0x40
jne 0x5c478c
cmp byte [edi + 0x346], 0
jne 0x5c47f0
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.005be3a0
mov eax, dword [ebp]
test eax, eax
jne 0x5c47b6
lea eax, [ebp + 4]
push eax
lea ecx, [edi + 0x20]
call fcn.005cb000
mov dword [ebp - 0x24], eax
test eax, eax
je 0x5c47e4
push esi
call fcn.005f15b7
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00401210
mov eax, dword [ebp - 0x24]
wait
jmp 0x5c4a4a
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 0x5c482b
push esi
lea ecx, [edi + 0x20]
call fcn.005c8b10
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c45eb
mov byte [edi + 0x34e], 1
jmp 0x5c4863
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x687a84
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5c4863
push esi
lea ecx, [edi + 0x20]
call fcn.005c8b10
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c45eb
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 0x5c488e
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 0x5c48b9
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 0x5c48e4
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 0x5c4913
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 0x5c496e
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 0x5c499b
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x4ec], edx
jmp 0x5c49da
cmp dword [ebp - 0x34], 0
je 0x5c49da
mov eax, dword [edi + 0x4e8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0049a540
test eax, eax
je 0x5c49be
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 0x5c4a0f
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.005f15b7
add esp, 4
xor eax, eax
wait
jmp 0x5c4a4a
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.0061d2ff
add ebp, 0x298
mov esp, ebp
pop ebp
ret 8