Function at 0x41f200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x583c7c
push eax
mov eax, 0x179c
mov dword fs:[0], esp
call fcn.00555ae0
mov eax, dword [ecx + 0x358]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
push 9
lea esi, [ecx + 0x358]
push 0x110a
push eax
mov dword [ebp - 0x20], ecx
call ebx
mov edi, eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
test edi, edi
jne 0x41f2e6
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f5774
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], edi
push edi
push 0x85
call fcn.004013d0
add esp, 8
test eax, eax
je 0x41f292
push 0x85
push eax
lea ecx, [ebp - 0x18]
call fcn.00405fa0
mov esi, dword [ebp - 0x18]
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push 0x30
push 0x59ceec
push esi
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f821
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
xor eax, eax
lea ecx, [ebp - 0x64]
push ecx
push eax
push 0x113e
mov dword [ebp - 0x60], eax
push edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x64], 4
call ebx
neg eax
sbb eax, eax
test dword [ebp - 0x40], eax
je 0x41f821
mov eax, dword [esi]
push edi
push 3
push 0x110a
push eax
call ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
call fcn.00416260
test eax, eax
je 0x41f821
mov ecx, dword [esi]
push edi
push 3
push 0x110a
push ecx
call ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
call fcn.00416260
mov ebx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov esi, dword [eax]
mov edi, dword [eax + 4]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], edx
call fcn.00416260
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x17a8]
mov dword [ebp - 0x28], edx
call fcn.00411d00
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x17a8]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x68]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
add ecx, 0xf4
mov dword [eax + 0xc], edx
call fcn.00413980
cmp dword [ebp - 0x17a8], 0
jne 0x41f45d
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
push 0
push 0x86
call fcn.004013d0
add esp, 8
test eax, eax
je 0x41f430
push 0x86
push eax
lea ecx, [ebp - 0x18]
call fcn.00405fa0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push 0x30
push 0x59ceec
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00404d60
jmp 0x41f80f
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x8ae]
push ecx
mov word [ebp - 0x8b0], ax
call fcn.00555020
lea edx, [ebp - 0x24]
push edx
call fcn.0050a4d0
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
add esp, 0x10
mov ecx, 0x5f5774
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x3c]
push eax
push 0
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0x59cf38
push edx
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x3c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x8b0]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0
push 0x59cf38
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov byte [ebp - 0x11], 0
test eax, eax
jne 0x41f508
lea eax, [ebp - 0x8b0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f4f7
sub eax, edx
sar eax, 1
jne 0x41f536
lea ecx, [ebp - 0x84]
push ecx
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x41f536
push 0x400
lea edx, [ebp - 0x8b0]
push edx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov byte [ebp - 0x11], 1
push 0x59d4a4
lea ecx, [ebp - 0x10]
call fcn.00405c70
lea ecx, [ebp - 0x8b0]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00407ed0
cmp byte [ebp - 0x11], 0
je 0x41f5ea
push 1
push 0
lea ecx, [ebp - 0x10]
call fcn.00418a10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 0xc]
push 1
dec eax
push eax
lea ecx, [ebp - 0x10]
call fcn.00418a10
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jl 0x41f5d4
push 0x59d4a0
push ecx
call fcn.00555f9b
add esp, 8
test eax, eax
je 0x41f5d1
mov ecx, dword [ebp - 0x10]
sub eax, ecx
sar eax, 1
js 0x41f5d4
mov edi, edi
push 1
push eax
lea ecx, [ebp - 0x10]
call fcn.00418a10
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jl 0x41f5d4
push 0x59d4a0
push ecx
call fcn.00555f9b
add esp, 8
test eax, eax
je 0x41f5d1
mov ecx, dword [ebp - 0x10]
sub eax, ecx
sar eax, 1
jns 0x41f5a0
jmp 0x41f5d4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
push eax
mov eax, dword [ebp - 0x24]
push ecx
push 0x59cf38
push eax
call fcn.0050a3e0
add esp, 0x10
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x41f60c
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403bd0
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040b4a0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
push 1
lea eax, [ebp - 0x58]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0xf4
call fcn.00414d40
test al, al
sete bl
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call fcn.00405c10
test bl, bl
je 0x41f7d9
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x17a8]
call fcn.00412e80
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x41f690
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bfb0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00449a50
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x18]
call fcn.00404d60
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
call fcn.00405c10
movzx ecx, byte [ebp - 0x174c]
push 0
mov dword [ebp - 0x88], ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00419a50
cmp eax, 1
jne 0x41f7ca
mov edx, dword [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x58]
call fcn.0040b4a0
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x88], 0
lea edx, [ebp - 0x58]
setne al
movzx ecx, al
push ecx
mov ecx, dword [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x68]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0xf4
mov dword [eax + 0xc], edx
call fcn.00414d40
test al, al
sete bl
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
call fcn.00405c10
test bl, bl
je 0x41f7ca
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x10
push 0
push 0x89
call fcn.004013d0
add esp, 8
test eax, eax
je 0x41f7a2
push 0x89
push eax
lea ecx, [ebp - 0x18]
call fcn.00405fa0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push 0x30
push 0x59ceec
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x18]
call fcn.00404d60
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb0]
call fcn.00449af0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x59c2bc
call fcn.0040b4a0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x20]
push 0
add ecx, 0x310
mov byte [ebp - 4], 8
call fcn.004f4170
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00404d60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17a8]
call fcn.004f1470
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret