Function at 0x6401c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x9c]
mov esi, ecx
sub esp, 0xcc
mov ebx, dword [ebp + 0xc]
mov edx, ebx
call fcn.0049ff90
mov eax, 0x5c
mov dword [esp + 8], 1
mov dword [esp + 4], 0xffffffff
mov word [esp], ax
mov ecx, ebx
call fcn.00663640
sub esp, 0xc
cmp eax, 0xffffffff
je 0x640440
lea ecx, [ebp - 0x98]
add eax, 1
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [ebp - 0xb0], ecx
call fcn.006653e0
mov ecx, dword [ebp - 0xb0]
sub esp, 8
mov ebx, dword [esi + 0x5c]
mov dword [ebp - 0x30], 0
or ebx, 0x20019
call fcn.00665e50
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x30]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 0x10], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x6403b3
mov eax, dword [ebp - 0x30]
test eax, eax
mov dword [ebp - 0xac], eax
je 0x6403b3
lea ecx, [ebp - 0x9c]
call fcn.00665e50
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xac]
lea edi, [ebp - 0x90]
lea edx, [ebp - 0x94]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 0x14], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0xc], edx
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
jne 0x6403a1
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
lea ecx, [edx - 1]
cmp ecx, 1
jbe 0x640913
cmp edx, 7
jne 0x6402f7
add eax, 4
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x8c]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004aa270
mov eax, dword [ebp - 0x8c]
sub esp, 8
mov edx, dword [eax]
cmp edx, 1
jbe 0x640900
movsx edx, byte [eax + 0xb]
lea ecx, [ebp - 0x8c]
shr edx, 0x1f
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call fcn.004a5590
mov ebx, dword [ebp - 0x8c]
sub esp, 8
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0x9c]
add ebx, edx
call fcn.00665e50
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
jne 0x640921
mov eax, dword [ebp - 0x94]
cmp eax, 0xb
ja case.0x64039a.6
jmp dword [eax*4 + 0x745818]
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
xor ebx, ebx
mov eax, dword [ebp - 0x98]
mov edx, dword [eax]
test edx, edx
je 0x640424
cmp edx, 0xffffffff
je 0x6403d2
lock sub dword [eax], 1
mov eax, dword [ebp - 0x98]
je 0x640424
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax]
test edx, edx
je 0x640400
cmp edx, 0xffffffff
je 0x6403ef
lock sub dword [eax], 1
mov eax, dword [ebp - 0x9c]
je 0x640400
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call fcn.004a4c50
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x6403d2
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x880f80
mov dword [ebp - 0xb0], eax
mov ecx, eax
jmp 0x64022e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x640500
mov eax, dword [ebp - 0x8c]
lea ebx, [ebp - 0x40]
mov ecx, ebx
mov edx, dword [eax + 0xc]
add edx, eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005cfd00
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x10]
sub esp, 8
mov eax, dword [eax]
mov edx, dword [edi + 4]
mov ecx, eax
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x2c], edx
movzx edx, byte [edi + 0xb]
mov esi, eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x40]
and esi, 0x3fffffff
mov dword [ebp - 0x40], ecx
mov ecx, ebx
mov dword [edi], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x28]
and eax, 0xc0000000
or eax, esi
mov esi, edx
and edx, 0xffffff80
mov dword [ebp - 0x28], eax
shr eax, 0x18
and esi, 0x40
and eax, 0x3f
or eax, esi
or edx, eax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x25], dl
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
call fcn.005cfd40
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
mov ebx, 1
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
test edx, edx
je 0x640540
cmp edx, 0xffffffff
je 0x6403b5
lock sub dword [eax], 1
mov eax, dword [ebp - 0x8c]
jne 0x6403b5
lea esi, [esi]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.004a4c50
jmp 0x6403b5
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x40], 0x8b6e98
lea ebx, [ebp - 0x40]
test edi, edi
je 0x640858
lea ebx, [ebp - 0x40]
xor esi, esi
lea esi, [esi]
mov edx, dword [ebp - 0x8c]
mov dword [esp + 8], 0xffffffff
lea eax, [edx + esi*2]
add eax, dword [edx + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.005b01a0
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 4]
test edx, edx
lea esi, [esi + edx + 1]
je 0x640824
lea eax, [ebp - 0x30]
mov ecx, ebx
mov dword [esp], eax
call fcn.00596d00
mov eax, dword [ebp - 0x30]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x6405e0
cmp edx, 0xffffffff
je 0x640580
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
jne 0x640580
lea esi, [esi]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x640580
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x640500
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x50]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + edx]
mov dword [esp], eax
call fcn.005cfbe0
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x10]
sub esp, 4
mov eax, dword [eax]
mov ecx, dword [edi + 4]
mov edx, eax
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x2c], ecx
movzx ecx, byte [edi + 0xb]
mov dword [ebp - 0xb4], eax
mov ebx, eax
mov eax, dword [ebp - 0x50]
and ebx, 0x3fffffff
mov dword [ebp - 0x50], edx
mov dword [edi], eax
mov eax, dword [ebp - 0x4c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x28]
and eax, 0xc0000000
or eax, ebx
mov ebx, ecx
and ecx, 0xffffff80
mov dword [ebp - 0x28], eax
shr eax, 0x18
and ebx, 0x40
and eax, 0x3f
or eax, ebx
or eax, ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
call fcn.005cfd40
jmp 0x640500
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x40], 0x880f80
test eax, eax
jne 0x6409c3
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x640743
lea esi, [ebp - 0x80]
lea ebx, [ebp - 0x40]
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00517c90
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, dword [edi + 4]
mov ecx, eax
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x2c], edx
movzx edx, byte [edi + 0xb]
mov ebx, eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x80]
and ebx, 0x3fffffff
mov dword [ebp - 0x80], ecx
mov ecx, esi
mov dword [edi], eax
mov eax, dword [ebp - 0x7c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x78]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x28]
and eax, 0xc0000000
or eax, ebx
mov ebx, edx
and edx, 0xffffff80
mov dword [ebp - 0x28], eax
shr eax, 0x18
and ebx, 0x40
and eax, 0x3f
or eax, ebx
or edx, eax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x25], dl
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x78], eax
call fcn.005cfd40
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
test edx, edx
je 0x640762
cmp edx, 0xffffffff
je 0x640500
lock sub dword [eax], 1
mov eax, dword [ebp - 0x40]
jne 0x640500
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x640500
mov ebx, dword [ebp - 0x90]
mov dword [ebp - 0x40], 0x880f80
test ebx, ebx
jne 0x640940
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x640743
lea esi, [ebp - 0x60]
lea ebx, [ebp - 0x40]
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00517c90
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, dword [edi + 4]
mov ecx, eax
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x2c], edx
movzx edx, byte [edi + 0xb]
mov dword [ebp - 0xb4], eax
mov ebx, eax
mov eax, dword [ebp - 0x60]
and ebx, 0x3fffffff
mov dword [ebp - 0x60], ecx
mov ecx, esi
mov dword [edi], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x58]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x28]
and eax, 0xc0000000
or eax, ebx
mov ebx, edx
and edx, 0xffffff80
mov dword [ebp - 0x28], eax
shr eax, 0x18
and ebx, 0x40
and eax, 0x3f
or eax, ebx
or edx, eax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x25], dl
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
call fcn.005cfd40
jmp 0x640743
mov edx, dword [eax]
test edx, edx
je 0x640840
cmp edx, 0xffffffff
je 0x640858
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
jne 0x640858
nop
lea esi, [esi]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x6408f0
lea esi, [ebp - 0x70]
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.005197a0
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, dword [edi + 4]
mov dword [ebp - 0x30], eax
mov edi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edx
mov eax, dword [eax + 8]
mov ecx, eax
mov eax, dword [ebp + 0x10]
and ecx, 0x3fffffff
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp + 0x10]
movzx edx, byte [eax + 0xb]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x70], edi
mov dword [ecx], eax
mov eax, dword [ebp - 0x6c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x68]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x28]
mov ecx, edx
and ecx, 0x40
and edx, 0xffffff80
and eax, 0xc0000000
or eax, dword [ebp - 0xb4]
mov dword [ebp - 0x28], eax
shr eax, 0x18
and eax, 0x3f
or eax, ecx
mov ecx, esi
or edx, eax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x25], dl
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x68], eax
call fcn.005cfd40
mov ecx, ebx
call fcn.005974d0
jmp 0x640500
mov edx, dword [eax + 0xc]
mov ebx, eax
cmp edx, 0x10
jne 0x640321
jmp 0x64034c
add eax, 2
mov dword [ebp - 0x90], eax
jmp 0x6402f7
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
xor ebx, ebx
jmp 0x640517
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x84]
mov ebx, dword [eax + 4]
mov edx, ebx
shr edx, 0x1f
add edx, ebx
lea ebx, [ebp - 0x40]
sar edx, 1
mov dword [esp + 8], edx
add eax, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005b01a0
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x40], edx
mov edx, dword [eax]
test edx, edx
je 0x6409a0
cmp edx, 0xffffffff
je 0x640795
lock sub dword [eax], 1
jne 0x640795
lea esi, [esi]
mov eax, dword [ebp - 0x84]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x640795
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0xffffffff
lea edx, [ebp - 0x88]
lea ebx, [ebp - 0x40]
add eax, dword [eax + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005b01a0
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x40], edx
mov edx, dword [eax]
test edx, edx
je 0x640a14
cmp edx, 0xffffffff
je 0x6406b5
lock sub dword [eax], 1
jne 0x6406b5
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x6406b5
mov dword [esp + 8], eax
lea eax, [ebp - 0x30]
mov dword [esp + 4], str.QSettings:_Unknown_data__d_type_in_Windows_registry
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], 0
mov dword [esp], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x7457da
call fcn.0072013c
cmp dword [ebp + 0x10], 0
je 0x640500
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], 0x80000000
lea esi, [ebp - 0x40]
mov dword [ebp - 0x40], 0
mov edi, dword [ebp + 0x10]
mov ecx, 3
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0xb4], eax
mov edx, eax
mov eax, dword [ebp + 0x10]
and edx, 0x3fffffff
movzx eax, byte [eax + 0xb]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x28]
lea edi, [ebp - 0x40]
lea esi, [ebp - 0x30]
mov ebx, eax
and eax, 0xffffff80
and ecx, 0xc0000000
and ebx, 0x40
or edx, ecx
mov ecx, eax
mov dword [ebp - 0x28], edx
movzx edx, byte [ebp - 0x25]
and edx, 0x3f
mov eax, edx
or eax, ebx
or eax, ecx
mov ecx, 3
mov byte [ebp - 0x25], al
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x40]
call fcn.005cfd40
jmp 0x640500