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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a4f0
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 + 0x408], eax
lea eax, [ebp - 0x5c]
push str.SoftwareDownloadManager_ld
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], edi
call fcn.0051d0e8
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 0x5ba440
push edi
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 edi
push edi
push str.TPswitch
push eax
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x4f9ffc
mov dword [esi + 0x44], 1
jmp 0x4fa002
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 0x59e630
push ecx
call ebx
test eax, eax
je 0x4fa023
mov dword [esi + 0x644], edi
jmp 0x4fa02c
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x644], edx
cmp dword [esi + 0x644], 3
je 0x4fa03b
mov dword [esi + 0x644], edi
mov eax, dword [esi + 0x644]
mov ecx, esi
push eax
call fcn.004f9050
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push edi
push edi
push 0x5b2514
push eax
call ebx
test eax, eax
je 0x4fa074
mov eax, dword [esi + 0x44]
dec eax
neg eax
sbb eax, eax
and al, 0xc5
add eax, 0x50
mov dword [esi + 0x34], eax
jmp 0x4fa07a
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x34], ecx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea edi, [esi + 0x410]
push edx
push edi
push 0
push 0
push str.FileSize
push eax
mov dword [ebp - 0x14], 8
call ebx
test eax, eax
je 0x4fa0ac
mov dword [edi], 0
mov dword [edi + 4], 0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea edi, [esi + 0x418]
push ecx
push edi
push 0
push 0
push 0x5a5e78
push edx
call ebx
test eax, eax
je 0x4fa0d7
mov dword [edi], 0
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
lea edi, [esi + 0x420]
push eax
push edi
push 0
push 0
push str.Speed
push ecx
mov dword [ebp - 0x14], 4
call ebx
test eax, eax
je 0x4fa102
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 0x4fa12d
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x77c], 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.005380a1
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4fa17d
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 0x4fa1d6
mov edi, 0x5ba440
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 0x4fa1e9
push eax
call fcn.005380ca
add esp, 4
mov al, byte [0x5ba440]
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.005380a1
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 8], edx
jne 0x4fa23b
push str.URL::set_fileName__:_Not_enough_memory__n
mov ecx, esi
call fcn.004fdc20
push ebx
call fcn.005380ca
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 0x4fa2b7
mov esi, dword [ebp - 0x24]
push str.Cannot_read_data_from_registry__n
lea ecx, [esi + 0x42c]
call fcn.004c96f0
mov ecx, esi
call fcn.004fb1e0
push ebx
call fcn.005380ca
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 0x4fa2cd
push eax
call fcn.005380ca
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005380a1
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi], edx
jne 0x4fa2f3
push str.URL::set_serverName__:_Not_enough_memory__n
jmp 0x4fa213
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 0x4fa356
mov edi, 0x5ba440
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 0x4fa36c
push eax
call fcn.005380ca
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4fa37f
mov dword [esi + 4], eax
jmp 0x4fa3c5
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005380a1
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 4], edx
jne 0x4fa3a6
push str.URL::set_serverPath__:_Not_enough_memory__n
jmp 0x4fa213
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 0x5a5d74
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4fa409
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 0x4fa41f
push eax
call fcn.005380ca
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005380a1
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0xc], edx
jne 0x4fa446
push str.URL::set_userName:_Not_enough_memory__n
jmp 0x4fa213
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 0x5a5d68
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4fa4a9
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 0x4fa4bf
push eax
call fcn.005380ca
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005380a1
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0x10], edx
jne 0x4fa4e6
push str.URL::set_password:_Not_enough_memory__n
jmp 0x4fa213
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 0x4fa55c
mov esi, dword [ebp - 0x24]
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.004fed60
test eax, eax
mov dword [ebp + 8], eax
je 0x4fa55f
push ebx
call fcn.005380ca
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 0x4fa587
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.00500910
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 0x4fa60d
mov eax, dword [esi + 0x1bc]
add esi, 0x20
test eax, eax
je 0x4fa5bb
push eax
call fcn.005380ca
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005380a1
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0x19c], edx
jne 0x4fa5e5
push str.URL::set_lastResult__:_Not_enough_memory__n
jmp 0x4fa213
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 0x4fa638
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0x768], 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 0x4fa663
lea edx, [esi + 0x5c]
push ebx
push edx
call fcn.0051d0e8
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 0x4fa691
lea eax, [esi + 0x8c]
push ebx
push eax
call fcn.0051d0e8
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 0x4fa72d
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4fa6c5
push eax
call fcn.005380ca
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4fa6db
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
jmp 0x4fa727
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005380a1
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x4fa705
push str.URL::set_Cookie__:_Not_enough_memory__n
jmp 0x4fa215
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 0x5b245c
push eax
call edi
test eax, eax
jne 0x4fa75e
push ebx
lea ecx, [esi + 0x1f8]
call fcn.00537c8d
mov byte [esi + 0x1f7], 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 0x5b2458
push eax
call edi
test eax, eax
jne 0x4fa788
push ebx
lea ecx, [esi + 0x1fc]
call fcn.00537c8d
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 0x4fa7d6
lea eax, [esi + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4fa7bc
push eax
call fcn.005380ca
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4fa827
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 0x4fa878
push ebx
lea ecx, [esi + 0x20]
call fcn.004ff9c0
test eax, eax
mov dword [ebp + 8], eax
je 0x4fa878
push ebx
call fcn.005380ca
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.005380a1
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0x18], edx
jne 0x4fa851
push str.URL::set_Referer__:_Not_enough_memory__n
jmp 0x4fa215
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 0x4fa7d0
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 0x4fa90b
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4fa905
push ebx
call fcn.004fd720
add esp, 4
lea ecx, [esi + 0x20]
push ebx
call fcn.004ff850
mov edi, eax
test edi, edi
je 0x4fa8d8
push ebx
call fcn.005380ca
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.0051d13a
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0x14
jmp 0x4faa64
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 0x4fa9fe
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4fa9f8
mov edx, dword [0x5b5ecc]
mov dword [ebp - 0x28], edx
push ebx
lea eax, [ebp - 0x28]
push 0x597ddc
push eax
mov byte [ebp - 4], 1
call fcn.0053091a
mov ecx, dword [ebp - 0x28]
add esp, 0xc
push ecx
call fcn.004fd720
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.004ff850
mov edi, eax
test edi, edi
je 0x4fa9c2
push ebx
call fcn.005380ca
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00537b04
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.0051d13a
add esp, 0x14
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00537b04
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x4faa64
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [0x5b5ecc]
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.004fc160
mov eax, dword [ebp - 0x2c]
lea ecx, [esi + 0x20]
push eax
call fcn.004ff850
test eax, eax
mov dword [ebp + 8], eax
je 0x4faa58
push ebx
call fcn.005380ca
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00537b04
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.00537b04
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 0x59dff4
push eax
call edi
test eax, eax
jne 0x4faab1
push ebx
lea ecx, [esi + 0x20]
call fcn.004ffa80
test eax, eax
mov dword [ebp + 8], eax
je 0x4faab1
push ebx
call fcn.005380ca
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 0x4faadc
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 0x4fab07
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 0x4fab32
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x338], 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 0x4fab61
cmp dword [ebp - 0x1c], 1
sete cl
mov byte [esi + 0x34b], 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 0x4fab8e
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x33c], edx
jmp 0x4fab98
mov dword [esi + 0x33c], 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 0x4fabc8
mov eax, dword [ebp - 0x1c]
test eax, eax
setne al
mov byte [esi + 0x342], 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 0x4fabf5
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x40c], ecx
jmp 0x4fac32
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4fac32
mov edx, dword [esi + 0x408]
push edx
call fcn.00442b90
test eax, eax
je 0x4fac16
mov dword [esi + 0x40c], 1
mov eax, dword [ebp - 0x18]
add esi, 0x40c
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.005380ca
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