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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5657d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
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 + 0x420], eax
lea eax, [ebp - 0x5c]
push str.SoftwareDownloadManager_ld
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], edi
call fcn.00527718
add esp, 0xc
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x5c]
push ecx
push edx
push edi
push 0xf003f
push edi
push 0x5c6ff0
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 0x503d6c
mov dword [esi + 0x44], 1
jmp 0x503d72
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 0x503d93
mov dword [esi + 0x65c], edi
jmp 0x503d9c
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x65c], edx
cmp dword [esi + 0x65c], 3
je 0x503dab
mov dword [esi + 0x65c], edi
mov eax, dword [esi + 0x65c]
mov ecx, esi
push eax
call fcn.00502b50
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 0x503de4
mov eax, dword [esi + 0x44]
dec eax
neg eax
sbb eax, eax
and al, 0xc5
add eax, 0x50
mov dword [esi + 0x34], eax
jmp 0x503dea
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x34], ecx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea edi, [esi + 0x428]
push edx
push edi
push 0
push 0
push str.FileSize
push eax
mov dword [ebp - 0x14], 8
call ebx
test eax, eax
je 0x503e1c
mov dword [edi], 0
mov dword [edi + 4], 0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edi, [esi + 0x430]
push ecx
push edi
push 0
push 0
push str.Downloaded
push edx
call ebx
test eax, eax
je 0x503e47
mov dword [edi], 0
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea edi, [esi + 0x438]
push eax
push edi
push 0
push 0
push str.Speed
push ecx
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x503e72
mov dword [edi], 0
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.gpID
push ecx
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
jne 0x503e9d
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x794], edx
push 0
lea eax, [ebp - 0x20]
push 0
mov ecx, dword [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
inc eax
push eax
call fcn.0054276d
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x503eed
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 edx, dword [ebp - 0x14]
xor eax, eax
mov edi, ebx
lea ecx, [edx + 1]
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 0x503f46
mov edi, 0x5c6ff0
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 0x503f59
push eax
call fcn.00542796
add esp, 4
mov al, byte [0x5c6ff0]
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.0054276d
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 8], edx
jne 0x503fab
push str.URL::set_fileName__:_Not_enough_memory__n
mov ecx, esi
call fcn.00507f00
push ebx
call fcn.00542796
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 0x504027
mov esi, dword [ebp - 0x24]
push str.Cannot_read_data_from_registry__n
lea ecx, [esi + 0x444]
call fcn.004d1cc0
mov ecx, esi
call fcn.00504f90
push ebx
call fcn.00542796
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 0x50403d
push eax
call fcn.00542796
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0054276d
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi], edx
jne 0x504063
push str.URL::set_serverName__:_Not_enough_memory__n
jmp 0x503f83
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 0x5040c6
mov edi, 0x5c6ff0
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 0x5040dc
push eax
call fcn.00542796
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5040ef
mov dword [esi + 4], eax
jmp 0x504135
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0054276d
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 4], edx
jne 0x504116
push str.URL::set_serverPath__:_Not_enough_memory__n
jmp 0x503f83
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 0x504179
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 0x50418f
push eax
call fcn.00542796
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0054276d
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0xc], edx
jne 0x5041b6
push str.URL::set_userName:_Not_enough_memory__n
jmp 0x503f83
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.Password
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x504219
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
lea esi, [eax + 0x20]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x50422f
push eax
call fcn.00542796
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0054276d
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0x10], edx
jne 0x504256
push str.URL::set_password:_Not_enough_memory__n
jmp 0x503f83
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 0x5042cc
mov esi, dword [ebp - 0x24]
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.00509080
test eax, eax
mov dword [ebp + 8], eax
je 0x5042cf
push ebx
call fcn.00542796
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 0x5042f7
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.0050aea0
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 0x50437d
mov eax, dword [esi + 0x1bc]
add esi, 0x20
test eax, eax
je 0x50432b
push eax
call fcn.00542796
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0054276d
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0x19c], edx
jne 0x504355
push str.URL::set_lastResult__:_Not_enough_memory__n
jmp 0x503f83
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 - 0x30]
push ecx
push edx
push 0
push 0
push str.dwnlrs
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5043a8
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0x780], 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 0x5043d3
lea edx, [esi + 0x5c]
push ebx
push edx
call fcn.00527718
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 0x504401
lea eax, [esi + 0x8c]
push ebx
push eax
call fcn.00527718
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 0x50449d
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x504435
push eax
call fcn.00542796
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x50444b
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
jmp 0x504497
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0054276d
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x504475
push str.URL::set_Cookie__:_Not_enough_memory__n
jmp 0x503f85
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 0x5befe4
push eax
call edi
test eax, eax
jne 0x5044ce
push ebx
lea ecx, [esi + 0x20c]
call fcn.00542347
mov byte [esi + 0x208], 1
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.PDCType
push eax
call edi
test eax, eax
jne 0x5044f8
push ebx
lea ecx, [esi + 0x1e4]
call fcn.00542347
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 0x5befd8
push eax
call edi
test eax, eax
jne 0x504522
push ebx
lea ecx, [esi + 0x210]
call fcn.00542347
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 0x504570
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0x18]
test eax, eax
je 0x504556
push eax
call fcn.00542796
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5045c1
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 0x504612
push ebx
lea ecx, [esi + 0x20]
call fcn.00509ce0
test eax, eax
mov dword [ebp + 8], eax
je 0x504612
push ebx
call fcn.00542796
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.0054276d
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0x18], edx
jne 0x5045eb
push str.URL::set_Referer__:_Not_enough_memory__n
jmp 0x503f85
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 0x50456a
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.EncLNFS
push eax
call edi
test eax, eax
jne 0x5046a5
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x50469f
push ebx
call fcn.00507990
add esp, 4
lea ecx, [esi + 0x20]
push ebx
call fcn.00509b70
mov edi, eax
test edi, edi
je 0x504672
push ebx
call fcn.00542796
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
lea ecx, [esi + 0xbc]
lea edx, [ebp - 0x15c]
push ecx
lea eax, [ebp - 0x25c]
push edx
lea ecx, [ebp + 8]
push eax
push ecx
push ebx
call fcn.0052776a
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0x14
jmp 0x5047fe
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
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.LocalNameForSave
push ecx
call edi
test eax, eax
jne 0x504798
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x504792
mov edx, dword [0x5c2a74]
mov dword [ebp - 0x28], edx
push ebx
lea eax, [ebp - 0x28]
push 0x5a3e24
push eax
mov byte [ebp - 4], 1
call fcn.0053afda
mov ecx, dword [ebp - 0x28]
add esp, 0xc
push ecx
call fcn.00507990
mov edx, dword [ebp - 0x28]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [ebp - 0x18]
push eax
push eax
push str.EncLNFS
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
lea ecx, [esi + 0x20]
call fcn.00509b70
mov edi, eax
test edi, edi
je 0x50475c
push ebx
call fcn.00542796
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.005421be
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
lea eax, [esi + 0xbc]
lea ecx, [ebp - 0x25c]
push eax
lea edx, [ebp - 0x15c]
push ecx
lea eax, [ebp + 8]
push edx
push eax
push ebx
call fcn.0052776a
add esp, 0x14
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.005421be
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x5047fe
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [0x5c2a74]
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x2c]
push 1
push edx
push 0
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00506100
mov eax, dword [ebp - 0x2c]
lea ecx, [esi + 0x20]
push eax
call fcn.00509b70
test eax, eax
mov dword [ebp + 8], eax
je 0x5047f2
push ebx
call fcn.00542796
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.005421be
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 - 0x2c]
mov byte [ebp - 4], 0
call fcn.005421be
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.Description
push eax
call edi
test eax, eax
jne 0x50484b
push ebx
lea ecx, [esi + 0x20]
call fcn.00509da0
test eax, eax
mov dword [ebp + 8], eax
je 0x50484b
push ebx
call fcn.00542796
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 eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push str.fGDFB
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x504876
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x1c8], ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.fGDFE
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5048a1
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x1cc], edx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.needER
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5048cc
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x350], eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push str.noSyntRef
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x5048fb
cmp dword [ebp - 0x1c], 1
sete cl
mov byte [esi + 0x364], cl
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.categoryID
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x504928
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x354], edx
jmp 0x504932
mov dword [esi + 0x354], 0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.CISBU
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x504962
mov eax, dword [ebp - 0x1c]
test eax, eax
setne al
mov byte [esi + 0x35b], al
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push 0
push str.queueID
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x50498f
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x424], ecx
jmp 0x5049cc
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x5049cc
mov edx, dword [esi + 0x420]
push edx
call fcn.00446a70
test eax, eax
je 0x5049b0
mov dword [esi + 0x424], 1
mov eax, dword [ebp - 0x18]
add esi, 0x424
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.00542796
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