Function at 0x407c50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x43c
mov eax, dword [0x433060]
xor eax, esp
mov dword [esp + 0x438], eax
mov eax, dword [esp + 0x440]
push ebx
push edi
push 0x206
lea ecx, [esp + 0x36]
push 0
push ecx
mov dword [esp + 0x1c], eax
mov word [esp + 0x3c], 0
call fcn.004186d0
push 0x206
lea edx, [esp + 0x24a]
push 0
push edx
mov word [esp + 0x250], 0
call fcn.004186d0
lea eax, [esp + 0x2c]
mov edi, 0x208
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 1
call fcn.00412540
mov ebx, 8
add esp, 0x1c
cmp dword [eax + 0x18], ebx
jb 0x407cd4
mov eax, dword [eax + 4]
jmp 0x407cd7
add eax, 4
push esi
mov esi, dword [0x42b244]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x18]
push ecx
push str.PreOEM
push eax
push 0x80000002
call esi
cmp dword [esp + 0x30], ebx
jb 0x407d0d
mov edx, dword [esp + 0x1c]
push edx
call fcn.00415da4
add esp, 4
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 1
call fcn.00412540
add esp, 4
cmp dword [eax + 0x18], ebx
jb 0x407d30
mov eax, dword [eax + 4]
jmp 0x407d33
add eax, 4
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x240]
push edx
lea ecx, [esp + 0x18]
push ecx
push 0x42d680
push eax
push 0x80000002
call esi
cmp dword [esp + 0x30], ebx
jb 0x407d65
mov edx, dword [esp + 0x1c]
push edx
call fcn.00415da4
add esp, 4
cmp word [esp + 0x34], 0
jne 0x407e4c
push str.h_lvse
push 0x42d698
mov eax, 0x207
lea edi, [esp + 0x3c]
call fcn.00407ab0
mov eax, edi
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407d91
sub eax, edx
sar eax, 1
mov esi, eax
lea eax, [esp + 0x18]
push eax
call fcn.00412540
add esp, 4
cmp dword [eax + 0x18], ebx
jb 0x407db9
mov eax, dword [eax + 4]
jmp 0x407dbc
add eax, 4
mov edi, dword [0x42b25c]
lea ecx, [esi + esi + 2]
push ecx
lea edx, [esp + 0x38]
push edx
push 1
push str.PreOEM
push eax
push 0x80000002
call edi
cmp dword [esp + 0x30], ebx
jb 0x407dee
mov eax, dword [esp + 0x1c]
push eax
call fcn.00415da4
add esp, 4
lea eax, [esp + 0x34]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407df5
sub eax, edx
lea ecx, [esp + 0x18]
sar eax, 1
push ecx
mov esi, eax
call fcn.00412540
add esp, 4
cmp dword [eax + 0x18], ebx
jb 0x407e1d
mov eax, dword [eax + 4]
jmp 0x407e20
add eax, 4
lea edx, [esi + esi + 2]
push edx
lea ecx, [esp + 0x38]
push ecx
push 1
push str.OEMName
push eax
push 0x80000002
call edi
cmp dword [esp + 0x30], ebx
jb 0x407e4c
mov edx, dword [esp + 0x1c]
push edx
call fcn.00415da4
add esp, 4
lea eax, [esp + 0x34]
lea edx, [eax + 2]
pop esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407e54
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x10]
push ecx
call fcn.00406120
lea eax, [esp + 0x238]
pop edi
lea edx, [eax + 2]
pop ebx
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407e80
sub eax, edx
sar eax, 1
je 0x407ec1
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x234]
push eax
call fcn.00417870
add esp, 8
test eax, eax
jne 0x407ec1
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.00416130
add esp, 0x43c
ret 4
mov ecx, dword [esp + 0x438]
xor ecx, esp
mov eax, 1
call fcn.00416130
add esp, 0x43c
ret 4