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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push eax
xor edi, edi
mov dword [esi + 0x390], eax
lea eax, [ebp - 0x60]
push str.SoftwareDownloadManager_ld
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], edi
call fcn.0054ea2a
add esp, 0xc
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x60]
push ecx
push edx
push edi
push 0xf003f
push edi
push 0x63e040
push edi
push eax
push reloc.WSOCK32.dll_accept
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 edi
push edi
push str.TPswitch
push eax
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x523629
mov dword [esi + 0x44], 1
jmp 0x52362f
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 edi
push edi
push str.Status
push ecx
call ebx
test eax, eax
je 0x523650
mov dword [esi + 0x5cc], edi
jmp 0x523659
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x5cc], edx
cmp dword [esi + 0x5cc], 3
je 0x523668
mov dword [esi + 0x5cc], edi
mov eax, dword [esi + 0x5cc]
mov ecx, esi
push eax
call fcn.00522180
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push edi
push edi
push str.Port
push eax
call ebx
test eax, eax
je 0x5236a1
mov eax, dword [esi + 0x44]
dec eax
neg eax
sbb eax, eax
and al, 0xc5
add eax, 0x50
mov dword [esi + 0x34], eax
jmp 0x5236a7
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x34], ecx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea edi, [esi + 0x398]
push edx
push edi
push 0
push 0
push str.FileSize
push eax
mov dword [ebp - 0x14], 8
call ebx
test eax, eax
je 0x5236d9
mov dword [edi], 0
mov dword [edi + 4], 0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edi, [esi + 0x3a0]
push ecx
push edi
push 0
push 0
push str.Downloaded
push edx
call ebx
test eax, eax
je 0x523704
mov dword [edi], 0
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea edi, [esi + 0x3a8]
push eax
push edi
push 0
push 0
push str.Speed
push ecx
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x52372f
mov dword [edi], 0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea edi, [esi + 0x15c]
push edx
push edi
push 0
push 0
push str.cFlags
push eax
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x52375a
mov dword [edi], 0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push str.gpID
push eax
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
jne 0x523785
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x704], ecx
push 0
lea edx, [ebp - 0x20]
push 0
mov eax, dword [ebp - 0x18]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
inc eax
push eax
call fcn.0056649c
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x5237d5
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 ecx, dword [ebp - 0x14]
xor eax, eax
inc ecx
mov edi, ebx
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 0x52382c
mov edi, 0x63e040
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 0x52383f
push eax
call fcn.005664c5
add esp, 4
mov al, byte [0x63e040]
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.0056649c
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 8], edx
jne 0x523891
push str.URL::set_fileName__:_Not_enough_memory__n
mov ecx, esi
call fcn.0052a8b0
push ebx
call fcn.005664c5
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 0x52390d
mov esi, dword [ebp - 0x24]
push str.Cannot_read_data_from_registry__n
lea ecx, [esi + 0x3b4]
call fcn.004ec0d0
mov ecx, esi
call fcn.00524780
push ebx
call fcn.005664c5
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 0x523923
push eax
call fcn.005664c5
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0056649c
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi], edx
jne 0x523949
push str.URL::set_serverName__:_Not_enough_memory__n
jmp 0x523869
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.Path
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5239ac
mov edi, 0x63e040
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 0x5239c2
push eax
call fcn.005664c5
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5239d5
mov dword [esi + 4], eax
jmp 0x523a1b
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0056649c
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 4], edx
jne 0x5239fc
push str.URL::set_serverPath__:_Not_enough_memory__n
jmp 0x523869
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]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push str.User
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x523a5f
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]
mov eax, dword [ebp - 0x24]
lea esi, [eax + 0x20]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x523a75
push eax
call fcn.005664c5
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0056649c
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0xc], edx
jne 0x523a9c
push str.URL::set_userName:_Not_enough_memory__n
jmp 0x523869
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 str.Password
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.00523280
add esp, 0x14
test eax, eax
jne 0x523afa
mov edi, str.anonymous_r.com
or ecx, 0xffffffff
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]
mov eax, dword [ecx + 0x30]
lea esi, [ecx + 0x20]
test eax, eax
je 0x523b10
push eax
call fcn.005664c5
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0056649c
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0x10], edx
jne 0x523b37
push str.URL::set_password:_Not_enough_memory__n
jmp 0x523869
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 0x523bad
mov esi, dword [ebp - 0x24]
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.0052ca10
test eax, eax
mov dword [ebp + 8], eax
je 0x523bb0
push ebx
call fcn.005664c5
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 0x523bd8
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.0052f300
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 0x523c68
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0xa8]
cmp ebx, eax
je 0x523c68
test eax, eax
je 0x523c13
push eax
call fcn.005664c5
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0056649c
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0xa8], edx
jne 0x523c40
push str.URL::set_lastResult__:_Not_enough_memory__n
jmp 0x52386b
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 - 0x28]
push ecx
push edx
push 0
push 0
push str.dwnlrs
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x523c93
mov ecx, dword [ebp - 0x28]
mov dword [esi + 0x6f0], 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 0x523cbe
lea edx, [esi + 0x64]
push ebx
push edx
call fcn.0054ea2a
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 0x523cec
lea eax, [esi + 0x94]
push ebx
push eax
call fcn.0054ea2a
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 0x523d88
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x523d20
push eax
call fcn.005664c5
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x523d36
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
jmp 0x523d82
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0056649c
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x523d60
push str.URL::set_Cookie__:_Not_enough_memory__n
jmp 0x52386b
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]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push edx
push ebx
push 0
push 0
push 0x631c34
push eax
call edi
test eax, eax
jne 0x523dce
push ebx
lea ecx, [esi + 0x174]
call fcn.0056a289
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov byte [esi + 0x170], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x523dce
mov byte [esi + 0x2c3], 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 0x523dfe
push ebx
lea ecx, [esi + 0xf0]
call fcn.0056a289
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 0x631c28
push eax
call edi
test eax, eax
jne 0x523e28
push ebx
lea ecx, [esi + 0x178]
call fcn.0056a289
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 0x523e76
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0x18]
test eax, eax
je 0x523e5c
push eax
call fcn.005664c5
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x523ec7
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
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.LocalFileName
push eax
call edi
test eax, eax
jne 0x523f18
push ebx
lea ecx, [esi + 0x20]
call fcn.0052d6d0
test eax, eax
mov dword [ebp + 8], eax
je 0x523f18
push ebx
call fcn.005664c5
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.0056649c
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0x18], edx
jne 0x523ef1
push str.URL::set_Referer__:_Not_enough_memory__n
jmp 0x52386b
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 0x523e70
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [esi + 0x20]
call fcn.0052bb20
test eax, eax
jne 0x523f95
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x34], ax
lea edx, [ebp - 0x38]
push 1
push edx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00525f70
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x523f4e
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x20]
call fcn.0052d510
test eax, eax
mov dword [ebp + 8], eax
je 0x523f89
push ebx
call fcn.005664c5
add esp, 4
lea ecx, [ebp - 0x38]
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 - 0x38]
mov byte [ebp - 4], 0
call fcn.00401070
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.WDescription
push edx
call edi
test eax, eax
jne 0x523feb
push ebx
lea ecx, [esi + 0x20]
call fcn.0052d7a0
test eax, eax
mov dword [ebp + 8], eax
je 0x523fe2
push ebx
call fcn.005664c5
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 byte [esi + 0x2c2], 1
jmp 0x52403f
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.Description
push edx
call edi
test eax, eax
jne 0x52403f
push ebx
lea ecx, [esi + 0x20]
call fcn.0052d7a0
test eax, eax
mov dword [ebp + 8], eax
je 0x524038
push ebx
call fcn.005664c5
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 byte [esi + 0x2c2], 0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.fGDFB
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x52406a
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xd4], eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push str.fGDFE
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x524095
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0xd8], ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.needER
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5240c0
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x2b4], edx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.noSyntRef
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5240ef
cmp dword [ebp - 0x1c], 1
sete al
mov byte [esi + 0x2cd], al
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push str.categoryID
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x52411c
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x2b8], ecx
jmp 0x524126
mov dword [esi + 0x2b8], 0
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.CISBU
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x524156
mov eax, dword [ebp - 0x1c]
test eax, eax
setne dl
mov byte [esi + 0x2c4], dl
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.queueID
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x524183
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x394], eax
jmp 0x5241c0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x5241c0
mov edx, dword [esi + 0x390]
push edx
call fcn.004531a0
test eax, eax
je 0x5241a4
mov dword [esi + 0x394], 1
mov eax, dword [ebp - 0x18]
add esi, 0x394
push 4
push esi
push 4
push 0
push str.queueID
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.005664c5
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