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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6535f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2bc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push eax
push str.SoftwareDownloadManager_ld
mov dword [esi + 0x4a0], eax
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
call fcn.0060a593
add esp, 0xc
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xc0]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x6fc418
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push str.TPswitch
push eax
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x5d0ee9
mov dword [esi + 0x44], 1
jmp 0x5d0eef
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.nAggrV
push ecx
call ebx
test eax, eax
jne 0x5d0f13
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x31c], edx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.nAggr2
push edx
call ebx
test eax, eax
jne 0x5d0f37
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x314], eax
mov eax, dword [esi + 0x314]
test eax, eax
jne 0x5d0f4a
cmp dword [esi + 0x31c], 0x40
jne 0x5d0f9b
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push str.bPFAV
push eax
call ebx
test eax, eax
jne 0x5d0f73
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5d0f73
mov byte [esi + 0x322], 1
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push str.nAATDID
push eax
call ebx
test eax, eax
jne 0x5d0f9b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5d0f9b
mov dword [esi + 0x310], eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push 0x6d24e4
push eax
call ebx
test eax, eax
lea edi, [esi + 0x8fc]
je 0x5d0fc4
mov dword [edi], 0
jmp 0x5d0fc9
mov ecx, dword [ebp - 0x1c]
mov dword [edi], ecx
mov eax, dword [edi]
cmp eax, 3
je 0x5d0ff0
test eax, eax
je 0x5d0ff0
mov edx, dword [ebp - 0x18]
push 4
push edi
push 4
push 0
push 0x6d24e4
push edx
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [edi]
mov ecx, esi
push eax
call fcn.005cf540
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push 0x6ef8b4
push eax
call ebx
test eax, eax
je 0x5d1027
mov eax, dword [esi + 0x44]
dec eax
neg eax
sbb eax, eax
and al, 0xc5
add eax, 0x50
mov dword [esi + 0x34], eax
jmp 0x5d102d
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x34], ecx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea edi, [esi + 0x4a8]
push edx
push edi
push 0
push 0
push str.FileSize
push eax
mov dword [ebp - 0x14], 8
call ebx
test eax, eax
je 0x5d105f
mov dword [edi], 0
mov dword [edi + 4], 0
mov ecx, dword [edi]
mov eax, dword [edi + 4]
or ecx, eax
jne 0x5d1124
mov eax, dword [esi + 0x44]
cmp eax, 4
je 0x5d1087
cmp eax, 5
je 0x5d1087
mov eax, dword [esi + 0x31c]
test eax, eax
je 0x5d1124
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x38]
push edx
push eax
push 0
push 0
mov edi, 8
push str.Duration
push ecx
mov dword [ebp - 0x14], edi
call ebx
test eax, eax
jne 0x5d10bc
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x398], edx
mov dword [esi + 0x39c], eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x38]
push ecx
push edx
push 0
push 0
push str.dwnlDuration
push eax
mov dword [ebp - 0x14], edi
call ebx
test eax, eax
jne 0x5d10ec
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [esi + 0x4c0], ecx
mov dword [esi + 0x4c4], edx
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x2c]
xor eax, eax
push ecx
push edx
push eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
push eax
mov eax, dword [ebp - 0x18]
push str.nExpectedSize
push eax
mov dword [ebp - 0x14], edi
call ebx
test eax, eax
jne 0x5d1129
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x110], ecx
mov dword [esi + 0x114], edx
jmp 0x5d1129
mov edi, 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
lea edi, [esi + 0x4b0]
push eax
push edi
push 0
push 0
push 0x6e03bc
push ecx
call ebx
test eax, eax
je 0x5d1157
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea edi, [esi + 0x4c8]
push edx
push edi
push 0
push 0
push str.Speed
push eax
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x5d1182
mov dword [edi], 0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edi, [esi + 0x16c]
push ecx
push edi
push 0
push 0
push str.cFlags
push edx
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x5d11ad
mov dword [edi], 0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.gpID
push edx
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
jne 0x5d11d8
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xa88], eax
push 0
lea ecx, [ebp - 0x20]
push 0
mov edx, dword [ebp - 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x20]
cmp eax, 0x100
jae 0x5d120c
mov eax, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
inc eax
push eax
call fcn.00622acb
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x5d1237
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov edi, ebx
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0
push str.FileName
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5d1290
mov edi, 0x6fc418
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 0x28]
add esi, 0x20
test eax, eax
je 0x5d12a3
push eax
call fcn.00622af4
add esp, 4
mov al, byte [0x6fc418]
mov edi, ebx
mov byte [ebp + 0xb], al
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00622acb
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 8], edx
jne 0x5d12f5
push str.URL::set_fileName__:_Not_enough_memory__n
mov ecx, esi
call fcn.005df030
push ebx
call fcn.00622af4
add esp, 4
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
push 0
push 0
push str.Host
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5d1373
mov esi, dword [ebp - 0x24]
push str.Cannot_read_data_from_registry__n
lea ecx, [esi + 0x4d4]
call fcn.0056fe30
push 1
mov ecx, esi
call fcn.005d2380
push ebx
call fcn.00622af4
add esp, 4
mov eax, 0x7541
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x20]
lea esi, [ecx + 0x20]
test eax, eax
je 0x5d1389
push eax
call fcn.00622af4
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00622acb
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi], edx
jne 0x5d13af
push str.URL::set_serverName__:_Not_enough_memory__n
jmp 0x5d12cd
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
lea eax, [ecx + 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x190], 0
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0
push str.Path
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5d1422
mov edi, 0x6fc418
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
lea esi, [eax + 0x20]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x5d1438
push eax
call fcn.00622af4
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5d144b
mov dword [esi + 4], eax
jmp 0x5d1491
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00622acb
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 4], edx
jne 0x5d1472
push str.URL::set_serverPath__:_Not_enough_memory__n
jmp 0x5d12cd
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x14]
push edx
push ebx
push 0
push 0
push 0x6d278c
push eax
mov dword [ebp - 0x14], ecx
call esi
test eax, eax
je 0x5d14d9
mov edi, str.anonymous
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x5d151e
push str.anonymous
push ebx
call fcn.0060a000
add esp, 8
test eax, eax
jne 0x5d151e
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp + 8]
push eax
push ecx
push 0
push 0
push str.bUNRA
push edx
mov dword [ebp - 0x14], 4
call esi
test eax, eax
jne 0x5d151e
mov eax, dword [ebp + 8]
test eax, eax
je 0x5d151e
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x1ac], 1
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x2c]
lea esi, [ecx + 0x20]
test eax, eax
je 0x5d1534
push eax
call fcn.00622af4
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00622acb
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0xc], edx
jne 0x5d155b
push str.URL::set_userName:_Not_enough_memory__n
jmp 0x5d12cd
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.EncPassword
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x6e02b8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.005d0b30
add esp, 0x14
test eax, eax
jne 0x5d15e4
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x5d15c2
mov edi, str.anonymous_r.com
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x5d15df
mov edi, 0x6fc418
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + 0x20]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x5d15fa
push eax
call fcn.00622af4
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00622acb
mov edx, eax
mov eax, dword [ebp - 0x24]
add esp, 4
lea ecx, [eax + 0x20]
test edx, edx
mov dword [ecx + 0x10], edx
jne 0x5d1627
push str.URL::set_password:_Not_enough_memory__n
jmp 0x5d12cf
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0
push 0
push str.LastModified
push eax
mov dword [ebp - 0x14], ecx
call edi
test eax, eax
jne 0x5d169d
mov esi, dword [ebp - 0x24]
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.005e3400
test eax, eax
mov dword [ebp + 8], eax
je 0x5d16a0
push ebx
call fcn.00622af4
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push str.mdtm
push eax
call edi
test eax, eax
jne 0x5d16c8
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.005e6a50
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push str.lastResult
push eax
call edi
test eax, eax
jne 0x5d1758
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0xa8]
cmp ebx, eax
je 0x5d1758
test eax, eax
je 0x5d1703
push eax
call fcn.00622af4
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00622acb
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0xa8], edx
jne 0x5d1730
push str.URL::set_lastResult__:_Not_enough_memory__n
jmp 0x5d12cf
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x3c]
push ecx
push edx
push 0
push 0
push str.dwnlrs
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5d1783
mov ecx, dword [ebp - 0x3c]
mov dword [esi + 0xa74], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edx
push eax
push ebx
push 0
push 0
push str.lastTryDate
push ecx
call edi
test eax, eax
jne 0x5d17b1
lea edx, [esi + 0x64]
push ebx
push edx
mov byte [ebx + 0x2f], al
call fcn.0060a593
add esp, 8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
push ecx
push ebx
push 0
push 0
push str.dateAdded
push edx
call edi
test eax, eax
jne 0x5d17e2
mov byte [ebx + 0x2f], al
lea eax, [esi + 0x94]
push ebx
push eax
call fcn.0060a593
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push str.Cookie
push eax
call edi
test eax, eax
jne 0x5d18a8
mov eax, dword [esi + 0x44]
cmp eax, 4
je 0x5d189f
cmp eax, 5
je 0x5d189f
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x5d182f
push eax
call fcn.00622af4
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5d184b
mov ecx, dword [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ecx + 0x1c], eax
jmp 0x5d18a8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00622acb
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x5d1875
push str.URL::set_Cookie__:_Not_enough_memory__n
jmp 0x5d12cf
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x5d18a8
push ebx
lea ecx, [esi + 0x20]
call fcn.005e0b90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x6ef7fc
push eax
call edi
test eax, eax
jne 0x5d18ee
push ebx
lea ecx, [esi + 0x194]
call fcn.00622f13
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov byte [esi + 0x190], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5d18ee
mov byte [esi + 0x32f], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x14]
push edx
push ebx
push 0
push 0
push str.PDCType
push eax
mov dword [ebp - 0x14], ecx
call edi
test eax, eax
jne 0x5d191e
push ebx
lea ecx, [esi + 0xf0]
call fcn.00622f13
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x6ef7f0
push eax
call edi
test eax, eax
jne 0x5d1948
push ebx
lea ecx, [esi + 0x198]
call fcn.00622f13
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push str.Referer
push eax
call edi
test eax, eax
jne 0x5d1996
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0x18]
test eax, eax
je 0x5d197c
push eax
call fcn.00622af4
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5d19f8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x2c8]
push ecx
push edx
push 0
push 0
push 0x6d10ac
push eax
mov dword [ebp - 0x14], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5d1a49
lea ecx, [ebp - 0x2c8]
push ecx
lea ecx, [esi + 0x20]
call fcn.005e43c0
test eax, eax
mov dword [ebp + 8], eax
je 0x5d1a49
push ebx
call fcn.00622af4
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00622acb
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0x18], edx
jne 0x5d1a22
push str.URL::set_Referer__:_Not_enough_memory__n
jmp 0x5d12cf
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
jmp 0x5d1990
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x20]
push edx
call fcn.005e1cf0
test eax, eax
jne 0x5d1af4
mov eax, dword [esi + 0x314]
cmp eax, 4
je 0x5d1a7b
cmp eax, 8
je 0x5d1a7b
cmp dword [esi + 0x31c], 0x40
je 0x5d1a7b
cmp eax, 0x40
jne 0x5d1a85
mov al, byte [esi + 0x322]
test al, al
jne 0x5d1af4
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x30]
push 1
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.005d4540
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x5d1aad
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x20]
call fcn.005e3ff0
test eax, eax
mov dword [ebp + 8], eax
je 0x5d1ae8
push ebx
call fcn.00622af4
add esp, 4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401070
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edx
push eax
push ebx
push 0
push 0
push str.WDescription
push ecx
call edi
test eax, eax
jne 0x5d1b48
push ebx
lea ecx, [esi + 0x20]
call fcn.005e4480
mov edi, eax
test edi, edi
je 0x5d1b3f
push ebx
call fcn.00622af4
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [esi + 0x32a], 1
jmp 0x5d1b9a
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edx
push eax
push ebx
push 0
push 0
push 0x6d1db0
push ecx
call edi
test eax, eax
jne 0x5d1ba0
push ebx
lea ecx, [esi + 0x20]
call fcn.005e4480
mov edi, eax
test edi, edi
je 0x5d1b93
push ebx
call fcn.00622af4
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [esi + 0x32a], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.fGDFB
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5d1bcb
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0xd4], edx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.fGDFE
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5d1bf6
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xd8], eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push str.needER
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5d1c21
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x2fc], ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.noSyntRef
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5d1c50
cmp dword [ebp - 0x1c], 1
sete dl
mov byte [esi + 0x33c], dl
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.categoryID
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5d1c7d
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x300], eax
jmp 0x5d1c87
mov dword [esi + 0x300], 0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push str.CISBU
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5d1cb7
mov eax, dword [ebp - 0x1c]
test eax, eax
setne cl
mov byte [esi + 0x333], cl
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.queueID
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5d1ce4
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x4a4], edx
jmp 0x5d1d21
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x5d1d21
mov eax, dword [esi + 0x4a0]
push eax
call fcn.00495a70
test eax, eax
je 0x5d1d05
mov dword [esi + 0x4a4], 1
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x4a4]
push 4
push ecx
push 4
push 0
push str.queueID
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.kpsnSDCD
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5d1d58
mov eax, dword [ebp - 0x1c]
mov byte [esi + 0xa96], 1
test eax, eax
setne al
mov byte [esi + 0xa95], al
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.00622af4
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8