Function at 0x41d060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4219f5
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x42b014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2e4], edi
mov dword [ebp - 0x2ec], 0
push 0
push 0x423249
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x234], 0
call fcn.004067b0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 0
push 0x2001f
push 0x422fb0
push 0x80000001
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 2
call fcn.00411ef0
test eax, eax
je 0x41d13e
push 0
push 0x423249
lea ecx, [ebp - 0x234]
call fcn.004067b0
mov eax, dword [ebp - 0x2c8]
test eax, eax
je 0x41d1db
push eax
jmp 0x41d1d5
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp - 0x2c8]
lea eax, [ebp - 0x2e0]
add esp, 0xc
mov dword [ebp - 0x2e0], 0x208
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x2bc]
push eax
push 0
push 0x423004
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d1be
mov eax, dword [ebp - 0x2bc]
cmp eax, 1
je 0x41d19b
cmp eax, 2
jne 0x41d1be
mov eax, dword [ebp - 0x2e0]
test eax, eax
je 0x41d2ac
test al, 1
jne 0x41d1be
shr eax, 1
cmp word [ebp + eax*2 - 0x21e], 0
je 0x41d2b5
push 0
push 0x423249
lea ecx, [ebp - 0x234]
call fcn.004067b0
test esi, esi
je 0x41d1db
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 4
mov byte [ebp - 0x2cc], 0
call fcn.00407ed0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 6
xorps xmm0, xmm0
mov byte [ebp - 0x2dc], 3
push eax
movq qword [ebp - 0x2d4], xmm0
call fcn.0040f7f0
mov ebx, dword [ebp - 0x2e4]
mov esi, eax
add esp, 4
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2d0], ebx
push str.keyword
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 7
call fcn.0040a6a0
mov edx, eax
mov byte [ebp - 4], 6
mov cl, byte [edx]
mov byte [edx], 3
mov eax, dword [edx + 8]
mov byte [ebp - 0x2bc], cl
push dword [ebp - 0x2bc]
mov byte [ebp - 0x2dc], cl
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x2d0], ecx
lea ecx, [ebp - 0x2d4]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ebx
mov dword [ebp - 0x2d4], eax
call fcn.00405eb0
movzx eax, byte [ebp + 0xc]
sub eax, 0
je 0x41d3db
sub eax, 1
je 0x41d329
sub eax, 1
jne 0x41d33b
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jmp 0x41d330
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x2b8], eax
lea ecx, [ebp - 0x2b8]
push 0xfde9
lea eax, [ebp - 0x21c]
push eax
call fcn.00412590
mov edx, dword [ebp - 0x2b8]
mov byte [ebp - 4], 3
cmp byte [edx], 0
jne 0x41d2eb
xor ecx, ecx
jmp 0x41d2f9
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d2f0
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.004067b0
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
cmp eax, ecx
je 0x41d1d0
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x41d1d0
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0
sete al
test al, al
jne 0x41d3db
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.0040d910
mov ecx, dword [ebp - 0x2dc]
movzx eax, byte [ecx]
sub eax, 1
je 0x41d372
sub eax, 1
je 0x41d364
mov edx, 1
jmp 0x41d383
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2d4], eax
jmp 0x41d37d
mov eax, dword [ecx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2d8], eax
mov edx, dword [ebp - 0x2d0]
movq xmm0, qword [ebp - 0x2d8]
sub esp, 0x10
mov eax, esp
movq qword [eax + 4], xmm0
mov dword [eax], ecx
lea ecx, [ebp + 0xc]
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x2fc]
push eax
call fcn.0040d0e0
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [ebp - 0x2cc]
movq xmm0, qword [eax + 4]
movq qword [edx + 4], xmm0
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
call fcn.0041c820
jmp 0x41d3db
mov al, byte [ebp - 0x2cc]
lea ecx, [ebp - 0x2c4]
mov byte [edi], al
xorps xmm0, xmm0
mov eax, dword [ebp - 0x2c4]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x2c0]
mov dword [edi + 0xc], eax
movq qword [ebp - 0x2e8], xmm0
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2e4]
push 0
mov byte [ebp - 0x2cc], 0
mov dword [ebp - 0x2c0], eax
call fcn.00405eb0
mov eax, dword [ebp - 0x220]
cmp eax, 0x10
jb 0x41d449
push 1
inc eax
push eax
push dword [ebp - 0x234]
call fcn.004011c0
add esp, 0xc
push dword [ebp + 0xc]
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x234], 0
call fcn.00405eb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e4c9
mov esp, ebp
pop ebp
ret