Function at 0x5266e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c104d
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x71c56c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp dword [esi + 0x88], 0
je 0x526c56
mov edi, dword [esi + 0x84]
mov ecx, edi
call fcn.00524ea0
test eax, eax
je 0x526c56
cmp byte [edi + 0x14], 0
jne 0x526c56
mov ecx, edi
call fcn.00524ea0
test eax, eax
je 0x526c56
mov ecx, dword [ebp + 8]
sub esp, 0xc
mov edx, esp
mov edi, dword [ecx]
mov dword [edx], edi
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
test edi, edi
je 0x52676d
mov eax, 1
lock xadd dword [edi], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00524b10
mov ebx, dword [esi + 0x90]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
push eax
call fcn.005254c0
add esp, 0x18
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x88], 0
mov byte [ebp - 4], 1
je 0x5267c3
mov edi, dword [esi + 0x84]
mov ecx, edi
call fcn.00524ea0
test eax, eax
je 0x5267c3
cmp byte [edi + 0x14], 0
jne 0x5267c3
mov ecx, edi
call fcn.00524ea0
jmp 0x5267c5
xor eax, eax
push ebx
push dword [ebp - 0x10]
push 0x2001f
push eax
call fcn.00524790
mov edx, dword [ebp - 0x5c]
add esp, 0x10
mov edi, eax
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov dword [ebp - 0x20], edi
test edx, edx
je 0x526809
mov ecx, ebx
lock xadd dword [edx], ecx
cmp ecx, 1
setne al
test al, al
jne 0x526809
push 4
push 2
push dword [ebp - 0x5c]
call fcn.004597e0
add esp, 0xc
test edi, edi
jne 0x52681b
push 1
mov ecx, esi
call fcn.004d8bb0
jmp 0x526c23
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004c4a40
mov ecx, eax
mov eax, dword [ecx]
test eax, eax
je case.0x526872.6
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x52685f
push dword [ecx]
call fcn.0047a540
add esp, 4
add eax, 0xfffffffe
cmp eax, 0xa
ja case.0x526872.6
movzx eax, byte [eax + 0x526c88]
jmp dword [eax*4 + 0x526c74]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x10], 7
push eax
mov ecx, esi
call fcn.004c6170
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
call fcn.004da8b0
add esp, 8
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 5
call fcn.00470f00
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov edi, esi
lea eax, [ecx + ecx*2]
lea eax, [edi + eax*4]
cmp edi, eax
je 0x5268f9
nop word [eax + eax]
cmp dword [edi + 8], 0
je 0x52698d
xor eax, eax
mov ecx, edi
push 1
push eax
mov word [ebp - 0x18], ax
push dword [ebp - 0x18]
call fcn.0048bdf0
cmp eax, 0xffffffff
jne 0x52698d
mov ecx, dword [ebp - 0x30]
add edi, 0xc
mov esi, dword [ebp - 0x34]
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*4]
cmp edi, eax
jne 0x5268c0
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*4]
cmp esi, eax
je 0x526968
mov eax, dword [esi + 8]
mov ecx, esi
lea edi, [eax*2 + 2]
call fcn.004906d0
push edi
push eax
lea ecx, [ebp - 0x68]
call fcn.00459da0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.0045a5f0
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x526955
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x526955
push 4
push 1
push dword [ebp - 0x68]
call fcn.004597e0
add esp, 0xc
mov eax, dword [ebp - 0x30]
add esi, 0xc
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x34]
lea eax, [eax + ecx*4]
cmp esi, eax
jne 0x526903
push 0
lea ecx, [ebp - 0x2c]
call fcn.0045a680
push 0
lea ecx, [ebp - 0x2c]
call fcn.0045a680
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00470ec0
jmp 0x526b67
push dword [ebp + 0xc]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x10], 3
push eax
call fcn.004dac80
add esp, 8
mov eax, dword [ebp - 0x48]
mov ecx, 0x5d0e60
mov byte [ebp - 4], 6
lea edx, [eax + eax]
mov eax, dword [ebp - 0x4c]
test eax, eax
push edx
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x68]
call fcn.00459da0
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], ecx
mov eax, dword [esi + 8]
mov dword [esi + 4], edx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x526a0e
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x526a0e
push 4
push 1
push dword [ebp - 0x68]
call fcn.004597e0
add esp, 0xc
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x52697c
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x52697c
push 4
push 2
push dword [ebp - 0x50]
call fcn.004597e0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00470ec0
jmp 0x526b67
push 0
mov ecx, esi
mov dword [ebp - 0x10], 4
call fcn.004c5e20
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
lea ecx, [ebp - 0x80]
call fcn.00459da0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004715d0
lea ecx, [ebp - 0x80]
call fcn.004019c0
jmp 0x526b67
push 0
mov ecx, esi
mov dword [ebp - 0x10], 0xb
call fcn.004c6270
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], edx
push 8
jmp 0x526a65
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.004dac80
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
push 1
push eax
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x38]
push dword [ebp - 0x18]
call fcn.0048bdf0
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
lea ecx, [ecx*2 + 1]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x30]
jne 0x526ade
inc ecx
lea eax, [ecx + ecx]
push eax
lea ecx, [ebp - 0x38]
call fcn.004906d0
push eax
lea ecx, [ebp - 0x68]
call fcn.00459da0
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], ecx
mov eax, dword [esi + 8]
mov dword [esi + 4], edx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x526b3d
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x526b3d
push 4
push 1
push dword [ebp - 0x68]
call fcn.004597e0
add esp, 0xc
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x526b67
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x526b67
push 4
push 2
push dword [ebp - 0x38]
call fcn.004597e0
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov edi, 0x5cebe4
mov esi, dword [ebp - 0x24]
test eax, eax
cmovne edi, eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00525370
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.004906d0
push esi
push edi
push dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x526bcb
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x526bcb
push 4
push 2
push dword [ebp - 0x74]
call fcn.004597e0
add esp, 0xc
test esi, esi
jne 0x526bdb
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x8c], 0
jmp 0x526bfc
lea ecx, [ebp - 0x44]
call fcn.004906d0
push eax
push str.QSettings:_failed_to_set_subkey___ls_
push esi
call fcn.004991a0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push 1
call fcn.004d8bb0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x526c23
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x526c23
push 4
push eax
push dword [ebp - 0x2c]
call fcn.004597e0
add esp, 0xc
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x526c5f
lock xadd dword [eax], ebx
cmp ebx, 1
jne 0x526c5f
push 4
push 2
push dword [ebp - 0x44]
call fcn.004597e0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
mov ecx, esi
call fcn.004d8bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8