Function at 0x41a2b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5947b2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5defc4], 8
mov edx, 0x5defb0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
cmovae edx, dword [0x5defb0]
mov ecx, edx
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x3c], xmm0
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a320
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.00403d10
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xd0]
call fcn.004e9f00
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x41a38f
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a385
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41a385
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
push 0x48
call fcn.0052d778
add esp, 4
mov dword [ebp - 0xc8], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00422a50
push 0x10
mov edi, eax
mov byte [ebp - 4], 2
call fcn.0052d778
add esp, 4
mov dword [ebp - 0xc8], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040b810
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0xcc], eax
push str.Adapter
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.00403d10
mov eax, dword [ebp - 0xd0]
test eax, eax
jne 0x41a40f
mov dword [ebp - 0xbc], 1
jmp 0x41a465
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0xc4]
push edx
lea edx, [ebp - 0xc8]
mov dword [ebp - 0xc4], 4
push edx
lea edx, [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41a453
mov dword [ebp - 0xbc], 1
jmp 0x41a465
xor eax, eax
cmp dword [ebp - 0xc0], 4
setne al
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0x3c]
call fcn.00403990
xor eax, eax
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 7
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x5c], ax
cmp byte [ebp - 0xbc], al
je 0x41a713
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 5
call fcn.0041b700
mov edx, dword [0x5de0d0]
mov ecx, dword [0x5de0d4]
call fcn.004e9bf0
mov ecx, eax
movss xmm1, dword [0x5de0c8]
mov eax, dword [0x5de0d4]
cdq
idiv ecx
mov esi, eax
mov eax, dword [0x5de0d4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si ecx, xmm0
sub eax, ecx
cdq
idiv esi
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x41a545
mov ecx, dword [eax + 8]
mov esi, dword [eax + 4]
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x41a514
push eax
push 0x5bd430
jmp 0x41a535
cmp dword [esi + 0x18], 8
lea edx, [esi + 4]
jb 0x41a51f
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a524
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.004039f0
movss xmm1, dword [0x5de0c8]
test edi, edi
je 0x41a6f9
mov eax, dword [ebp - 0xb8]
mov esi, edi
cmp eax, dword [edi + 4]
jae 0x41a56a
imul eax, eax, 0x130
add eax, dword [edi + 0x30]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x24], xmm0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xa4], eax
call fcn.0041e7a0
mov eax, dword [ebp - 0xb8]
add esp, 4
cmp eax, dword [edi + 4]
jae 0x41a5ae
imul ecx, eax, 0x130
mov eax, dword [esi + 0x30]
movups xmm0, xmmword [ecx + eax + 0x10]
movups xmmword [ebp - 0x34], xmm0
mov edx, dword [0x5de0d0]
mov ecx, dword [0x5de0d4]
call fcn.004e9bf0
mov ecx, eax
movd xmm0, dword [0x5de0d4]
mov eax, dword [0x5de0d4]
mov esi, 1
cdq
idiv ecx
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0xbc], eax
mov eax, dword [0x5de0d0]
cdq
push 0x300
idiv ecx
mulss xmm0, xmm1
push 0
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x24]
push 0x10ca0000
cvttss2si ecx, xmm0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
movd xmm0, dword [0x5de0d0]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x1c], ecx
mulss xmm0, xmm1
cvttss2si ecx, xmm0
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
movd xmm0, dword [0x5de0d4]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x5de0c8]
cvttss2si edx, xmm0
movd xmm0, dword [0x5de0d0]
cvtdq2ps xmm0, xmm0
add eax, edx
add ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0xc4], ecx
mulss xmm0, dword [0x5de0c8]
cvttss2si ecx, xmm0
add eax, ecx
mov ecx, dword [ebp - 0x28]
add ecx, eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc8], ecx
add eax, edx
cvttss2si ecx, xmm0
add ecx, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0xc4]
jg 0x41a6c7
mov edx, dword [0x5de0d4]
cmp ecx, dword [ebp - 0xc8]
jg 0x41a6c7
cmp eax, edx
je 0x41a6c7
add eax, dword [ebp - 0xbc]
inc esi
add ecx, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0xc4]
jle 0x41a6a6
push ecx
lea ecx, [esi - 1]
lea edx, [ebp - 0x98]
call fcn.0041e7a0
mov eax, dword [0x5de0d4]
add esp, 4
mov dword [ebp - 0x8c], eax
mov eax, dword [0x5de0d0]
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0xb8]
mov esi, edi
call fcn.0041a9b0
lea ecx, [ebp - 0x5c]
call fcn.00403990
jmp 0x41a8c3
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 6
call fcn.0041b700
mov edx, dword [0x5de0d0]
mov ecx, dword [0x5de0d4]
call fcn.004e9bf0
mov ecx, eax
mov esi, dword [ebp - 0xb8]
mov eax, dword [0x5de0d4]
cdq
idiv ecx
mov dword [ebp - 0xc4], eax
mov eax, dword [0x5de0d0]
cdq
idiv ecx
mov edx, edi
mov dword [ebp - 0xc0], eax
cmp esi, dword [edi + 4]
jae 0x41a76e
imul ecx, esi, 0x130
add ecx, dword [edi + 0x30]
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x24], xmm0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa4], eax
cmp esi, dword [edi + 4]
jae 0x41a797
mov eax, dword [edx + 0x30]
imul ecx, esi, 0x130
movups xmm0, xmmword [ecx + eax + 0x10]
movups xmmword [ebp - 0x34], xmm0
movd xmm0, dword [0x5de0d4]
mov esi, 1
cvtdq2ps xmm0, xmm0
push 0x300
push 0
push 0x10ca0000
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mulss xmm0, dword [0x5de0c8]
cvttss2si eax, xmm0
movd xmm0, dword [0x5de0d0]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x1c], eax
mulss xmm0, dword [0x5de0c8]
cvttss2si eax, xmm0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
movd xmm0, dword [0x5de0d4]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x5de0c8]
cvttss2si edx, xmm0
movd xmm0, dword [0x5de0d0]
add eax, edx
add ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0xc8], ecx
mulss xmm0, dword [0x5de0c8]
cvttss2si ecx, xmm0
add eax, ecx
mov ecx, dword [ebp - 0x28]
add ecx, eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xbc], ecx
add eax, edx
mov edx, dword [ebp - 0xc8]
cvttss2si ecx, xmm0
add ecx, dword [ebp - 0xc0]
cmp eax, edx
jg 0x41a87d
cmp ecx, dword [ebp - 0xbc]
jg 0x41a87d
add eax, dword [ebp - 0xc4]
inc esi
add ecx, dword [ebp - 0xc0]
cmp eax, edx
jle 0x41a864
push ecx
lea ecx, [esi - 1]
lea edx, [ebp - 0x98]
call fcn.0041e7a0
mov ecx, dword [ebp - 0xb4]
lea eax, [esi - 1]
cmp ecx, eax
lea edx, [ebp - 0xa0]
cmova ecx, eax
mov dword [ebp - 0xb4], ecx
call fcn.0041e7a0
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0041a9b0
lea ecx, [ebp - 0x5c]
call fcn.00403990
mov esi, edi
test edi, edi
je 0x41a8f2
lea ecx, [edi + 0x3c]
call fcn.0040b140
lea ecx, [esi + 0x30]
call fcn.00419dc0
lea ecx, [edi + 0x24]
call fcn.00419e30
lea ecx, [edi + 0x18]
call fcn.004038f0
push 0x48
push edi
call fcn.0052d747
add esp, 8
mov esi, dword [ebp - 0xcc]
test esi, esi
je 0x41a90f
lea ecx, [esi + 4]
call fcn.0040bb70
push 0x10
push esi
call fcn.0052d747
add esp, 8
push dword [ebp - 0xd0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret