Function at 0x404184
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push esi
push edi
mov dword [ebp - 0x248], ecx
mov byte [ebp - 0x238], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x237]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x244], 0
mov byte [ebp - 0x138], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x137]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov word [ebp - 0x27], ax
mov byte [ebp - 0x25], al
mov byte [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x17], ecx
mov dword [ebp - 0x13], ecx
mov word [ebp - 0xf], cx
mov byte [ebp - 0xd], cl
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
push str.SoftwareMotorola_
lea edx, [ebp - 0x138]
push edx
call fcn.00422880
add esp, 8
push 0x44f334
lea eax, [ebp - 0x138]
push eax
call fcn.00422890
add esp, 8
push str.UDiag
lea ecx, [ebp - 0x138]
push ecx
call fcn.00422890
add esp, 8
lea edx, [ebp - 0x244]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0x138]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x38], 0x100
mov ecx, dword [ebp - 0x38]
push ecx
push 0
lea edx, [ebp - 0x238]
push edx
call fcn.00422210
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x240]
push edx
push 0
push str.Udiag
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
push 0x84
push 0
mov ecx, dword [ebp - 0x248]
add ecx, 0x180
push ecx
call fcn.00422210
add esp, 0xc
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x248]
add ecx, 0x180
push ecx
call fcn.00422270
add esp, 0xc
mov edx, dword [ebp - 0x248]
xor eax, eax
mov ax, word [edx + 0x1aa]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x248]
call fcn.004044a2
mov edx, dword [ebp - 0x248]
xor eax, eax
mov ax, word [edx + 0x1a8]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x248]
call fcn.004044ca
mov edx, dword [ebp - 0x248]
xor eax, eax
mov al, byte [edx + 0x183]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x248]
call fcn.004044f2
mov edx, dword [ebp - 0x248]
xor eax, eax
mov al, byte [edx + 0x1d3]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x248]
xor edx, edx
mov dl, byte [ecx + 0x1c9]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x248]
xor ecx, ecx
mov cl, byte [eax + 0x1c8]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x248]
xor eax, eax
mov al, byte [edx + 0x1d3]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x248]
add edx, 0x1bc
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.00422270
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x248]
add edx, 0x1b0
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.00422270
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x248]
call fcn.004047cb
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x404438
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x248]
call fcn.004047cb
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 4]
push edx
push 0x45fdc8
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x248]
call fcn.0040528b
mov esi, dword [ebp - 0x248]
add esi, 0x180
sub esp, 0x84
mov ecx, 0x21
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x248]
call fcn.00403e33
mov esi, dword [ebp - 0x248]
add esi, 0x180
sub esp, 0x84
mov ecx, 0x21
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x248]
call fcn.0040552b
pop edi
pop esi
mov esp, ebp
pop ebp
ret