Function at 0x5c0050c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xa4
mov eax, 0x5c055699
call fcn.5c055503
mov ebx, ecx
mov eax, dword [ebp + 0x10]
xor esi, esi
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb0], eax
xor eax, eax
inc eax
mov dword [ebx + 0x226c], esi
mov dword [ebx + 0x2268], eax
mov dword [ebx + 0x22b8], eax
lea eax, [ebx + 0x2938]
mov dword [ebx + 0x1a60], esi
mov dword [ebx + 0x694], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x8c], edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x80], edi
test dword [eax + 0xc], 0x4000
je 0x5c00513d
or dword [ebx + 0x2270], 2
mov dword [ebx + 0x2294], esi
mov ecx, esi
mov dword [ebx + 0x1a4c], esi
mov dword [ebx + 0x2274], 0x5c05aaa8
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x94], esi
mov eax, dword [edx + ecx*4]
mov edi, 0x5c002864
cmp eax, dword [edi + ecx*4]
jne 0x5c005216
inc ecx
cmp ecx, 4
jne 0x5c005161
call fcn.5c00cb54
test eax, eax
je 0x5c005210
lea eax, [ebp - 0x88]
mov dword [ebp - 0x94], 1
push eax
push 0x2000000
push esi
push 0x5c002570
push 0x80000002
mov dword [ebp - 0x88], esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x5c005210
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 4
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa8]
push eax
push esi
push 0x5c002594
push dword [ebp - 0x88]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
test eax, eax
jne 0x5c005204
cmp dword [ebp - 0xa8], 4
jne 0x5c005204
mov eax, dword [ebp - 0xa0]
neg eax
sbb eax, eax
and dword [ebp - 0x94], eax
push dword [ebp - 0x88]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edx, dword [ebp - 0x8c]
mov ecx, esi
mov eax, dword [edx + ecx*4]
mov edi, 0x5c002864
cmp eax, dword [edi + ecx*4]
mov edi, dword [ebp - 0x80]
jne 0x5c00524d
inc ecx
cmp ecx, 4
jne 0x5c005218
call fcn.5c00cb54
test eax, eax
je 0x5c00524d
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 4]
test byte [eax + 0x48], 4
je 0x5c00524d
mov dword [ebp - 0x98], 0x5c002854
push 0x68
lea eax, [ebp - 0x78]
push esi
push eax
call sub.msvcrt.dll_memset
mov edi, dword [ebp - 0x90]
lea ecx, [ebp - 0x7c]
add esp, 0xc
mov dword [ebp - 0x7c], 0x6c
mov eax, dword [edi]
push ecx
push edi
mov esi, dword [eax + 0x58]
mov ecx, esi
call dword [0x5c05e150]
call esi
test eax, eax
jne 0x5c0056b1
test dword [ebp - 0x14], 0x2000
je 0x5c0056ac
test dword [ebp - 0x14], 0x20000
jne 0x5c0056ac
mov eax, 0x800
cmp dword [ebp - 0x70], eax
ja 0x5c0056a5
cmp dword [ebp - 0x74], eax
ja 0x5c0056a5
mov eax, dword [edi]
lea ecx, [ebp - 0x9c]
push ecx
push edi
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x5c05e150]
call esi
test eax, eax
je 0x5c0052f1
mov ecx, 0x8876023c
cmp eax, ecx
je 0x5c0052e4
mov eax, 0x80070057
jmp 0x5c0056b1
cmp dword [ebp - 0x28], 0x10
jae 0x5c0052f1
mov eax, ecx
jmp 0x5c0056b1
mov eax, dword [ebp - 0x9c]
mov dword [ebx + 0x22ec], eax
lea eax, [ebp - 0x84]
mov esi, dword [edi]
push eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 0x20000
push eax
mov ecx, dword [esi + 0x30]
push edi
call dword [0x5c05e150]
call dword [esi + 0x30]
mov edi, eax
test edi, edi
jns 0x5c005336
cmp edi, 0x887600ff
jne 0x5c0054be
cmp dword [ebp - 0x94], 0
lea edi, [ebx + 0x22bc]
mov esi, dword [ebp - 0x98]
mov ecx, 0x5c002834
mov eax, dword [ebp - 0x84]
mov dword [ebx + 0x22e8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x5c005366
mov ecx, dword [ebp - 0x8c]
lea eax, [ebx + 0x2848]
lea esi, [ebx + 0x2844]
push eax
mov edx, esi
call fcn.5c01626a
mov edi, eax
test edi, edi
je 0x5c0053b6
cmp edi, 0x80004002
jne 0x5c0054be
mov eax, dword [ebp - 0x80]
mov edx, esi
mov ecx, dword [ebp - 0x8c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
push dword [eax + 4]
lea eax, [ebx + 0x2848]
push eax
call fcn.5c015155
mov edi, eax
test edi, edi
jne 0x5c0054be
push 4
lea eax, [ebp - 0x88]
xor esi, esi
push eax
push 4
mov edx, 0x5c0025a4
mov dword [ebp - 0x88], esi
pop ecx
call fcn.5c01a228
pop ecx
pop ecx
test eax, eax
je 0x5c005407
cmp dword [ebp - 0x88], esi
je 0x5c005407
push ecx
lea eax, [ebx + 0x2844]
push dword [eax]
push eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 4]
mov edx, dword [edx + 4]
call fcn.5c015942
mov edi, eax
test edi, edi
jne 0x5c0054be
mov edx, dword [ebp - 0x80]
mov ecx, ebx
call fcn.5c0046fe
mov edi, eax
test edi, edi
jne 0x5c0054be
push dword [ebp - 0x98]
mov ecx, ebx
push dword [ebp - 0x84]
push dword [ebp - 0x90]
call fcn.5c00453d
mov edi, eax
test edi, edi
js 0x5c0054be
mov eax, dword [ebp - 0x80]
push ecx
push dword [ebp - 0x84]
mov ecx, ebx
push dword [ebp - 0x90]
mov edx, dword [eax + 0x30]
push dword [eax + 0x34]
call fcn.5c0089c1
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x5c0054be
test byte [ebx + 0x1a6c], 0x40
je 0x5c00547e
cmp dword [ebx + 0x2284], 3
jl 0x5c00547e
mov eax, dword [ebx + 0x2984]
jmp 0x5c005489
push 0x400
call fcn.5c04fc62
pop ecx
push dword [ebp - 0x80]
mov dword [ebx + 0x2998], eax
mov ecx, ebx
mov dword [ebx + 0x1b1c], eax
call fcn.5c004c90
mov edi, eax
test edi, edi
jne 0x5c0054be
push 0x1000
lea ecx, [ebx + 0x2278]
call fcn.5c003936
test eax, eax
je 0x5c005507
mov edi, 0x8007000e
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x5c0054df
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5c05e150]
call esi
and dword [ebx + 0x22e8], 0
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x5c005500
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5c05e150]
call esi
and dword [ebx + 0x22ec], 0
mov eax, edi
jmp 0x5c0056b1
push 0x12fc
push ebx
lea ecx, [ebx + 0x1a04]
call fcn.5c003981
test eax, eax
jne 0x5c0054b9
push 0xc8
push ebx
lea ecx, [ebx + 0x1a10]
call fcn.5c003981
test eax, eax
jne 0x5c0054b9
mov eax, dword [ebp - 0x90]
or edx, 0xffffffff
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x5c005560
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov ecx, dword [ebp - 0x84]
xor eax, eax
test ecx, ecx
mov ecx, ebx
setne al
push eax
call fcn.5c003cfd
mov edi, eax
test edi, edi
js 0x5c0054be
mov edx, dword [ebp - 0x90]
lea ecx, [ebx + 0x2298]
mov dword [ecx], esi
mov dword [ebx + 0x229c], esi
fldz
mov eax, dword [edx + 4]
push ecx
push ebx
mov eax, dword [eax + 4]
movzx eax, word [eax + 0x1e]
mov dword [ebx + 0x22a0], eax
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0x1c]
mov dword [ebx + 0x22a4], eax
mov eax, dword [ebx]
fstp dword [ebx + 0x22a8]
fld1
fstp dword [ebx + 0x22ac]
mov esi, dword [eax + 0x34]
mov ecx, esi
call dword [0x5c05e150]
call esi
test eax, eax
js 0x5c0054be
push 8
pop edi
push 0x9a0
mov dword [ebx + 0x2830], edi
call fcn.5c04fc62
xor esi, esi
mov dword [ebp - 0xa0], eax
pop ecx
test eax, eax
je 0x5c00560b
lea ecx, [eax + 0x90]
mov dword [ecx], esi
lea ecx, [ecx + 0x134]
sub edi, 1
jne 0x5c0055fc
jmp 0x5c00560d
mov eax, esi
push 0x44
mov dword [ebx + 0x282c], eax
lea eax, [ebx + 0x578]
push esi
push eax
mov dword [ebx + 0x2834], esi
call sub.msvcrt.dll_memset
push 0x60
call fcn.5c04fc62
add esp, 0x10
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x5c005648
mov ecx, eax
call fcn.5c00b685
mov esi, eax
mov dword [ebx + 0x319c], esi
test esi, esi
jne 0x5c005659
mov eax, 0x8007000e
jmp 0x5c0056b1
mov eax, dword [ebx + 0x1a6c]
mov dword [esi + 0x5c], eax
lea eax, [ebx + 0x31f4]
test byte [ebx + 0x2270], 2
mov edi, eax
mov edx, dword [ebx]
mov esi, edx
push 0x57
pop ecx
mov dword [ebx + 0x31f0], edx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx], eax
jne 0x5c005699
test byte [ebx + 0x1a6c], 0x40
je 0x5c005699
mov eax, dword [edx + 0x154]
mov dword [ebx + 0x3254], eax
mov eax, dword [ebp - 0xb0]
mov dword [eax], ebx
xor eax, eax
jmp 0x5c0056b1
mov eax, 0x88760082
jmp 0x5c0056b1
mov eax, 0x88760064
call fcn.5c0554b2
ret 0x14