Function at 0x4043d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x51f620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, 0x53
mov edx, eax
mov word [ebp - 0x7c], ax
mov word [ebp - 0x78], dx
mov ecx, 0x59
mov word [ebp - 0x7a], cx
mov eax, 0x54
mov word [ebp - 0x76], ax
mov ecx, 0x45
mov word [ebp - 0x74], cx
mov eax, 0x5c
mov word [ebp - 0x70], ax
mov edx, 0x4d
mov word [ebp - 0x72], dx
mov ecx, 0x43
mov word [ebp - 0x6e], cx
mov eax, 0x72
mov ecx, eax
mov word [ebp - 0x6a], ax
mov word [ebp - 0x68], cx
mov edx, 0x75
mov word [ebp - 0x6c], dx
mov eax, 0x6e
mov word [ebp - 0x64], ax
mov edx, 0x65
mov word [ebp - 0x66], dx
mov eax, 0x6f
mov word [ebp - 0x5e], ax
mov edx, 0x43
mov word [ebp - 0x60], dx
mov ecx, 0x74
mov word [ebp - 0x62], cx
mov eax, 0x72
mov word [ebp - 0x58], ax
mov edx, 0x74
mov word [ebp - 0x5a], dx
mov ecx, 0x6e
mov word [ebp - 0x5c], cx
mov eax, 0x53
mov word [ebp - 0x52], ax
mov edx, 0x6c
mov word [ebp - 0x54], dx
mov ecx, 0x6f
mov word [ebp - 0x56], cx
mov eax, 0x5c
mov word [ebp - 0x4c], ax
mov edx, 0x74
mov word [ebp - 0x4e], dx
mov ecx, 0x65
mov word [ebp - 0x50], cx
mov eax, 0x72
mov word [ebp - 0x46], ax
mov edx, 0x65
mov ecx, 0x53
mov word [ebp - 0x4a], cx
mov word [ebp - 0x48], dx
mov eax, 0x63
mov edx, 0x69
mov word [ebp - 0x40], ax
mov ecx, 0x76
mov word [ebp - 0x44], cx
mov word [ebp - 0x42], dx
mov edx, 0x73
mov eax, 0x5c
mov ecx, 0x65
mov word [ebp - 0x3a], ax
mov eax, edx
mov word [ebp - 0x3e], cx
mov ecx, 0x6d
mov word [ebp - 0x3c], dx
mov word [ebp - 0x36], dx
mov word [ebp - 0x34], ax
mov edx, 0x62
mov eax, 0x69
mov word [ebp - 0x38], cx
mov word [ebp - 0x32], cx
xor ebx, ebx
mov word [ebp - 0x30], dx
mov word [ebp - 0x2e], ax
mov ecx, 0x6f
mov word [ebp - 0x2c], cx
mov edx, 0x73
mov word [ebp - 0x2a], dx
mov ecx, 0x44
mov word [ebp - 0x26], cx
mov edx, 0x61
mov ecx, edx
mov word [ebp - 0x24], dx
xor edx, edx
mov word [ebp - 0x1e], dx
mov eax, 0x5c
mov word [ebp - 0x28], ax
mov eax, 0x74
mov word [ebp - 0x22], ax
mov word [ebp - 0x20], cx
mov edx, 0x42
mov word [ebp - 0x18], dx
mov eax, 0x53
mov word [ebp - 0x1c], ax
mov edx, 0x73
mov ecx, 0x4d
mov word [ebp - 0x1a], cx
mov word [ebp - 0x12], dx
mov eax, 0x69
mov word [ebp - 0x16], ax
mov edx, 0x74
mov ecx, 0x6f
mov word [ebp - 0x14], cx
mov word [ebp - 0xc], dx
mov eax, 0x44
mov ecx, 0x61
lea edx, [ebp - 0x80]
push edx
mov word [ebp - 0x10], ax
mov eax, ecx
push 0x20019
mov word [ebp - 0xa], ax
push ebx
lea eax, [ebp - 0x7c]
mov word [ebp - 0xe], cx
push eax
xor ecx, ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov word [ebp - 8], cx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x404608
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d9d8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x80]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x84]
push ecx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x1c]
push edx
push eax
mov dword [ebp - 0x84], ebx
call edi
test eax, eax
jne 0x4046b5
mov eax, dword [ebp - 0x84]
cmp eax, ebx
je 0x4046b5
push esi
push eax
call fcn.00450241
mov ecx, dword [ebp - 0x80]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x404668
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d9d8
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x84]
push edx
push esi
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push ecx
call edi
test eax, eax
jne 0x40468f
mov edx, dword [ebp - 0x84]
push edx
push esi
call fcn.00403eb0
add esp, 8
mov bl, al
push esi
call fcn.0045024c
mov eax, dword [ebp - 0x80]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d9d8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0046d9d8
mov esp, ebp
pop ebp
ret