Function at 0x5c6c00
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 0x6661e8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x758898]
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 + 0x4f8], eax
push eax
push str.SoftwareDownloadManager_ld
lea ecx, [ebp + 0x214]
push ecx
call fcn.0062311b
add esp, 0xc
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0xf003f
push 0
push 0x67997c
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 0x5c6cce
mov dword [edi + 0x44], 1
jmp 0x5c6cd4
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 0x5c6cf8
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x354], 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 0x5c6d1c
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x34c], ecx
cmp dword [edi + 0x34c], 0
jne 0x5c6d37
mov eax, dword [edi + 0x354]
cmp eax, 0x40
je 0x5c6d37
cmp eax, 0x800
jne 0x5c6d86
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 0x5c6d5e
cmp dword [ebp - 0x1c], eax
je 0x5c6d5e
mov byte [edi + 0x35a], 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 0x5c6d86
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5c6d86
mov dword [edi + 0x344], 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 0x5c6dae
cmp dword [ebp - 0x1c], 1
sete dl
mov byte [edi + 0x380], dl
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0x68c200
mov edx, dword [ebp - 0x18]
push edx
call ebx
lea esi, [edi + 0x954]
test eax, eax
je 0x5c6dd7
mov dword [esi], 0
jmp 0x5c6ddc
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, 3
je 0x5c6e03
test eax, eax
je 0x5c6e03
mov dword [esi], 0
push 4
push esi
push 4
push 0
push 0x68c200
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.005b6e00
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0x6b5dac
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5c6e38
mov eax, dword [edi + 0x44]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffffc5
add eax, 0x50
jmp 0x5c6e3b
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x34], eax
mov dword [ebp - 0x14], 8
lea esi, [edi + 0x500]
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 0x5c6e70
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x5c6f1c
mov eax, dword [edi + 0x44]
cmp eax, 4
je 0x5c6e95
cmp eax, 5
je 0x5c6e95
cmp dword [edi + 0x354], 0
je 0x5c6f1c
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 0x5c6ec1
fld qword [ebp - 0x30]
fstp qword [edi + 0x3d8]
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 0x5c6ee8
fld qword [ebp - 0x30]
fstp qword [edi + 0x518]
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 0x5c6f71
mov ecx, dword [ebp - 0x28]
mov dword [edi + 0x110], ecx
mov edx, dword [ebp - 0x24]
jmp 0x5c6f6b
cmp byte [edi + 0x380], 0
je 0x5c6f71
mov eax, dword [edi + 0x354]
cmp eax, 0x40
je 0x5c6f37
cmp eax, 0x80
jne 0x5c6f71
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 0x5c6f71
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 + 0x508]
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 0
push 0x69b69c
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
je 0x5c6fa3
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], 4
lea esi, [edi + 0x520]
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 0x5c6fce
mov dword [esi], 0
mov dword [ebp - 0x14], 4
lea esi, [edi + 0x17c]
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 0x5c6ff9
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 0x5c7024
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xae0], 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 0x5c7058
mov eax, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
inc eax
push eax
call fcn.005f4522
add esp, 4
mov esi, eax
test esi, esi
jne 0x5c7076
mov eax, 0x753b
wait
jmp 0x5c77ea
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0
push esi
call fcn.00620920
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 0x5c70a1
mov byte [esi], 0
lea ecx, [edi + 0x20]
push 0
push esi
call fcn.00426360
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c738b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6b45d8
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5c7102
push str.Cannot_read_data_from_registry__n
lea ecx, [edi + 0x52c]
call fcn.0056a780
push 1
mov ecx, edi
call fcn.005b7650
push esi
call fcn.005f4517
add esp, 4
mov eax, 0x7541
wait
jmp 0x5c77ea
push esi
lea ecx, [edi + 0x20]
call fcn.004531d0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c738b
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 0x5c7137
mov byte [esi], 0
push esi
lea ecx, [edi + 0x20]
call fcn.00453240
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c738b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x68cb9c
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
je 0x5c7186
mov eax, dword [str.anonymous]
mov dword [esi], eax
mov ecx, dword [0x685658]
mov dword [esi + 4], ecx
mov dx, word [0x68565c]
mov word [esi + 8], dx
jmp 0x5c71c6
push str.anonymous
push esi
call fcn.00621d5e
add esp, 8
test eax, eax
jne 0x5c71c6
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 0x5c71c6
cmp dword [ebp - 0x24], eax
je 0x5c71c6
mov byte [edi + 0x1d0], 1
push esi
lea ecx, [edi + 0x20]
call fcn.00510660
mov dword [ebp - 0x24], eax
push esi
test eax, eax
jne 0x5c738c
push str.EncPassword
push 0x69b594
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005ba0e0
add esp, 0x14
test eax, eax
jne 0x5c7225
cmp dword [edi + 0x44], eax
jne 0x5c7222
mov edx, dword [str.anonymous_r.com]
mov dword [esi], edx
mov eax, dword [0x6b5d74]
mov dword [esi + 4], eax
mov ecx, dword [0x6b5d78]
mov dword [esi + 8], ecx
mov edx, dword [0x6b5d7c]
mov dword [esi + 0xc], edx
jmp 0x5c7225
mov byte [esi], 0
push esi
lea ecx, [edi + 0x20]
call fcn.005106c0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c738b
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 0x5c726c
push eax
push esi
lea ecx, [edi + 0x20]
call fcn.005d14f0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c738b
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 0x5c7294
push eax
push esi
lea ecx, [edi + 0x20]
call fcn.005d3550
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 0x5c72c6
push esi
lea ecx, [edi + 0x20]
call fcn.005b66c0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c738b
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 0x5c72f1
mov eax, dword [ebp - 0x38]
mov dword [edi + 0xacc], 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 0x5c731f
mov byte [esi + 0x2f], al
push esi
lea ecx, [edi + 0x64]
push ecx
call fcn.0062311b
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 0x5c7350
mov byte [esi + 0x2f], al
push esi
lea edx, [edi + 0x94]
push edx
call fcn.0062311b
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 0x5c73a6
mov eax, dword [edi + 0x44]
cmp eax, 4
je 0x5c739d
cmp eax, 5
je 0x5c739d
push esi
lea ecx, [edi + 0x20]
call fcn.00453150
mov dword [ebp - 0x24], eax
test eax, eax
je 0x5c73a6
push esi
call fcn.005f4517
add esp, 4
mov eax, dword [ebp - 0x24]
wait
jmp 0x5c77ea
push esi
lea ecx, [edi + 0x20]
call fcn.005cdc00
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6b5d20
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5c73f2
push esi
lea ecx, [edi + 0x1b8]
call fcn.0054f250
mov byte [edi + 0x1b4], 1
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c73e0
sub eax, edx
jne 0x5c73f2
mov byte [edi + 0x367], 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 0x5c741c
push esi
lea ecx, [edi + 0xf0]
call fcn.0054f250
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x6b5d14
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5c7446
push esi
lea ecx, [edi + 0x1bc]
call fcn.0054f250
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 0x5c7478
push esi
lea ecx, [edi + 0x20]
call fcn.004530d0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c738b
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 0x5c74ab
push esi
push 0x678ea8
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 0x687b9c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5c74e8
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [edi + 0x20]
call fcn.005ce060
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c738b
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [edi + 0x20]
call fcn.005cfc10
test eax, eax
jne 0x5c7590
mov ecx, dword [edi + 0x34c]
cmp ecx, 4
je 0x5c7523
cmp ecx, 8
je 0x5c7523
mov eax, dword [edi + 0x354]
cmp eax, 0x800
je 0x5c7523
cmp eax, 0x40
je 0x5c7523
cmp ecx, 0x40
jne 0x5c752c
cmp byte [edi + 0x35a], 0
jne 0x5c7590
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.005c1130
mov eax, dword [ebp]
test eax, eax
jne 0x5c7556
lea eax, [ebp + 4]
push eax
lea ecx, [edi + 0x20]
call fcn.005cde10
mov dword [ebp - 0x24], eax
test eax, eax
je 0x5c7584
push esi
call fcn.005f4517
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00401210
mov eax, dword [ebp - 0x24]
wait
jmp 0x5c77ea
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 0x5c75cb
push esi
lea ecx, [edi + 0x20]
call fcn.005cb8e0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c738b
mov byte [edi + 0x362], 1
jmp 0x5c7603
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push 0x68aeb4
mov edx, dword [ebp - 0x18]
push edx
call ebx
test eax, eax
jne 0x5c7603
push esi
lea ecx, [edi + 0x20]
call fcn.005cb8e0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5c738b
mov byte [edi + 0x362], 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 0x5c762e
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 0x5c7659
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 0x5c7684
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x330], 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 0x5c76b3
cmp dword [ebp - 0x1c], 1
sete al
mov byte [edi + 0x374], 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 + 0x334], 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 0x5c770e
cmp dword [ebp - 0x1c], eax
setne cl
mov byte [edi + 0x36b], 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 0x5c773b
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x4fc], edx
jmp 0x5c777a
cmp dword [ebp - 0x34], 0
je 0x5c777a
mov eax, dword [edi + 0x4f8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0049b130
test eax, eax
je 0x5c775e
mov dword [edi + 0x4fc], 1
push 4
lea ecx, [edi + 0x4fc]
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 0x5c77af
cmp dword [ebp - 0x1c], eax
setne al
mov byte [edi + 0xaed], al
mov byte [edi + 0xaee], 1
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.005f4517
add esp, 4
xor eax, eax
wait
jmp 0x5c77ea
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.0062023e
add ebp, 0x298
mov esp, ebp
pop ebp
ret 8