Function at 0x4cd443
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557f15
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6fb4c0]
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 0x4cd95d
mov esi, dword [eax + 0xc]
add esi, eax
mov ecx, esi
call fcn.004cbfc0
test eax, eax
je 0x4cd95d
cmp byte [esi + 0xc], 0
jne 0x4cd95d
mov ecx, esi
call fcn.004cbfc0
test eax, eax
je 0x4cd95d
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 0x4cd33f
cmp ecx, 0xffffffff
je 0x4cd33f
lock inc dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.004cbca0
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.00409410
cmp eax, 0xffffffff
jne 0x4cd37a
mov dword [ebp - 0x18], 0x6e80cc
jmp 0x4cd388
inc eax
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004094b0
mov eax, dword [edi + 0x54]
mov byte [ebp - 4], 1
cmp dword [eax + 4], 0
je 0x4cd3b4
mov esi, dword [eax + 0xc]
add esi, eax
mov ecx, esi
call fcn.004cbfc0
test eax, eax
je 0x4cd3b4
cmp byte [esi + 0xc], 0
jne 0x4cd3b4
mov ecx, esi
call fcn.004cbfc0
jmp 0x4cd3b6
xor eax, eax
push ebx
lea ecx, [ebp - 0x18]
push ecx
push 0x2001f
push eax
call fcn.004cb930
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 0x4cd3f3
cmp ecx, ebx
je 0x4cd402
mov eax, dword [ebp - 0x18]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cd402
push 4
push 2
push dword [ebp - 0x18]
call fcn.00403690
add esp, 0xc
test esi, esi
jne 0x4cd414
push 1
mov ecx, edi
call fcn.0049f6c0
jmp 0x4cd91d
mov dword [ebp - 0x10], 0x6e80cc
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004859f0
add eax, 0xfffffffe
cmp eax, 0xa
ja case.0x4cd43c.6
movzx eax, byte [eax + 0x4cd990]
jmp dword [eax*4 + 0x4cd97c]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 7
push eax
mov ecx, edi
call fcn.004850c0
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
call fcn.004a0b30
add esp, 8
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x4cd489
cmp eax, 0xffffffff
je 0x4cd4da
mov eax, dword [ebp - 0x20]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cd4da
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 0x4cd4d1
mov edi, dword [esi - 4]
sub esi, 4
test edi, edi
je 0x4cd4c7
mov ecx, edi
call fcn.004818e0
push 0x10
push edi
call fcn.005245c1
mov ecx, dword [ebp - 0x28]
add esp, 8
cmp esi, ecx
jne 0x4cd4a8
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp + 0xc]
push edx
call fcn.0040e830
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 0x4cd53b
nop word [eax + eax]
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x4cd628
xor eax, eax
mov ecx, esi
push 1
push eax
mov word [ebp + 0xc], ax
push dword [ebp + 0xc]
call fcn.00408f00
cmp eax, 0xffffffff
jne 0x4cd628
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 0x4cd500
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 0x4cd5c0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
lea edi, [eax*2 + 2]
call fcn.0040d690
push edi
push eax
lea ecx, [ebp + 0xc]
call fcn.00429930
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00429e20
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 5
mov eax, dword [eax]
test eax, eax
je 0x4cd59e
cmp eax, 0xffffffff
je 0x4cd5ad
mov eax, dword [ebp + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cd5ad
push 4
push 1
push dword [ebp + 0xc]
call fcn.00403690
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 0x4cd551
push 0
lea ecx, [ebp - 0x10]
call fcn.00429ee0
push 0
lea ecx, [ebp - 0x10]
call fcn.00429ee0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 9
mov eax, dword [eax]
test eax, eax
je 0x4cd5f7
cmp eax, 0xffffffff
je 0x4cd61f
mov eax, dword [ebp + 8]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cd61f
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.004028a0
push esi
call fcn.0040e830
add esp, 4
mov byte [ebp - 4], 2
jmp 0x4cd801
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1c], 3
push edi
push eax
call fcn.004a0c40
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.0040d690
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.00429930
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 0x4cd683
cmp eax, 0xffffffff
je 0x4cd692
mov eax, dword [ebp - 0x20]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cd692
push 4
push 1
push dword [ebp - 0x20]
call fcn.00403690
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x4cd6b9
cmp eax, 0xffffffff
je 0x4cd5d4
mov eax, dword [ebp + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cd5d4
push 4
push 2
push dword [ebp + 0xc]
call fcn.00403690
add esp, 0xc
jmp 0x4cd5d4
push 0
mov ecx, edi
mov dword [ebp - 0x1c], 4
call fcn.00484c00
mov dword [ebp + 0xc], eax
lea ecx, [ebp + 8]
push 4
lea eax, [ebp + 0xc]
push eax
call fcn.00429930
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 8]
mov dword [eax], edx
call fcn.004056d0
jmp 0x4cd801
push 0
mov ecx, edi
mov dword [ebp - 0x1c], 0xb
call fcn.004850e0
mov dword [ebp - 0x30], eax
lea ecx, [ebp + 0xc]
push 8
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], edx
push eax
call fcn.00429930
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 0xc]
mov dword [eax], edx
call fcn.004056d0
jmp 0x4cd801
lea eax, [ebp + 0xc]
push edi
push eax
call fcn.004a0c40
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.00408f00
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.0040d690
push eax
lea ecx, [ebp + 8]
call fcn.00429930
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 0x4cd7c0
cmp eax, 0xffffffff
je 0x4cd7cf
mov eax, dword [ebp + 8]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cd7cf
push 4
push 1
push dword [ebp + 8]
call fcn.00403690
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x4cd7f2
cmp eax, 0xffffffff
je 0x4cd801
mov eax, dword [ebp + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cd801
push 4
push 2
push dword [ebp + 0xc]
call fcn.00403690
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.004cc0d0
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0040d690
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 0x4cd85e
cmp eax, 0xffffffff
je 0x4cd86d
mov eax, dword [ebp + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cd86d
push 4
push 2
push dword [ebp + 0xc]
call fcn.00403690
add esp, 0xc
test esi, esi
jne 0x4cd87a
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0x58], 0
jmp 0x4cd8e8
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
test eax, eax
je 0x4cd891
cmp eax, 0xffffffff
je 0x4cd891
mov eax, dword [ebp - 0x14]
lock inc dword [eax]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call fcn.0040d690
push eax
push str.QSettings:_failed_to_set_subkey___ls_
push esi
call fcn.00427810
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x4cd8cf
cmp eax, 0xffffffff
je 0x4cd8de
mov eax, dword [ebp + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cd8de
push 4
push 2
push dword [ebp + 0xc]
call fcn.00403690
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push 1
call fcn.0049f6c0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4cd90e
cmp eax, 0xffffffff
je 0x4cd91d
mov eax, dword [ebp - 0x10]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cd91d
push 4
push 1
push dword [ebp - 0x10]
call fcn.00403690
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x4cd93a
cmp eax, 0xffffffff
je 0x4cd966
mov eax, dword [ebp - 0x14]
lock xadd dword [eax], ebx
dec ebx
setne al
test al, al
jne 0x4cd966
push 4
push 2
push dword [ebp - 0x14]
call fcn.00403690
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.0049f6c0
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