Function at 0x401280
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40d190
mov eax, dword fs:[0]
push eax
sub esp, 0x5a8
mov eax, dword [0x4170b4]
xor eax, esp
mov dword [esp + 0x5a0], eax
push ebx
push esi
push edi
mov eax, dword [0x4170b4]
xor eax, esp
push eax
lea eax, [esp + 0x5b8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x1c]
xor edi, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x2c], esi
cmp eax, edi
jne 0x4012f8
mov dword [esp + 0x40], 0x410f58
push 4
call fcn.00403c40
pop ecx
cmp eax, edi
je 0x40130c
lea ecx, [esp + 0x48]
mov dword [eax], ecx
jmp 0x40130e
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c0], edi
call fcn.00401c73
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
xor ebx, ebx
inc ebx
mov dword [esp + 0x5c0], ebx
cmp esi, edi
je 0x40133a
mov dword [esp + 0x1c], esi
jmp 0x401342
lea eax, [esp + 0x48]
mov dword [esp + 0x1c], eax
push str.Software_syska_settings_
lea eax, [esp + 0xc8]
push 0x65
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call fcn.00405172
add esp, 0xc
push dword [esp + 0x44]
lea eax, [esp + 0xc8]
push 0x65
push eax
call fcn.004052eb
add esp, 0xc
cmp esi, edi
je 0x401407
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc8]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x401427
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x5c]
mov dword [eax + 4], eax
mov dword [esp + 0x60], edi
cmp ecx, dword [esp + 0x5c]
je 0x4013c9
mov esi, dword [ecx]
push ecx
call fcn.00403c1a
pop ecx
mov ecx, esi
cmp esi, dword [esp + 0x5c]
jne 0x4013b8
push dword [esp + 0x5c]
call fcn.00403c1a
pop ecx
push dword [esp + 0x48]
mov dword [esp + 0x60], edi
call fcn.00403c1a
xor eax, eax
pop ecx
mov ecx, dword [esp + 0x5b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5a0]
xor ecx, esp
call fcn.00403c0b
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xc8]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40137f
mov dword [esp + 0x30], ebx
mov ebx, 0x400
push ebx
lea eax, [esp + 0x1b0]
push edi
push eax
mov dword [esp + 0x40], 0x80
call fcn.00404d40
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], ebx
add esp, 0xc
xor ebx, ebx
cmp eax, edi
jne 0x40145c
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1b0]
push ecx
lea ecx, [esp + 0x38]
push ecx
push edi
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x140]
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [esp + 0x3c], 1
cmp eax, edi
jne 0x4016d5
cmp dword [esp + 0x30], 1
jne 0x40166e
lea eax, [esp + 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4014a9
sub eax, edx
mov dword [esp + 0x18], eax
cmp byte [ebp + 0x20], cl
je 0x4014d4
lea eax, [esp + 0x1ac]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4014c5
sub eax, edx
mov dword [esp + 0x68], eax
jmp 0x4014d8
mov dword [esp + 0x68], edi
mov edi, dword [ebp + 0x18]
mov eax, edi
sub eax, ebx
mov dword [esp + 0x64], eax
test esi, esi
je 0x4015a0
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
mov eax, dword [esi + 0x14]
mov esi, dword [esi]
mov dword [esp + 0x7c], eax
je 0x401510
cmp dword [esp + 0x20], esi
je 0x401515
call fcn.00405592
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x24], eax
je 0x40159c
lea esi, [esp + 0x20]
call fcn.00401b62
push dword [esp + 0x18]
push dword [eax]
lea eax, [esp + 0x134]
push eax
call fcn.0040535f
add esp, 0xc
test eax, eax
jne 0x40156c
call fcn.00401b62
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
cmp byte [ecx + eax], 0x3d
je 0x401668
call fcn.00401b62
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
cmp byte [ecx + eax], 0
je 0x401668
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x401598
call fcn.00405592
xor eax, eax
mov esi, dword [esp + 0x24]
cmp esi, dword [eax + 0x14]
jne 0x401589
call fcn.00405592
mov eax, dword [esi]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
jmp 0x4014fa
mov eax, dword [eax]
jmp 0x40157b
mov eax, dword [esp + 0x64]
cmp eax, 1
jle 0x4016d8
mov eax, dword [esp + 0x28]
lea edi, [eax + ebx]
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x14]
lea eax, [esp + 0x70]
push eax
push dword [esi + 4]
mov dword [esp + 0x78], edi
push esi
call fcn.00401d79
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x18]
mov edx, 0x3fffffff
sub edx, ecx
cmp edx, 1
jb 0x401719
mov edx, dword [esp + 0x1c]
inc ecx
mov dword [edx + 0x18], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [esp + 0x64]
lea esi, [eax - 1]
push esi
lea ecx, [esp + 0x130]
push ecx
push eax
push edi
call fcn.004051e5
add esp, 0x10
cmp esi, dword [esp + 0x18]
jb 0x401614
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 0x18]
add ebx, esi
sub eax, ebx
cmp byte [ebp + 0x20], 0
je 0x401667
cmp eax, 1
jle 0x401667
mov esi, dword [esp + 0x28]
lea ecx, [eax - 1]
push ecx
push 0x410f88
push eax
lea eax, [esi + ebx]
push eax
call fcn.004051e5
mov eax, dword [ebp + 0x18]
add esp, 0x10
inc ebx
sub eax, ebx
cmp eax, 1
jle 0x401667
lea ecx, [eax - 1]
push ecx
lea ecx, [esp + 0x1b0]
push ecx
push eax
add esi, ebx
push esi
call fcn.004051e5
add esp, 0x10
add ebx, dword [esp + 0x68]
inc ebx
mov esi, dword [esp + 0x2c]
xor edi, edi
mov eax, 0x400
push eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x1b0]
push edi
push eax
mov dword [esp + 0x40], 0x80
call fcn.00404d40
mov ecx, dword [esp + 0x1c]
add esp, 0xc
cmp ecx, edi
jne 0x40169d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
inc dword [esp + 0x3c]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x1b0]
push edx
lea edx, [esp + 0x38]
push edx
push edi
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x140]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x401494
mov edi, dword [ebp + 0x18]
lea eax, [edi - 1]
cmp ebx, eax
mov eax, dword [esp + 0x28]
jae 0x401758
add eax, ebx
cmp dword [esp + 0x14], 0
mov byte [eax], 0
je 0x401765
push dword [esp + 0x1c]
sub edi, ebx
push dword [ebp + 0x20]
push dword [esp + 0x74]
push edi
push eax
push dword [esp + 0x54]
push dword [esp + 0x8c]
push dword [esp + 0x60]
call fcn.00401280
add esp, 0x20
add ebx, eax
jmp 0x401765
push str.list_T__too_long
lea ecx, [esp + 0x84]
call fcn.00401e00
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x5c4], 2
call fcn.00401103
push 0x415cec
lea eax, [esp + 0xa0]
push eax
call fcn.00406b0a
add eax, edi
mov byte [eax - 2], 0
mov byte [eax - 1], 0
lea ebx, [edi - 2]
cmp dword [esp + 0x10], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x401778
push dword [esp + 0x10]
call esi
cmp dword [esp + 0x14], 0
je 0x401785
push dword [esp + 0x14]
call esi
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x5c]
mov dword [eax + 4], eax
and dword [esp + 0x60], 0
cmp ecx, dword [esp + 0x5c]
je 0x4017b0
mov esi, dword [ecx]
push ecx
call fcn.00403c1a
pop ecx
mov ecx, esi
cmp esi, dword [esp + 0x5c]
jne 0x40179f
push dword [esp + 0x5c]
call fcn.00403c1a
and dword [esp + 0x60], 0
pop ecx
push dword [esp + 0x48]
call fcn.00403c1a
mov eax, ebx
jmp 0x4013e2