Function at 0x42d290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff81b
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x83c], eax
xor eax, eax
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
cmp word [edx], ax
jne 0x42d315
xor ecx, ecx
jmp 0x42d32f
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d320
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.00407280
mov dword [ebp - 4], 0
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 0
call fcn.0048b820
test al, al
je 0x42d38f
pop esi
pop esi
pop eax
push edi
pop ebx
push edx
pop ebx
push edi
push edx
push ebp
pop esp
push esi
pop edx
push eax
pop ecx
pop eax
pop ebx
push edx
push ebp
pop edi
pop esi
push eax
push edi
pop esi
push esi
pop ebp
pop eax
push eax
push ebp
pop ebp
push ebp
mov ebx, dword [ebp - 0x82c]
call fcn.0048bf20
test al, al
je 0x42d3aa
push edi
push esp
push esi
push esp
pop ecx
pop ecx
push esi
push ebp
push ebp
pop edi
pop edx
pop esp
push esp
push edi
pop esi
pop esi
pop esp
pop ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x838]
push eax
push 0x20119
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x42d414
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0x828]
push eax
call fcn.00406c30
mov ecx, dword [ebp - 0x814]
cmp ecx, 8
jb 0x42d40d
inc ecx
push ecx
push dword [ebp - 0x828]
lea ecx, [ebp - 0x828]
call fcn.00407380
mov eax, ebx
jmp 0x42d6b5
call fcn.0048b6d0
test al, al
je 0x42d437
pop edx
pop edx
push esi
pop esp
pop edi
pop eax
pop ebx
push eax
pop edx
push eax
push eax
push eax
pop ebp
push esi
push edi
push esp
push ecx
push ebx
pop edx
push ebx
push esp
push edx
push ebx
pop edi
push esp
push ebx
call fcn.0048bac0
test al, al
je 0x42d45f
pop edi
pop esi
push ecx
pop ecx
pop edi
push ebx
pop ebx
push esp
pop esi
pop ebx
pop edx
push esp
pop ebx
pop edx
pop ebp
pop esp
pop edx
push esi
push esi
push ecx
pop ebx
push eax
pop edi
push edx
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x834]
push eax
push 0x20119
push 0
push dword [ebp - 0x840]
push dword [ebp - 0x838]
call esi
test eax, eax
je 0x42d4d7
push dword [ebp - 0x838]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x82c]
xor eax, eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x828]
push eax
call fcn.00406c30
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x42d4d0
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.00407380
mov eax, esi
jmp 0x42d6b5
lea eax, [ebp - 0x830]
push eax
push 0x20119
push 0
push dword [ebp - 0x844]
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x42d546
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
mov esi, dword [ebp - 0x82c]
xor eax, eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x828]
push eax
call fcn.00406c30
lea ecx, [ebp - 0x828]
call fcn.00405db0
mov eax, esi
jmp 0x42d6b5
call fcn.0048be40
test al, al
je 0x42d561
push ecx
pop edx
pop ecx
pop esi
push ebx
pop ebp
pop eax
push eax
pop esi
pop esi
push ecx
pop ebx
push ebx
push esp
push esp
pop ebp
push eax
push ebx
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.005d4520
add esp, 0xc
mov dword [ebp - 0x848], 0x400
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push dword [ebp - 0x83c]
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x830]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
call fcn.0048bf90
test al, al
je 0x42d5d3
push edx
pop ebp
pop edi
push edx
push ebx
push edi
pop ebx
push edi
push edx
push esp
pop esp
push edx
push edx
pop ebx
push ecx
pop edx
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0048b9e0
test al, al
je 0x42d5f9
pop esp
push esi
pop eax
pop ebx
pop edx
pop esi
pop edx
push ebp
pop esp
push edx
pop ebp
push esi
push edi
pop ebx
push esp
push ebp
push ecx
push eax
push ecx
pop esp
pop esp
push esp
push esp
push esp
push ebp
push ebx
push ecx
push esp
push edx
push dword [ebp - 0x834]
call edi
push dword [ebp - 0x838]
call edi
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d612
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x83c], ecx
call fcn.0048bb30
test al, al
je 0x42d648
push ecx
push ebp
pop esp
pop ebx
push ebx
push esi
pop eax
pop edi
pop edi
pop eax
pop esp
pop ecx
pop ebp
pop esi
push edi
push ebp
push eax
pop ecx
pop ebp
pop eax
push edi
pop ecx
push ecx
pop ecx
call fcn.0048b6d0
test al, al
je 0x42d66a
push esp
push ebx
push ecx
push esp
push edi
push ebx
push ecx
pop eax
pop edx
push ebp
pop edi
push ecx
push ecx
push esp
pop ebx
pop esi
push eax
pop edx
push esi
push esp
pop ebp
pop eax
pop ebp
pop esi
push edx
call fcn.0048b430
test al, al
je 0x42d685
pop edx
push esi
pop edi
push esp
pop esi
pop esi
pop esi
pop ebx
push ecx
pop ebx
push esi
push esi
push ebp
push ebp
push edi
pop ebx
pop edx
pop eax
cmp dword [ebp - 0x83c], 0
je 0x42d50d
mov ecx, dword [ebp - 0x82c]
lea eax, [ebp - 0x810]
push eax
call fcn.00405d50
lea ecx, [ebp - 0x828]
call fcn.00405db0
mov eax, dword [ebp - 0x82c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret