Function at 0x5c005810
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xa4
mov eax, 0x5c05fc57
call fcn.5c05faa0
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 0x5c00588d
or dword [ebx + 0x2270], 2
mov dword [ebx + 0x2294], esi
mov ecx, esi
mov dword [ebx + 0x1a4c], esi
mov dword [ebx + 0x2274], 0x5c066110
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x94], esi
mov eax, dword [edx + ecx*4]
mov edi, 0x5c002f54
cmp eax, dword [edi + ecx*4]
jne 0x5c005966
inc ecx
cmp ecx, 4
jne 0x5c0058b1
call fcn.5c00d4c4
test eax, eax
je 0x5c005960
lea eax, [ebp - 0x88]
mov dword [ebp - 0x94], 1
push eax
push 0x2000000
push esi
push 0x5c002c60
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 0x5c005960
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 0x5c002c84
push dword [ebp - 0x88]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
test eax, eax
jne 0x5c005954
cmp dword [ebp - 0xa8], 4
jne 0x5c005954
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, 0x5c002f54
cmp eax, dword [edi + ecx*4]
mov edi, dword [ebp - 0x80]
jne 0x5c00599d
inc ecx
cmp ecx, 4
jne 0x5c005968
call fcn.5c00d4c4
test eax, eax
je 0x5c00599d
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 4]
test byte [eax + 0x48], 4
je 0x5c00599d
mov dword [ebp - 0x98], 0x5c002f44
push 0x6c
pop edi
push edi
lea eax, [ebp - 0x7c]
push esi
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x7c], edi
lea ecx, [ebp - 0x7c]
mov edi, dword [ebp - 0x90]
add esp, 0xc
mov eax, dword [edi]
push ecx
push edi
mov esi, dword [eax + 0x58]
mov ecx, esi
call dword [0x5c06a150]
call esi
test eax, eax
jne 0x5c005dfa
test dword [ebp - 0x14], 0x2000
jne 0x5c0059e6
mov eax, 0x88760064
jmp 0x5c005dfa
test dword [ebp - 0x14], 0x20000
jne 0x5c0059dc
mov eax, 0x800
cmp dword [ebp - 0x70], eax
ja 0x5c005df5
cmp dword [ebp - 0x74], eax
ja 0x5c005df5
mov eax, dword [edi]
lea ecx, [ebp - 0x9c]
push ecx
push edi
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x5c06a150]
call esi
test eax, eax
je 0x5c005a41
mov ecx, 0x8876023c
cmp eax, ecx
je 0x5c005a34
mov eax, 0x80070057
jmp 0x5c005dfa
cmp dword [ebp - 0x28], 0x10
jae 0x5c005a41
mov eax, ecx
jmp 0x5c005dfa
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 [0x5c06a150]
call dword [esi + 0x30]
mov edi, eax
test edi, edi
jns 0x5c005a86
cmp edi, 0x887600ff
jne 0x5c005c0e
cmp dword [ebp - 0x94], 0
lea edi, [ebx + 0x22bc]
mov esi, dword [ebp - 0x98]
mov ecx, 0x5c002f24
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 0x5c005ab6
mov ecx, dword [ebp - 0x8c]
lea eax, [ebx + 0x2848]
lea esi, [ebx + 0x2844]
push eax
mov edx, esi
call fcn.5c01720a
mov edi, eax
test edi, edi
je 0x5c005b06
cmp edi, 0x80004002
jne 0x5c005c0e
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.5c016078
mov edi, eax
test edi, edi
jne 0x5c005c0e
push 4
lea eax, [ebp - 0x88]
xor esi, esi
push eax
push 4
mov edx, 0x5c002c94
mov dword [ebp - 0x88], esi
pop ecx
call fcn.5c01b337
pop ecx
pop ecx
test eax, eax
je 0x5c005b57
cmp dword [ebp - 0x88], esi
je 0x5c005b57
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.5c0168bf
mov edi, eax
test edi, edi
jne 0x5c005c0e
mov edx, dword [ebp - 0x80]
mov ecx, ebx
call fcn.5c004dee
mov edi, eax
test edi, edi
jne 0x5c005c0e
push dword [ebp - 0x98]
mov ecx, ebx
push dword [ebp - 0x84]
push dword [ebp - 0x90]
call fcn.5c004c2b
mov edi, eax
test edi, edi
js 0x5c005c0e
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.5c009251
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x5c005c0e
test byte [ebx + 0x1a6c], 0x40
je 0x5c005bce
cmp dword [ebx + 0x2284], 3
jl 0x5c005bce
mov eax, dword [ebx + 0x2984]
jmp 0x5c005bd9
push 0x400
call fcn.5c04f769
pop ecx
push dword [ebp - 0x80]
mov dword [ebx + 0x2998], eax
mov ecx, ebx
mov dword [ebx + 0x1b1c], eax
call fcn.5c0053b2
mov edi, eax
test edi, edi
jne 0x5c005c0e
push 0x1000
lea ecx, [ebx + 0x2278]
call fcn.5c003fd8
test eax, eax
je 0x5c005c57
mov edi, 0x8007000e
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x5c005c2f
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5c06a150]
call esi
and dword [ebx + 0x22e8], 0
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x5c005c50
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5c06a150]
call esi
and dword [ebx + 0x22ec], 0
mov eax, edi
jmp 0x5c005dfa
push 0x12fc
push ebx
lea ecx, [ebx + 0x1a04]
call fcn.5c004023
test eax, eax
jne 0x5c005c09
push 0xc8
push ebx
lea ecx, [ebx + 0x1a10]
call fcn.5c004023
test eax, eax
jne 0x5c005c09
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 0x5c005cb0
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.5c0043cf
mov edi, eax
test edi, edi
js 0x5c005c0e
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 [0x5c06a150]
call esi
test eax, eax
js 0x5c005c0e
push 8
pop edi
push 0x9a0
mov dword [ebx + 0x2830], edi
call fcn.5c04f769
xor esi, esi
mov dword [ebp - 0xa0], eax
pop ecx
test eax, eax
je 0x5c005d5b
lea ecx, [eax + 0x90]
mov dword [ecx], esi
lea ecx, [ecx + 0x134]
sub edi, 1
jne 0x5c005d4c
jmp 0x5c005d5d
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.5c04f769
add esp, 0x10
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x5c005d98
mov ecx, eax
call fcn.5c00bfdb
mov esi, eax
mov dword [ebx + 0x319c], esi
test esi, esi
jne 0x5c005da9
mov eax, 0x8007000e
jmp 0x5c005dfa
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 0x5c005de9
test byte [ebx + 0x1a6c], 0x40
je 0x5c005de9
mov eax, dword [edx + 0x154]
mov dword [ebx + 0x3254], eax
mov eax, dword [ebp - 0xb0]
mov dword [eax], ebx
xor eax, eax
jmp 0x5c005dfa
mov eax, 0x88760082
call fcn.5c05fa4f
ret 0x14