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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
je 0x52c749
mov ecx, dword [esi + 0x330]
test ecx, ecx
jne 0x52c15f
push eax
mov ecx, esi
call fcn.0052e8c0
test al, al
je 0x52c749
mov ecx, dword [esi + 0x330]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 8]
lea ebx, [esi + 0x118]
push eax
push ebx
push 0
push 0
push str.FRFileSize
push ecx
mov dword [ebp + 8], 8
call edi
test eax, eax
je 0x52c1e6
lea edx, [ebp + 8]
lea ecx, [ebp - 0x20]
xor eax, eax
push edx
mov edx, dword [esi + 0x330]
push ecx
push eax
push eax
push str.FileSize
push edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp + 8], 8
call edi
test eax, eax
jne 0x52c1e6
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
test eax, eax
jl 0x52c1e6
jg 0x52c1cd
test ecx, ecx
jbe 0x52c1e6
mov eax, dword [esi + 0x330]
push 8
push ebx
push 0
push 0
push str.FRFileSize
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esi + 0x330]
lea ecx, [ebp + 8]
lea edx, [esi + 0x120]
push ecx
push edx
push 0
push 0
push str.st_time
push eax
mov dword [ebp + 8], 4
call edi
push 0
lea ecx, [ebp - 0x14]
push 0
mov edx, dword [esi + 0x330]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x52c244
mov eax, 0x800
mov dword [ebp - 0x14], eax
jmp 0x52c247
mov eax, dword [ebp - 0x14]
mov dword [ebp + 8], eax
inc eax
push eax
call fcn.0056649c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x52c749
mov eax, dword [ebp + 8]
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 [esi + 0x330]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push str.FRCType
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x52c2aa
push ebx
lea edx, [esi + 0xfc]
push 0x615e9c
push edx
call fcn.00562ecb
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edi, ebx
mov dword [ebp + 8], eax
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 [esi + 0x330]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push str.owWPage
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x52c2f9
push ebx
lea edx, [esi + 0x100]
push 0x615e9c
push edx
call fcn.00562ecb
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edi, ebx
mov dword [ebp + 8], eax
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 [esi + 0x330]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push str.owWPCookies
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x52c348
push ebx
lea edx, [esi + 0x104]
push 0x615e9c
push edx
call fcn.00562ecb
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edi, ebx
mov dword [ebp + 8], eax
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 [esi + 0x330]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push str.owWPUser
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x52c397
push ebx
lea edx, [esi + 0x108]
push 0x615e9c
push edx
call fcn.00562ecb
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edi, ebx
mov dword [ebp + 8], eax
push ebx
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
push str.owWPEncPwd
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x330]
push eax
push ecx
call fcn.005234b0
add esp, 0x10
test eax, eax
je 0x52c3e4
push ebx
lea edx, [esi + 0x10c]
push 0x615e9c
push edx
call fcn.00562ecb
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edi, ebx
mov dword [ebp + 8], eax
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 [esi + 0x330]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push str.Url0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x52c433
push ebx
lea edx, [esi + 0xc8]
push 0x615e9c
push edx
call fcn.00562ecb
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edi, ebx
mov dword [ebp + 8], eax
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 [esi + 0x330]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push str.U0_PD
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x52c482
push ebx
lea edx, [esi + 0x128]
push 0x615e9c
push edx
call fcn.00562ecb
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edi, ebx
mov dword [ebp + 8], eax
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 [esi + 0x330]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push str.U0_c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x52c4d1
push ebx
lea edx, [esi + 0x12c]
push 0x615e9c
push edx
call fcn.00562ecb
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edi, ebx
mov dword [ebp + 8], eax
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 [esi + 0x330]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push str.U0_u
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x52c520
push ebx
lea edx, [esi + 0x130]
push 0x615e9c
push edx
call fcn.00562ecb
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edi, ebx
mov dword [ebp + 8], eax
push ebx
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
push str.U0_EncP
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x330]
push eax
push ecx
call fcn.005234b0
add esp, 0x10
test eax, eax
je 0x52c56d
push ebx
lea edx, [esi + 0x134]
push 0x615e9c
push edx
call fcn.00562ecb
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edi, ebx
mov dword [ebp + 8], eax
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 [esi + 0x330]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push str.U0_PDMT
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x52c5bc
push ebx
lea edx, [esi + 0x138]
push 0x615e9c
push edx
call fcn.00562ecb
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edi, ebx
mov dword [ebp + 8], eax
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 [esi + 0x330]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push str.FR_FNCD
push ecx
call edi
test eax, eax
jne 0x52c60d
push ebx
lea edx, [esi + 0x114]
push 0x615e9c
push edx
call fcn.00562ecb
add esp, 0xc
mov edx, dword [esi + 0x330]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.bOneRqAlw
push edx
mov dword [ebp + 8], 4
call edi
test eax, eax
jne 0x52c640
mov eax, dword [ebp - 0x18]
test eax, eax
setne al
mov byte [esi + 0x148], al
mov eax, dword [esi + 0x330]
lea ecx, [ebp + 8]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push str.bGICompl
push eax
mov dword [ebp + 8], 4
call edi
test eax, eax
jne 0x52c673
mov eax, dword [ebp - 0x18]
test eax, eax
setne cl
mov byte [esi + 0x147], cl
mov ecx, dword [esi + 0x330]
lea edx, [ebp + 8]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push str.bRetAfFR
push ecx
mov dword [ebp + 8], 4
call edi
test eax, eax
jne 0x52c6a6
mov eax, dword [ebp - 0x18]
test eax, eax
setne dl
mov byte [esi + 0x146], dl
mov edx, dword [esi + 0x330]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.bOUD_Ch
push edx
mov dword [ebp + 8], 4
call edi
test eax, eax
jne 0x52c6d9
mov eax, dword [ebp - 0x18]
test eax, eax
setne al
mov byte [esi + 0x14b], al
mov eax, dword [esi + 0x330]
lea ecx, [ebp + 8]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push str.bChCnt
push eax
mov dword [ebp + 8], 4
call edi
test eax, eax
jne 0x52c70b
cmp dword [ebp - 0x18], 1
sete cl
mov byte [esi + 0x145], cl
mov ecx, dword [esi + 0x330]
lea edx, [ebp + 8]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push str.exLenToSkip
push ecx
mov dword [ebp + 8], 4
mov dword [ebp - 0x18], 0
call edi
test eax, eax
jne 0x52c740
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x2b8], edx
push ebx
call fcn.005664c5
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4