Function at 0x413d50
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4445d8
mov eax, dword fs:[0]
push eax
sub esp, 0x710
mov eax, dword [0x4629b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x640]
push 0xc
mov dword [ebp - 0x6e4], eax
mov dword [ebp - 0x634], 0
call fcn.0040ba70
lea ecx, [ebp - 0x640]
call fcn.0040d9a0
push 0x4610a0
lea ecx, [ebp - 0x6a0]
mov dword [ebp - 4], 0
call fcn.00405090
lea eax, [ebp - 0x6a0]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x640]
push eax
push 0x46b50c
call fcn.0040b220
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6a0]
call fcn.004050d0
xor edi, edi
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x6e0], edi
call fcn.0040c280
test eax, eax
je 0x414520
push 4
push str.__n___
push edi
lea ecx, [ebp - 0x640]
call fcn.0040df90
push eax
lea eax, [ebp - 0x6a0]
push eax
call fcn.0040c410
add esp, 0x10
lea ecx, [ebp - 0x6a0]
mov byte [ebp - 4], 2
mov esi, 0x454410
call fcn.00409580
nop
mov cx, word [eax]
cmp cx, word [esi]
jne 0x413e66
test cx, cx
je 0x413e62
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x413e66
add eax, 4
add esi, 4
test cx, cx
jne 0x413e40
xor eax, eax
jmp 0x413e6b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x413e82
lea ecx, [ebp - 0x6a0]
mov byte [ebp - 4], al
call fcn.004050d0
jmp 0x414506
push 3
push str.__n___
push edi
lea ecx, [ebp - 0x640]
call fcn.0040df90
push eax
lea eax, [ebp - 0x6d0]
push eax
call fcn.0040c410
add esp, 0x10
lea ecx, [ebp - 0x6d0]
mov byte [ebp - 4], 3
mov esi, 0x454410
call fcn.00409580
nop dword [eax]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x413eee
test cx, cx
je 0x413ee2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x413eee
add eax, 4
add esi, 4
test cx, cx
jne 0x413ec0
mov dword [ebp - 0x6e8], 0
jmp 0x413ef9
sbb eax, eax
or eax, 1
mov dword [ebp - 0x6e8], eax
push edi
lea ecx, [ebp - 0x640]
call fcn.0040df90
push 5
push 0x4610a4
mov ecx, eax
call fcn.0040bce0
push edi
lea ecx, [ebp - 0x640]
mov esi, eax
call fcn.0040df90
push esi
push 0
lea ecx, [ebp - 0x6b8]
push ecx
mov ecx, eax
call fcn.0040c590
push 0x200
lea eax, [ebp - 0x630]
push 0
push eax
call fcn.0042f620
add esp, 0xc
lea ecx, [ebp - 0x6b8]
call fcn.00409580
push 0x1e
mov ecx, 0x469a38
mov edi, eax
call fcn.0040df90
mov ecx, eax
call fcn.00409580
mov ecx, dword [ebp - 0x6e4]
mov esi, eax
call fcn.00409580
push edi
push esi
push eax
push str._s_s_s
lea eax, [ebp - 0x630]
push 0xffffffffffffffff
push eax
call fcn.0040d4b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x6dc]
add esp, 0x18
mov dword [ebp - 0x6dc], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x630]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4144db
push 0x200
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0042f620
push 0x100
lea eax, [ebp - 0x330]
push 0
push eax
call fcn.0042f620
push 0x100
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.0042f620
add esp, 0x24
xor edi, edi
nop
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x64c]
mov dword [ebp - 0x64c], 0x100
push eax
lea eax, [ebp - 0x330]
push eax
push edi
push dword [ebp - 0x6dc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4144cf
lea eax, [ebp - 0x330]
push eax
push 0x4610a4
lea eax, [ebp - 0x630]
push eax
push str._s_s_s
lea eax, [ebp - 0x230]
push 0xffffffffffffffff
push eax
call fcn.0040d4b0
add esp, 0x18
mov dword [ebp - 0x6d8], 0
lea eax, [ebp - 0x6d8]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x230]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4144c2
push 0x19
mov ecx, 0x469a38
mov dword [ebp - 0x634], 0x100
call fcn.0040df90
mov ecx, eax
call fcn.00409580
lea ecx, [ebp - 0x634]
push ecx
lea ecx, [ebp - 0x430]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x6d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4144ae
push 0x1b
mov ecx, 0x469a38
mov dword [ebp - 0x6d4], eax
call fcn.0040df90
mov ecx, eax
call fcn.00409580
mov ecx, dword [ebp - 0x6e4]
mov esi, eax
call fcn.00409580
lea ecx, [ebp - 0x430]
push ecx
push esi
push eax
push str._s_s_s
lea eax, [ebp - 0x230]
push 0xffffffffffffffff
push eax
call fcn.0040d4b0
add esp, 0x18
lea eax, [ebp - 0x6d4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x230]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4144ae
xorps xmm0, xmm0
mov dword [ebp - 0x634], 0x10
push 0x56
mov ecx, 0x469a38
movlpd qword [ebp - 0x648], xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x654], xmm0
call fcn.0040df90
mov ecx, eax
call fcn.00409580
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x634]
push ecx
lea ecx, [ebp - 0x654]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x6d4]
call esi
push 0x57
mov ecx, 0x469a38
mov dword [ebp - 0x634], 0x10
call fcn.0040df90
mov ecx, eax
call fcn.00409580
lea ecx, [ebp - 0x634]
push ecx
lea ecx, [ebp - 0x648]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x6d4]
call esi
mov esi, dword [ebp - 0x650]
mov edx, dword [ebp - 0x644]
cmp esi, edx
jb 0x414202
mov eax, dword [ebp - 0x654]
ja 0x4141f0
mov ecx, dword [ebp - 0x648]
cmp eax, ecx
jbe 0x414208
mov ecx, eax
mov edx, esi
mov dword [ebp - 0x648], ecx
mov dword [ebp - 0x644], edx
jmp 0x414208
mov ecx, dword [ebp - 0x648]
mov eax, ecx
or eax, edx
je 0x414271
mov dword [0x46c208], 1
test edx, edx
jne 0x41423c
cmp ecx, 0x40000000
jae 0x41423c
push 0x44be84
call fcn.0042e2c0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x456c3c]
jmp 0x414252
push 0x44be8c
call fcn.0042e2c0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x456c34]
sub esp, 8
lea eax, [ebp - 0x30]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push 0x454414
push 0xffffffffffffffff
push eax
call fcn.0040d490
add esp, 0x18
lea ecx, [ebp - 0x688]
call fcn.004050b0
push 2
push str.__n___
push dword [ebp - 0x6e0]
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], 5
call fcn.0040df90
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.0040c410
add esp, 0x10
cmp dword [ebp - 0x6e8], 0
mov byte [ebp - 4], 6
je 0x41440a
push 0x200
lea eax, [ebp - 0x230]
mov dword [ebp - 0x634], 0x200
push 0
push eax
call fcn.0042f620
add esp, 0xc
mov ecx, 0x469a38
push 0x38
call fcn.0040df90
mov ecx, eax
call fcn.00409580
lea ecx, [ebp - 0x634]
push ecx
lea ecx, [ebp - 0x230]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x6d4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x414340
push dword [ebp - 0x6d4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x6d8]
call esi
lea ecx, [ebp - 0x670]
call fcn.004050d0
lea ecx, [ebp - 0x688]
call fcn.004050d0
jmp 0x4144bc
push 0x46109c
lea eax, [ebp - 0x688]
push eax
sub esp, 0x18
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
call fcn.00405090
call fcn.0040c7e0
add esp, 0x20
lea eax, [ebp - 0x704]
lea ecx, [ebp - 0x670]
push 3
push 0
push eax
call fcn.0040c590
push eax
lea ecx, [ebp - 0x670]
call fcn.004050f0
lea ecx, [ebp - 0x704]
call fcn.004050d0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x704]
push eax
call fcn.00404b30
add esp, 0xc
lea ecx, [ebp - 0x670]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x704]
call fcn.004050d0
lea ecx, [ebp - 0x688]
lea esi, [ebp - 0x30]
call fcn.00409580
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4143fa
test cx, cx
je 0x4143f6
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4143fa
add eax, 4
add esi, 4
test cx, cx
jne 0x4143d4
xor eax, eax
jmp 0x4143ff
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41440a
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
push 0x469a44
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x71c]
push eax
call fcn.00404aa0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x704]
push eax
call fcn.00404a70
add esp, 0x18
lea ecx, [ebp - 0x688]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x704]
call fcn.004050d0
lea ecx, [ebp - 0x71c]
call fcn.004050d0
lea ecx, [ebp - 0x688]
call fcn.00409580
push eax
mov eax, dword [ebp - 0x6e0]
add eax, 0x238f
push eax
push dword [0x46c138]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [ebp - 0x6d4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x6d8]
call esi
lea ecx, [ebp - 0x670]
call fcn.004050d0
lea ecx, [ebp - 0x688]
call fcn.004050d0
jmp 0x4144b4
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x6d8]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
inc edi
cmp edi, 0x3e8
jb 0x414000
push dword [ebp - 0x6dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x6b8]
call fcn.004050d0
lea ecx, [ebp - 0x6d0]
call fcn.004050d0
lea ecx, [ebp - 0x6a0]
mov byte [ebp - 4], 0
call fcn.004050d0
mov edi, dword [ebp - 0x6e0]
inc edi
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x6e0], edi
call fcn.0040c280
cmp edi, eax
jb 0x413e08
lea ecx, [ebp - 0x658]
call fcn.0040d9a0
lea ecx, [ebp - 0x640]
push ecx
mov ecx, eax
call fcn.0042bf00
lea ecx, [ebp - 0x658]
call fcn.0040de10
lea ecx, [ebp - 0x640]
call fcn.0040de10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d960
mov esp, ebp
pop ebp
ret