Function at 0x4fc2b3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5865e5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x732480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov eax, dword [edi + 0x54]
cmp dword [eax + 4], 0
je 0x4fc7cd
mov esi, dword [eax + 0xc]
add esi, eax
mov ecx, esi
call fcn.004fae10
test eax, eax
je 0x4fc7cd
cmp byte [esi + 0xc], 0
jne 0x4fc7cd
mov ecx, esi
call fcn.004fae10
test eax, eax
je 0x4fc7cd
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x4fc1af
cmp ecx, 0xffffffff
je 0x4fc1af
lock inc dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.004faaf0
add esp, 8
mov ebx, dword [edi + 0x5c]
push 1
push 0xffffffffffffffff
push ecx
mov eax, esp
mov dword [ebp - 4], 0
mov ecx, 0x5c
mov word [eax], cx
lea ecx, [ebp - 0x14]
call fcn.0042b070
cmp eax, 0xffffffff
jne 0x4fc1ea
mov dword [ebp - 0x18], 0x71f078
jmp 0x4fc1f8
inc eax
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b110
mov eax, dword [edi + 0x54]
mov byte [ebp - 4], 1
cmp dword [eax + 4], 0
je 0x4fc224
mov esi, dword [eax + 0xc]
add esi, eax
mov ecx, esi
call fcn.004fae10
test eax, eax
je 0x4fc224
cmp byte [esi + 0xc], 0
jne 0x4fc224
mov ecx, esi
call fcn.004fae10
jmp 0x4fc226
xor eax, eax
push ebx
lea ecx, [ebp - 0x18]
push ecx
push 0x2001f
push eax
call fcn.004fa780
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov dword [ebp - 0x34], esi
mov ecx, dword [ecx]
test ecx, ecx
je 0x4fc263
cmp ecx, ebx
je 0x4fc272
mov eax, dword [ebp - 0x18]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fc272
push 4
push 2
push dword [ebp - 0x18]
call fcn.00425140
add esp, 0xc
test esi, esi
jne 0x4fc284
push 1
mov ecx, edi
call fcn.004cdf30
jmp 0x4fc78d
mov dword [ebp - 0x10], 0x71f078
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004a8460
add eax, 0xfffffffe
cmp eax, 0xa
ja case.0x4fc2ac.6
movzx eax, byte [eax + 0x4fc800]
jmp dword [eax*4 + 0x4fc7ec]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 7
push eax
mov ecx, edi
call fcn.004a7b30
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
call fcn.004cf3a0
add esp, 8
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x4fc2f9
cmp eax, 0xffffffff
je 0x4fc34a
mov eax, dword [ebp - 0x20]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fc34a
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov ecx, dword [edx + 8]
mov esi, dword [edx + 0xc]
add ecx, 4
add esi, 4
lea ecx, [edx + ecx*4]
lea esi, [edx + esi*4]
mov dword [ebp - 0x28], ecx
cmp esi, ecx
je 0x4fc341
mov edi, dword [esi - 4]
sub esi, 4
test edi, edi
je 0x4fc337
mov ecx, edi
call fcn.004a4350
push 0x10
push edi
call fcn.00553384
mov ecx, dword [ebp - 0x28]
add esp, 8
cmp esi, ecx
jne 0x4fc318
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp + 0xc]
push edx
call fcn.00430ae0
add esp, 4
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 5
mov eax, dword [ecx + 8]
add eax, 4
lea esi, [ecx + eax*4]
mov eax, dword [ecx + 0xc]
add eax, 4
lea eax, [ecx + eax*4]
cmp esi, eax
je 0x4fc3ab
nop word [eax + eax]
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x4fc498
xor eax, eax
mov ecx, esi
push 1
push eax
mov word [ebp + 0xc], ax
push dword [ebp + 0xc]
call fcn.0042ab60
cmp eax, 0xffffffff
jne 0x4fc498
mov ecx, dword [ebp + 8]
add esi, 4
mov eax, dword [ecx + 0xc]
add eax, 4
lea eax, [ecx + eax*4]
cmp esi, eax
jne 0x4fc370
mov eax, dword [ecx + 8]
add eax, 4
lea esi, [ecx + eax*4]
mov eax, dword [ecx + 0xc]
add eax, 4
lea eax, [ecx + eax*4]
cmp esi, eax
je 0x4fc430
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
lea edi, [eax*2 + 2]
call fcn.0042f930
push edi
push eax
lea ecx, [ebp + 0xc]
call fcn.0043a290
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0043a630
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 5
mov eax, dword [eax]
test eax, eax
je 0x4fc40e
cmp eax, 0xffffffff
je 0x4fc41d
mov eax, dword [ebp + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fc41d
push 4
push 1
push dword [ebp + 0xc]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp + 8]
add esi, 4
mov ecx, dword [eax + 0xc]
lea eax, [eax + ecx*4]
add eax, 0x10
cmp esi, eax
jne 0x4fc3c1
push 0
lea ecx, [ebp - 0x10]
call fcn.0043a6f0
push 0
lea ecx, [ebp - 0x10]
call fcn.0043a6f0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 9
mov eax, dword [eax]
test eax, eax
je 0x4fc467
cmp eax, 0xffffffff
je 0x4fc48f
mov eax, dword [ebp + 8]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fc48f
mov esi, dword [ebp + 8]
lea ecx, [ebp + 8]
mov eax, dword [esi + 0xc]
add eax, 4
lea eax, [esi + eax*4]
push eax
mov eax, dword [esi + 8]
add eax, 4
lea eax, [esi + eax*4]
push eax
call fcn.004037e0
push esi
call fcn.00430ae0
add esp, 4
mov byte [ebp - 4], 2
jmp 0x4fc671
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1c], 3
push edi
push eax
call fcn.004cf4b0
add esp, 8
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
mov esi, dword [eax + 4]
add esi, esi
call fcn.0042f930
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.0043a290
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x4fc4f3
cmp eax, 0xffffffff
je 0x4fc502
mov eax, dword [ebp - 0x20]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fc502
push 4
push 1
push dword [ebp - 0x20]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x4fc529
cmp eax, 0xffffffff
je 0x4fc444
mov eax, dword [ebp + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fc444
push 4
push 2
push dword [ebp + 0xc]
call fcn.00425140
add esp, 0xc
jmp 0x4fc444
push 0
mov ecx, edi
mov dword [ebp - 0x1c], 4
call fcn.004a7670
mov dword [ebp + 0xc], eax
lea ecx, [ebp + 8]
push 4
lea eax, [ebp + 0xc]
push eax
call fcn.0043a290
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 8]
mov dword [eax], edx
call fcn.00411600
jmp 0x4fc671
push 0
mov ecx, edi
mov dword [ebp - 0x1c], 0xb
call fcn.004a7b50
mov dword [ebp - 0x30], eax
lea ecx, [ebp + 0xc]
push 8
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], edx
push eax
call fcn.0043a290
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 0xc]
mov dword [eax], edx
call fcn.00411600
jmp 0x4fc671
lea eax, [ebp + 0xc]
push edi
push eax
call fcn.004cf4b0
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xa
push 1
push eax
mov word [ebp + 8], ax
lea ecx, [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042ab60
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
lea ecx, [ecx*2 + 1]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 4]
lea edx, [ecx + 1]
cmovne edx, ecx
lea ecx, [ebp + 0xc]
add edx, edx
push edx
call fcn.0042f930
push eax
lea ecx, [ebp + 8]
call fcn.0043a290
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x4fc630
cmp eax, 0xffffffff
je 0x4fc63f
mov eax, dword [ebp + 8]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fc63f
push 4
push 1
push dword [ebp + 8]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x4fc662
cmp eax, 0xffffffff
je 0x4fc671
mov eax, dword [ebp + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fc671
push 4
push 2
push dword [ebp + 0xc]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 4]
add edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004faf40
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0042f930
push esi
push edi
push dword [ebp - 0x1c]
mov edi, dword [ebp - 0x34]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov byte [ebp - 4], 2
mov eax, dword [ecx]
test eax, eax
je 0x4fc6ce
cmp eax, 0xffffffff
je 0x4fc6dd
mov eax, dword [ebp + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fc6dd
push 4
push 2
push dword [ebp + 0xc]
call fcn.00425140
add esp, 0xc
test esi, esi
jne 0x4fc6ea
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0x58], 0
jmp 0x4fc758
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
test eax, eax
je 0x4fc701
cmp eax, 0xffffffff
je 0x4fc701
mov eax, dword [ebp - 0x14]
lock inc dword [eax]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call fcn.0042f930
push eax
push str.QSettings:_failed_to_set_subkey___ls_
push esi
call fcn.00455420
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x4fc73f
cmp eax, 0xffffffff
je 0x4fc74e
mov eax, dword [ebp + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fc74e
push 4
push 2
push dword [ebp + 0xc]
call fcn.00425140
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push 1
call fcn.004cdf30
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4fc77e
cmp eax, 0xffffffff
je 0x4fc78d
mov eax, dword [ebp - 0x10]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fc78d
push 4
push 1
push dword [ebp - 0x10]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x4fc7aa
cmp eax, 0xffffffff
je 0x4fc7d6
mov eax, dword [ebp - 0x14]
lock xadd dword [eax], ebx
dec ebx
setne al
test al, al
jne 0x4fc7d6
push 4
push 2
push dword [ebp - 0x14]
call fcn.00425140
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, edi
call fcn.004cdf30
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