Function at 0x570978
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x570980
push ecx
push ebx
push esi
push edi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x57107f
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [0x571090]
push eax
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [0x7534c4]
mov eax, dword [eax]
call fcn.004776b0
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.0040ade4
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov edx, 0x57109c
call fcn.00410074
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x7534c4]
mov eax, dword [eax]
call fcn.00476c4c
lea edx, [ebp - 0x4c]
mov eax, dword [0x7534c4]
mov eax, dword [eax]
call fcn.004776b0
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.0040aca8
lea eax, [ebp - 0x48]
mov edx, 0x5710ac
call fcn.00404f30
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x4786d4]
call fcn.00478784
mov dword [ebp - 0x30], eax
push 0
mov ecx, 0x5710c4
mov edx, 0x5710dc
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx + 8]
mov esi, eax
push 0x5710f0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x5710fc
mov edx, 0x5710dc
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x571110
mov edx, 0x5710dc
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x24]
call fcn.0053b14c
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x24]
call fcn.00404cf8
lea ecx, [ebp - 0x58]
mov dx, 0x64
mov eax, dword [ebp - 0x24]
call fcn.0053b634
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00409e38
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x24]
call fcn.00404cf8
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x571124
mov edx, 0x5710dc
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx]
push 0x571138
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x571144
mov edx, 0x5710dc
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx]
push 0
mov ecx, 0x571158
mov edx, 0x5710dc
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov ebx, eax
push 0
mov ecx, 0x57116c
mov edx, 0x5710dc
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, dword [ebp - 4]
mov byte [edx + 0x68], al
mov eax, dword [ebp - 4]
add eax, 0x180
call fcn.00404c60
mov eax, dword [ebp - 4]
cmp byte [eax + 0x68], 0
je 0x570b6d
lea edx, [ebp - 0x60]
mov eax, dword [0x7534c4]
mov eax, dword [eax]
call fcn.004776b0
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.0040aca8
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x34]
mov ecx, 0x57117c
call fcn.00404f74
jmp 0x570b47
mov eax, dword [ebp - 0x34]
call fcn.0053aa90
mov eax, dword [ebp - 0x34]
call fcn.0053ac00
test al, al
jne 0x570b3f
mov eax, dword [ebp - 4]
add eax, 0x6c
push eax
mov eax, dword [ebp - 0x34]
call fcn.00405120
xor ecx, ecx
mov dx, 0x4e20
call fcn.0053b53c
mov dl, 1
mov eax, dword [0x47968c]
call fcn.00479790
mov dword [ebp - 0x10], eax
cmp esi, 1
jne 0x570bc1
mov eax, dword [ebp - 4]
add eax, 0x64
mov edx, dword [ebp - 0x24]
call fcn.00404cb4
push 0x5711ac
push dword [ebp - 0x24]
push 0x5711d4
push dword [ebp - 0x20]
push 0x571204
push dword [ebp - 0x28]
push 0x571220
push dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
mov edx, 8
call fcn.00404fe8
jmp 0x570d1c
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.0047986c
call fcn.0053aeac
test al, al
je 0x570be3
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0x20119
jmp 0x570bed
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0x20219
xor ecx, ecx
mov edx, 0x571238
mov eax, dword [ebp - 0x10]
call fcn.004799b0
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x571258
mov edx, 0x571268
mov eax, dword [ebp - 0x10]
call fcn.00479e4c
mov eax, dword [ebp - 0x14]
mov edx, 0x571278
call fcn.0040506c
je 0x570c58
push 0x10
push 0x5712a0
push 0x5712ac
mov eax, dword [0x7534c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, dword [ebp - 0x10]
call fcn.0047983c
mov eax, dword [ebp - 0x10]
call fcn.00403d90
mov byte [ebp - 6], 0
jmp 0x571037
mov eax, dword [ebp - 0x10]
call fcn.0047983c
xor ecx, ecx
mov edx, 0x5712dc
mov eax, dword [ebp - 0x10]
call fcn.004799b0
mov edx, 0x57130c
mov eax, dword [ebp - 0x10]
call fcn.00479d10
test al, al
je 0x570ce7
mov edx, 0x57130c
mov eax, dword [ebp - 0x10]
call fcn.00479b24
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
call fcn.00404d50
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x571320
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov edx, dword [ebp - 0x1c]
dec edx
lea eax, [ebp - 0xc]
call fcn.004052ac
lea ecx, [ebp - 0x64]
mov dx, 0x64
mov eax, dword [ebp - 0xc]
call fcn.0053b634
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0xc]
call fcn.00404cf8
mov eax, dword [ebp - 0x10]
call fcn.0047983c
xor ecx, ecx
mov edx, 0x57133c
mov eax, dword [ebp - 0x10]
call fcn.004799b0
push 0
mov ecx, 0x571158
mov edx, 0x571124
mov eax, dword [ebp - 0x10]
call fcn.0047a1b8
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.0047983c
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov eax, 0x571360
call fcn.00570790
mov eax, dword [ebp - 4]
add eax, 0x64
mov edx, dword [ebp - 0x24]
call fcn.00404cb4
test bl, bl
je 0x570e94
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, 0x571374
call fcn.00570790
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, 0x571388
call fcn.00570790
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0xc]
mov eax, 0x5713a4
call fcn.00570790
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x2c]
call fcn.00409e38
xor eax, eax
push ebp
push 0x570e8d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0053be18
push 0
mov eax, dword [ebp - 0x28]
call fcn.00405120
push eax
mov eax, dword [ebp - 0x24]
call fcn.00405120
push eax
mov eax, dword [ebp - 0x20]
call fcn.00405120
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00405120
push eax
call fcn.0053bfc0
mov edx, dword [ebp - 0x2c]
mov eax, 0x5713bc
call fcn.00405264
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x570e7a
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov edx, 1
call fcn.004051c0
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x5713c8
call fcn.00404f74
mov eax, dword [ebp - 0x2c]
call fcn.00405120
push eax
call fcn.0053c138
mov dword [ebp - 0x1c], eax
push 0
push 0
call fcn.0053c0d0
test al, al
je 0x570e7a
test esi, esi
jne 0x570e66
xor ecx, ecx
mov edx, 0x57133c
mov eax, dword [ebp - 0x10]
call fcn.004799b0
call fcn.0053aeac
test al, al
je 0x570e3b
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0x20106
jmp 0x570e45
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0x20206
push 0x5713d8
mov ecx, 0x571158
mov edx, 0x571124
mov eax, dword [ebp - 0x10]
call fcn.00479f18
mov eax, dword [ebp - 0x10]
call fcn.0047983c
jmp 0x570e7a
push 0
mov ecx, 0x571158
mov edx, 0x5710dc
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x570e94
call fcn.0053be3c
ret
cmp dword [ebp - 0xc], 0
jne 0x570ecf
push 0x10
push 0x5712a0
push 0x5713dc
mov eax, dword [0x7534c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, dword [ebp - 0x10]
call fcn.0047983c
mov eax, dword [ebp - 0x10]
call fcn.00403d90
mov byte [ebp - 6], 0
jmp 0x571037
xor eax, eax
push ebp
push 0x570f8a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x570f37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [eax]
call dword [edx + 0x38]
test al, al
je 0x570f05
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.004c1e10
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0xc]
call fcn.00405538
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00509238
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.004c1e08
mov byte [ebp - 6], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x570f6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x570f91
mov eax, dword [ebp - 0x10]
call fcn.00403d90
mov eax, dword [ebp - 0x30]
call fcn.00403d90
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x571086
lea eax, [ebp - 0x6c]
call fcn.00405394
lea eax, [ebp - 0x68]
mov edx, 0xc
call fcn.00404c84
lea eax, [ebp - 0x34]
call fcn.00404c60
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404c84
lea eax, [ebp - 0x14]
call fcn.00404c60
lea eax, [ebp - 0xc]
call fcn.00404c60
ret