Function at 0x4ff7f0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x48
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x74]
cmp dword [eax + 8], 0
push esi
push edi
mov dword [esp + 0x34], ebp
je 0x4ff825
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.004fe350
test eax, eax
je 0x4ff825
cmp byte [esi + 0xc], 0
jne 0x4ff825
mov ecx, esi
call fcn.004fe350
test eax, eax
jne 0x4ff838
push 1
mov ecx, ebp
call fcn.004be880
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edi, [esp + 0x18]
call fcn.004fe550
add esp, 4
push 1
push 0xffffffffffffffff
push ecx
mov eax, esp
mov edx, 0x5c
mov ecx, edi
mov word [eax], dx
call fcn.004b9600
cmp eax, 0xffffffff
jne 0x4ff88b
mov dword [esp + 0x1c], 0x6ae0d4
mov eax, 0x6ae0d4
mov ecx, 1
lock xadd dword [eax], ecx
jmp 0x4ff89b
inc eax
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.004b9650
mov eax, dword [ebp + 0x74]
cmp dword [eax + 8], 0
je 0x4ff8c1
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.004fe350
test eax, eax
je 0x4ff8c1
cmp byte [esi + 0xc], 0
jne 0x4ff8c1
mov ecx, esi
call fcn.004fe350
jmp 0x4ff8c3
xor eax, eax
lea esi, [esp + 0x1c]
mov edi, 0x2001f
mov ebx, eax
call fcn.004fe2a0
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], ebx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ff8f3
mov edx, dword [esp + 0x1c]
push edx
call fcn.004b7f30
add esp, 4
test ebx, ebx
jne 0x4ff905
push 1
mov ecx, ebp
call fcn.004be880
jmp 0x4ffd71
mov dword [esp + 0x10], 0x6ae0ac
mov eax, 0x6ae0ac
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [esp + 0x60]
mov ecx, esi
call fcn.004c8080
add eax, 0xfffffffe
cmp eax, 9
ja case.0x4ff939.6
movzx edx, byte [eax + 0x4ffda8]
jmp dword [edx*4 + 0x4ffd98]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x1c], 7
call fcn.004ccc80
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.004c3810
add esp, 8
lea ecx, [esp + 0x40]
call fcn.004b2bd0
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
lea ebp, [eax + edx*4 + 0x14]
mov edi, ebp
lea ebx, [eax + ecx*4 + 0x14]
cmp edi, ebx
je 0x4ff9a5
mov edx, dword [edi]
cmp dword [edx + 8], 0
je 0x4ffab0
mov ecx, edi
call fcn.004fe3d0
test al, al
jne 0x4ffab0
add edi, 4
cmp edi, ebx
jne 0x4ff983
mov esi, ebp
cmp esi, ebx
je 0x4ffa01
jmp 0x4ff9b0
mov eax, dword [esi]
mov eax, dword [eax + 8]
lea ecx, [eax + eax + 2]
push ecx
mov ecx, esi
call fcn.004b9cd0
push eax
lea ecx, [esp + 0x30]
call fcn.004b5800
push eax
lea ecx, [esp + 0x14]
call fcn.004b5b30
mov edx, dword [esp + 0x28]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4ff9ef
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004be5e0
add esp, 4
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0xc]
add esi, 4
lea eax, [eax + edx*4 + 0x14]
cmp esi, eax
jne 0x4ff9b0
push 0
lea ecx, [esp + 0x14]
call fcn.004b5d00
push 0
lea ecx, [esp + 0x14]
call fcn.004b5d00
mov ecx, dword [esp + 0x60]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ffa4c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x68]
mov esi, eax
call fcn.00401f5b
push esi
call fcn.004be5e0
add esp, 4
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push ecx
push eax
mov eax, dword [esp + 0x20]
push eax
push 0
lea edi, [esp + 0x24]
lea esi, [esp + 0x44]
call fcn.004fe480
mov ecx, eax
call fcn.004b9cd0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x34]
mov esi, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ffa9f
mov eax, dword [esp + 0x34]
push eax
call fcn.004b7f30
add esp, 4
test esi, esi
jne 0x4ffc77
mov byte [ebp + 0x78], 0
jmp 0x4ffd50
lea eax, [esp + 0x20]
push esi
push eax
mov dword [esp + 0x20], 3
call fcn.004c0990
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
add esp, 8
lea edx, [eax + eax]
push edx
lea ecx, [esp + 0x24]
call fcn.004b9cd0
push eax
lea ecx, [esp + 0x2c]
call fcn.004b5800
push eax
lea ecx, [esp + 0x14]
call fcn.004b7f40
mov eax, dword [esp + 0x24]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ffb08
mov edx, dword [esp + 0x24]
push edx
call fcn.004be5e0
add esp, 4
mov eax, dword [esp + 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ffa17
mov edx, dword [esp + 0x20]
push edx
call fcn.004b7f30
add esp, 4
jmp 0x4ffa17
push 0
mov ecx, esi
mov dword [esp + 0x1c], 4
call fcn.004ca120
mov dword [esp + 0x44], eax
push 4
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x50]
call fcn.004b5800
push eax
lea ecx, [esp + 0x14]
call fcn.004b7f40
lea ecx, [esp + 0x48]
call fcn.00401005
jmp 0x4ffa54
push 0
mov ecx, esi
mov dword [esp + 0x1c], 0xb
call fcn.004ca1c0
push 8
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
call fcn.004b5800
push eax
lea ecx, [esp + 0x14]
call fcn.004b7f40
lea ecx, [esp + 0x4c]
call fcn.00401005
jmp 0x4ffa54
lea edx, [esp + 0x5c]
push esi
push edx
call fcn.004c0990
add esp, 8
lea ecx, [esp + 0x5c]
call fcn.004fe3d0
xor ecx, ecx
test al, al
setne cl
lea ecx, [ecx + ecx + 1]
mov eax, ecx
mov dword [esp + 0x18], eax
cmp eax, 3
jne 0x4ffc11
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 8]
add eax, eax
push eax
lea ecx, [esp + 0x60]
call fcn.004b9cd0
push eax
lea ecx, [esp + 0x34]
call fcn.004b5800
push eax
lea ecx, [esp + 0x14]
call fcn.004b7f40
mov ecx, dword [esp + 0x2c]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ffc54
mov eax, dword [esp + 0x2c]
push eax
jmp 0x4ffc4c
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 8]
lea edx, [eax + eax + 2]
push edx
lea ecx, [esp + 0x60]
call fcn.004b9cd0
push eax
lea ecx, [esp + 0x38]
call fcn.004b5800
push eax
lea ecx, [esp + 0x14]
call fcn.004b7f40
mov eax, dword [esp + 0x30]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ffc54
mov edx, dword [esp + 0x30]
push edx
call fcn.004be5e0
add esp, 4
mov eax, dword [esp + 0x5c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ffa54
mov edx, dword [esp + 0x5c]
push edx
call fcn.004b7f30
add esp, 4
jmp 0x4ffa54
lea ecx, [esp + 0x38]
mov eax, esi
push ecx
lea esi, [esp + 0x40]
call fcn.004fe5e0
mov ecx, eax
call fcn.004b9890
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax]
cmp edx, 1
jne 0x4ffca3
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x4ffcb0
mov edx, dword [esi]
mov eax, dword [edx + 8]
push eax
mov ecx, esi
call fcn.004b5950
mov ecx, dword [esi]
mov edi, dword [ecx + 0xc]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
call fcn.004b9890
mov esi, eax
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
jne 0x4ffcd8
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x4ffce5
mov edx, dword [esi]
mov eax, dword [edx + 8]
push eax
mov ecx, esi
call fcn.004b5950
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
push edi
push edx
push str.QSettings:_failed_to_set_subkey___s_:__s
call fcn.004b1640
mov eax, dword [esp + 0x24]
add esp, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ffd13
mov edx, dword [esp + 0x18]
push edx
call fcn.004be5e0
add esp, 4
mov eax, dword [esp + 0x38]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ffd2d
mov edx, dword [esp + 0x38]
push edx
call fcn.004be5e0
add esp, 4
mov eax, dword [esp + 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ffd47
mov edx, dword [esp + 0x3c]
push edx
call fcn.004b7f30
add esp, 4
push 1
mov ecx, ebp
call fcn.004be880
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ffd71
mov edx, dword [esp + 0x10]
push edx
call fcn.004be5e0
add esp, 4
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ffd8b
mov edx, dword [esp + 0x14]
push edx
call fcn.004b7f30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8