Function at 0x5c005100
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xa4
mov eax, 0x5c054c99
call fcn.5c054b03
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 0x5c00517d
or dword [ebx + 0x2270], 2
mov dword [ebx + 0x2294], esi
mov ecx, esi
mov dword [ebx + 0x1a4c], esi
mov dword [ebx + 0x2274], 0x5c059a90
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x94], esi
mov eax, dword [edx + ecx*4]
mov edi, 0x5c002884
cmp eax, dword [edi + ecx*4]
jne 0x5c005256
inc ecx
cmp ecx, 4
jne 0x5c0051a1
call fcn.5c00cbf4
test eax, eax
je 0x5c005250
lea eax, [ebp - 0x88]
mov dword [ebp - 0x94], 1
push eax
push 0x2000000
push esi
push 0x5c002590
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 0x5c005250
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 0x5c0025b4
push dword [ebp - 0x88]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
test eax, eax
jne 0x5c005244
cmp dword [ebp - 0xa8], 4
jne 0x5c005244
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, 0x5c002884
cmp eax, dword [edi + ecx*4]
mov edi, dword [ebp - 0x80]
jne 0x5c00528d
inc ecx
cmp ecx, 4
jne 0x5c005258
call fcn.5c00cbf4
test eax, eax
je 0x5c00528d
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 4]
test byte [eax + 0x48], 4
je 0x5c00528d
mov dword [ebp - 0x98], 0x5c002874
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 [0x5c05d150]
call esi
test eax, eax
jne 0x5c0056ec
test dword [ebp - 0x14], 0x2000
jne 0x5c0052d8
mov eax, 0x88760064
jmp 0x5c0056ec
test dword [ebp - 0x14], 0x20000
jne 0x5c0052ce
mov eax, 0x800
cmp dword [ebp - 0x70], eax
ja 0x5c0056e7
cmp dword [ebp - 0x74], eax
ja 0x5c0056e7
mov eax, dword [edi]
lea ecx, [ebp - 0x9c]
push ecx
push edi
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x5c05d150]
call esi
test eax, eax
je 0x5c005333
mov ecx, 0x8876023c
cmp eax, ecx
je 0x5c005326
mov eax, 0x80070057
jmp 0x5c0056ec
cmp dword [ebp - 0x28], 0x10
jae 0x5c005333
mov eax, ecx
jmp 0x5c0056ec
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 [0x5c05d150]
call dword [esi + 0x30]
mov edi, eax
test edi, edi
jns 0x5c005378
cmp edi, 0x887600ff
jne 0x5c005500
cmp dword [ebp - 0x94], 0
lea edi, [ebx + 0x22bc]
mov esi, dword [ebp - 0x98]
mov ecx, 0x5c002854
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 0x5c0053a8
mov ecx, dword [ebp - 0x8c]
lea eax, [ebx + 0x2848]
lea esi, [ebx + 0x2844]
push eax
mov edx, esi
call fcn.5c0163ea
mov edi, eax
test edi, edi
je 0x5c0053f8
cmp edi, 0x80004002
jne 0x5c005500
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.5c0152c8
mov edi, eax
test edi, edi
jne 0x5c005500
push 4
lea eax, [ebp - 0x88]
xor esi, esi
push eax
push 4
mov edx, 0x5c0025c4
mov dword [ebp - 0x88], esi
pop ecx
call fcn.5c01a3a6
pop ecx
pop ecx
test eax, eax
je 0x5c005449
cmp dword [ebp - 0x88], esi
je 0x5c005449
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.5c015ab2
mov edi, eax
test edi, edi
jne 0x5c005500
mov edx, dword [ebp - 0x80]
mov ecx, ebx
call fcn.5c00473e
mov edi, eax
test edi, edi
jne 0x5c005500
push dword [ebp - 0x98]
mov ecx, ebx
push dword [ebp - 0x84]
push dword [ebp - 0x90]
call fcn.5c00457d
mov edi, eax
test edi, edi
js 0x5c005500
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.5c008a41
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x5c005500
test byte [ebx + 0x1a6c], 0x40
je 0x5c0054c0
cmp dword [ebx + 0x2284], 3
jl 0x5c0054c0
mov eax, dword [ebx + 0x2984]
jmp 0x5c0054cb
push 0x400
call fcn.5c04f262
pop ecx
push dword [ebp - 0x80]
mov ecx, ebx
mov dword [ebx + 0x2998], eax
mov dword [ebx + 0x1b1c], eax
call fcn.5c004cd0
mov edi, eax
test edi, edi
jne 0x5c005500
push 0x1000
lea ecx, [ebx + 0x2278]
call fcn.5c003976
test eax, eax
je 0x5c005549
mov edi, 0x8007000e
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x5c005521
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5c05d150]
call esi
and dword [ebx + 0x22e8], 0
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x5c005542
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5c05d150]
call esi
and dword [ebx + 0x22ec], 0
mov eax, edi
jmp 0x5c0056ec
push 0x12fc
push ebx
lea ecx, [ebx + 0x1a04]
call fcn.5c0039c1
test eax, eax
jne 0x5c0054fb
push 0xc8
push ebx
lea ecx, [ebx + 0x1a10]
call fcn.5c0039c1
test eax, eax
jne 0x5c0054fb
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 0x5c0055a2
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.5c003d3d
mov edi, eax
test edi, edi
js 0x5c005500
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 [0x5c05d150]
call esi
test eax, eax
js 0x5c005500
push 8
pop edi
push 0x9a0
mov dword [ebx + 0x2830], edi
call fcn.5c04f262
xor esi, esi
mov dword [ebp - 0xa0], eax
pop ecx
test eax, eax
je 0x5c00564d
lea ecx, [eax + 0x90]
mov dword [ecx], esi
lea ecx, [ecx + 0x134]
sub edi, 1
jne 0x5c00563e
jmp 0x5c00564f
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.5c04f262
add esp, 0x10
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x5c00568a
mov ecx, eax
call fcn.5c00b725
mov esi, eax
mov dword [ebx + 0x319c], esi
test esi, esi
jne 0x5c00569b
mov eax, 0x8007000e
jmp 0x5c0056ec
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 0x5c0056db
test byte [ebx + 0x1a6c], 0x40
je 0x5c0056db
mov eax, dword [edx + 0x154]
mov dword [ebx + 0x3254], eax
mov eax, dword [ebp - 0xb0]
mov dword [eax], ebx
xor eax, eax
jmp 0x5c0056ec
mov eax, 0x88760082
call fcn.5c054ab2
ret 0x14