Function at 0x41c2e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x58384f
push eax
mov eax, 0x1878
mov dword fs:[0], esp
call fcn.00555ae0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
mov edx, dword [ebp + 0x10]
cmp dword [edx - 4], 1
jle 0x41c327
mov eax, dword [edx - 0xc]
push eax
lea ecx, [ebp + 0x10]
call fcn.00403bd0
mov edx, dword [ebp + 0x10]
xor edi, edi
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41c340
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00407db0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x48]
add ecx, 0x310
push edx
call fcn.004f5570
mov bl, al
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], 8
jb 0x41c387
mov eax, dword [ebp - 0x48]
push eax
call fcn.00553d26
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
test bl, bl
je 0x41c430
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c3c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c3e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c408
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c42b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41ca15
lea ecx, [ebp - 0x1084]
call fcn.00411d00
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x41c472
cmp eax, 3
je 0x41c47e
cmp eax, 4
je 0x41c45f
cmp eax, 5
jne 0x41c97a
cmp eax, 4
jne 0x41c486
mov dword [ebp - 0x1084], 1
mov byte [ebp - 0x194], 1
jmp 0x41c49e
mov dword [ebp - 0x1084], 1
jmp 0x41c49e
mov dword [ebp - 0x1084], edi
jmp 0x41c49e
cmp eax, 5
jne 0x41c493
mov dword [ebp - 0x1084], eax
jmp 0x41c49e
cmp eax, 6
jne 0x41c49e
mov dword [ebp - 0x1084], eax
mov edx, dword [ebp + 0xc]
mov byte [ebp - 0x1080], 0
mov dword [ebp - 0x1c], edi
cmp dword [edx - 0xc], edi
jle 0x41c51a
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41c4c2
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00407db0
mov byte [ebp - 4], 0xc
push 0xffffffffffffffff
push edi
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x107c]
call fcn.00407c40
mov byte [ebp - 4], 0xb
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jb 0x41c50b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00553d26
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
jmp 0x41c581
xor edx, edx
mov word [ebp - 0x2c], dx
mov edx, dword [ebp + 0x10]
mov ebx, 7
mov eax, edx
mov dword [ebp - 0x18], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41c530
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00407db0
mov byte [ebp - 4], 0xd
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x107c]
call fcn.00407c40
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 8
jb 0x41c575
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00553d26
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x2c], dx
lea ebx, [edx + 8]
mov edx, dword [ebp + 0x10]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41c5a0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00407db0
mov byte [ebp - 4], 0xe
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1060]
call fcn.00407c40
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], ebx
jb 0x41c5e4
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00553d26
add esp, 4
xor ecx, ecx
xor edx, edx
mov eax, 7
mov word [ebp - 0x6c], dx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x58], eax
mov eax, edx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x5c], edi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41c610
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x6c]
call fcn.00407db0
mov byte [ebp - 4], 0xf
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x1044]
call fcn.00407c40
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x58], ebx
jb 0x41c654
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00553d26
add esp, 4
xor edx, edx
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], edi
mov word [ebp - 0x6c], dx
lea eax, [ebp + 0x1c]
cmp byte [ebp + 0x18], dl
jne 0x41c66f
lea eax, [ebp + 0x20]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004021d0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp + 0x18], ebx
mov byte [ebp - 4], 0x11
cmp dword [ebx - 0xc], edi
jne 0x41c6d5
mov ecx, dword [0x5fd7c0]
push 0x80
lea eax, [ebp - 0x18c]
push eax
push 0x203
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x18c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41c6b3
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x18c]
push edx
lea ecx, [ebp + 0x18]
call fcn.00405e50
mov ebx, dword [ebp + 0x18]
cmp dword [ebx - 4], 1
jle 0x41c6ea
mov eax, dword [ebx - 0xc]
push eax
lea ecx, [ebp + 0x18]
call fcn.00403bd0
mov ebx, dword [ebp + 0x18]
xor ecx, ecx
mov eax, ebx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41c700
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x48]
call fcn.00407db0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x48]
push edx
add ecx, 0x310
call fcn.004f4210
cmp eax, edi
jne 0x41c77f
push 0x48
call fcn.0055549a
add esp, 4
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0x13
cmp eax, edi
je 0x41c756
mov ecx, eax
call fcn.004faa70
mov esi, eax
jmp 0x41c758
xor esi, esi
mov byte [ebp - 4], 0x12
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [esi + 4]
call fcn.00407c40
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x310]
mov eax, dword [edx]
add ecx, 0x310
push esi
call eax
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx + 0x310]
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x48]
add ecx, 0x310
push eax
call fcn.004f4210
mov ecx, eax
call fcn.00416380
mov edx, dword [eax]
lea ecx, [ebp - 0x1084]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x310
call edx
push 0x7fe
lea ecx, [ebp - 0x1882]
xor eax, eax
push edi
push ecx
mov dword [ebp - 0x4c], 1
mov word [ebp - 0x1884], ax
call fcn.00555020
lea edx, [ebp + 8]
push edx
mov dword [ebp - 0x50], 0x800
call fcn.0050a4d0
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
push edi
lea ecx, [ebp - 0x4c]
push ecx
push edi
push 0x59cf38
push edx
call esi
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1884]
push ecx
lea edx, [ebp - 0x4c]
push edx
push edi
push 0x59cf38
push eax
call esi
mov ecx, dword [ebp + 8]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x41c934
lea eax, [ebp - 0x1884]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41c860
sub eax, edx
sar eax, 1
cmp eax, edi
je 0x41c934
lea edx, [ebp - 0x1884]
push edx
lea ecx, [ebp - 0x88]
call fcn.0040b4a0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x1084]
call fcn.00412220
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x48]
push edx
add ecx, 0x310
mov esi, eax
call fcn.004f4210
mov ecx, eax
call fcn.00416380
mov edx, dword [esi]
push 1
lea ecx, [ebp - 0x88]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
mov edx, dword [esi + 8]
mov dword [ecx + 8], edx
mov edx, dword [esi + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf4
call fcn.00414d40
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x74], 8
jb 0x41c921
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.00553d26
add esp, 4
xor edx, edx
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], edi
mov word [ebp - 0x88], dx
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x34], 8
jb 0x41c94a
mov eax, dword [ebp - 0x48]
push eax
call fcn.00553d26
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
mov byte [ebp - 4], 0xb
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c97a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1084]
call fcn.004f1470
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c9ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c9cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c9f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ca15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ca3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c