Function at 0x5c1430
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x81b823
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x520
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov dword [esp + 0x30], ebp
mov eax, dword [esi]
mov byte [esi + 0x8c], 0
mov byte [esi + 0x8d], 0
mov dword [esi + 0x90], 0xffffffff
call dword [eax + 4]
mov cl, byte [esp + 0x12]
push ebp
mov byte [esp + 0x44], cl
lea ecx, [esp + 0x44]
mov ebx, eax
call fcn.00404c40
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
lea ecx, [esp + 0x48]
call fcn.004030a0
mov eax, dword [esp + 0x540]
lea edx, [esp + 0x40]
lea edi, [esi + 4]
xor ebx, ebx
push edx
push eax
mov ecx, edi
mov dword [esp + 0x540], ebx
mov dword [esp + 0x3c], edi
call fcn.005c3f10
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x53c], 0xffffffff
call fcn.00404c40
push ebx
call fcn.007ae798
mov edx, dword [esi + 0x44]
mov ecx, eax
sub ecx, edx
mov eax, 0xc22e4507
imul ecx
add edx, ecx
add esp, 4
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
jns 0x5c1505
mov byte [esi + 0x8c], 1
call fcn.0057c470
push ebx
mov dword [esp + 0x18], eax
call fcn.007ae798
mov ecx, dword [esp + 0x18]
add eax, 0x15180
add esp, 4
cmp ecx, eax
jle 0x5c152d
mov byte [esi + 0x8c], 1
jmp 0x5c1540
mov eax, dword [esi + 0x44]
add eax, 0x15180
cmp eax, ecx
jge 0x5c1540
mov ecx, edi
call fcn.005c4e50
mov dl, byte [esp + 0x12]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20], dl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov dword [esp + 0x53c], 1
call dword [eax]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
test edi, edi
jne 0x5c157e
xor edx, edx
jmp 0x5c1595
mov ecx, dword [esp + 0x28]
mov eax, 0x38e38e39
sub ecx, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp dword [esp + 0x18], edx
je 0x5c19d4
mov eax, dword [edi + ebx + 8]
test eax, eax
jne 0x5c15ac
mov eax, 0x8522f4
mov edx, dword [edi + ebx]
lea ecx, [esp + 0x38]
push ecx
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5c19bf
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], 0x400
mov eax, dword [eax + ebx + 0x18]
test eax, eax
jne 0x5c15e1
mov eax, 0x8522f4
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x130]
push ecx
push edx
push 0
push 0
push eax
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5c19ad
mov dword [esp + 0x68], 0x866eac
mov dword [esp + 0xa0], 0x866ea0
or ebp, 1
or ebp, 2
mov dword [esp + 0x30], ebp
push eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x53c], 3
call fcn.0058e250
or ebp, 4
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x64]
mov dword [esp + 0x538], 4
call fcn.006e0020
push 0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x53c], 5
call fcn.0058f2c0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x538], 6
call fcn.005ecc50
lea ecx, [esp + 0x80]
mov byte [esp + 0x538], 7
call fcn.005ecc50
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x64], 0x866e2c
mov edx, dword [ecx + 8]
mov dword [esp + edx + 0x68], 0x866e1c
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x68], 0x866df0
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 0xc]
mov dword [esp + eax + 0x68], 0x866dd8
mov edx, dword [esi]
lea eax, [esp + 0xec]
push eax
mov ecx, esi
mov byte [esp + 0x53c], 8
call dword [edx + 0xc]
mov edi, eax
mov edx, dword [esi]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov byte [esp + 0x53c], 9
call dword [edx + 8]
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x53c], 0xa
call fcn.005ed0cb
push edi
lea ecx, [esp + 0x84]
call fcn.005ed0cb
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x540], 0xb
call fcn.005f0ad8
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
push eax
push ecx
lea ecx, [esp + 0xf8]
mov byte [esp + 0x540], 0xc
call fcn.005f0ad8
mov byte [esp + 0x538], 8
lea edx, [esp + 0x12]
push edx
lea ecx, [esp + 0xb4]
call fcn.00478ac0
lea eax, [esp + 0x1f]
lea ecx, [esp + 0xc0]
push eax
mov byte [esp + 0x53c], 0xd
call fcn.00478ac0
lea ecx, [esp + 0x13]
mov byte [esp + 0x538], 0xe
push ecx
lea ecx, [esp + 0xd8]
call fcn.00478ac0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x538], 0xf
call fcn.005c2cf0
mov dl, byte [esp + 0x13]
mov edi, dword [esp + 0x3c]
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x53c], 0x10
mov byte [esp + 0x58], dl
call fcn.00404c40
lea eax, [esp + 0x130]
push edi
push eax
lea ecx, [esp + 0x5c]
call fcn.004030a0
lea ecx, [esp + 0x54]
lea edx, [esp + 0x64]
push ecx
push edx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x540], 0x11
call fcn.005c2f20
test al, al
je 0x5c18c9
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x120]
push eax
call fcn.005c2d10
mov edi, eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x538], 0x12
push ecx
lea ecx, [esp + 0xac]
call fcn.005c2bb0
push edi
mov ecx, eax
mov byte [esp + 0x53c], 0x13
call fcn.00482f80
test eax, eax
je 0x5c1893
mov edi, dword [str.A1234567890000000000]
lea edx, [esp + 0x100]
push edx
lea ecx, [esp + 0xac]
call fcn.005c3860
push edi
mov ecx, eax
mov byte [esp + 0x53c], 0x14
call fcn.00482fd0
test eax, eax
push 1
lea ecx, [esp + 0x104]
sete bl
mov byte [esp + 0x53c], 0x13
call fcn.00404c40
test bl, bl
je 0x5c1895
mov bl, 1
push 1
lea ecx, [esp + 0x114]
mov byte [esp + 0x53c], 0x12
call fcn.00404c40
push 1
lea ecx, [esp + 0x124]
mov byte [esp + 0x53c], 0x11
call fcn.00404c40
test bl, bl
je 0x5c18c9
mov bl, 1
jmp 0x5c18cb
xor bl, bl
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x53c], 0x10
call fcn.00404c40
test bl, bl
je 0x5c1956
mov ecx, dword [esp + 0xac]
mov al, byte [esp + 0xa8]
push 0xffffffffffffffff
lea edx, [esp + 0xb4]
mov dword [esi + 0x4c], ecx
push 0
push edx
lea ecx, [esi + 0x50]
mov byte [esi + 0x48], al
call fcn.00402e90
push 0xffffffffffffffff
lea eax, [esp + 0xc4]
push 0
push eax
lea ecx, [esi + 0x60]
call fcn.00402e90
mov ecx, dword [esp + 0xd0]
push 0xffffffffffffffff
lea edx, [esp + 0xd8]
mov dword [esi + 0x70], ecx
push 0
push edx
lea ecx, [esi + 0x74]
call fcn.00402e90
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], ecx
push 1
lea ecx, [esp + 0xd8]
mov byte [esp + 0x53c], 0x16
call fcn.00404c40
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x53c], 0x15
call fcn.00404c40
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x53c], 8
call fcn.00404c40
lea ecx, [esp + 0x64]
mov byte [esp + 0x538], 1
call fcn.0058e400
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esi + 0x48]
test al, al
jne 0x5c19d0
mov ecx, dword [esp + 0x18]
inc ecx
add ebx, 0x24
mov dword [esp + 0x18], ecx
jmp 0x5c156e
mov edi, dword [esp + 0x24]
mov al, byte [esi + 0x48]
test al, al
jne 0x5c1a22
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 0x10]
push 0
add edi, eax
call fcn.007ae798
mov ecx, eax
mov eax, dword [esi + 0x44]
sub ecx, eax
mov eax, 0xc22e4507
imul ecx
add edx, ecx
add esp, 4
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, edi
jle 0x5c1a1e
mov ecx, dword [esp + 0x34]
call fcn.005c4e50
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x538], 0xffffffff
cmp edi, esi
je 0x5c1a49
push 0
mov ecx, edi
call fcn.005c2a00
add edi, 0x24
cmp edi, esi
jne 0x5c1a35
mov edi, dword [esp + 0x24]
push edi
call fcn.007d7349
mov ecx, dword [esp + 0x534]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x52c
ret 4