Function at 0x4e4fbf
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5527f0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x8870bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov eax, dword [edi + 0x54]
cmp dword [eax + 4], 0
je 0x4e522a
mov esi, dword [eax + 0xc]
add esi, eax
mov ecx, esi
call fcn.004e3800
test eax, eax
je 0x4e522a
cmp byte [esi + 0xc], 0
jne 0x4e522a
mov ecx, esi
call fcn.004e3800
test eax, eax
je 0x4e522a
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [edx]
test eax, eax
je 0x4e4bf5
cmp eax, 0xffffffff
je 0x4e4bf5
mov eax, 1
lock xadd dword [edx], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004e34d0
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.00407430
cmp eax, 0xffffffff
jne 0x4e4c30
mov dword [ebp - 0x1c], 0x6f6ba0
jmp 0x4e4c3e
inc eax
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00407560
mov eax, dword [edi + 0x54]
mov byte [ebp - 4], 1
cmp dword [eax + 4], 0
je 0x4e4c6a
mov esi, dword [eax + 0xc]
add esi, eax
mov ecx, esi
call fcn.004e3800
test eax, eax
je 0x4e4c6a
cmp byte [esi + 0xc], 0
jne 0x4e4c6a
mov ecx, esi
call fcn.004e3800
jmp 0x4e4c6c
xor eax, eax
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push 0x2001f
push eax
call fcn.004e31d0
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov dword [ebp - 0x58], esi
mov ecx, dword [ecx]
test ecx, ecx
je 0x4e4cab
cmp ecx, ebx
je 0x4e4cba
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e4cba
push 4
push 2
push dword [ebp - 0x1c]
call fcn.004016c0
add esp, 0xc
test esi, esi
jne 0x4e4ccc
push 1
mov ecx, edi
call fcn.004d0b80
jmp 0x4e51e8
mov dword [ebp - 0x10], 0x6f6ba0
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0047f150
add eax, 0xfffffffe
cmp eax, 0xa
ja case.0x4e4cf4.6
movzx eax, byte [eax + 0x4e525c]
jmp dword [eax*4 + 0x4e5248]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x24], 7
push eax
mov ecx, edi
call fcn.0047e810
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
call fcn.004d1fe0
add esp, 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x4e4d43
cmp eax, 0xffffffff
je 0x4e4d94
mov eax, dword [ebp - 0x2c]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e4d94
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], 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 - 0x38], ecx
cmp esi, ecx
je 0x4e4d8b
mov edi, dword [esi - 4]
sub esi, 4
test edi, edi
je 0x4e4d81
mov ecx, edi
call fcn.0047ac20
push 0x10
push edi
call fcn.00521027
mov ecx, dword [ebp - 0x38]
add esp, 8
cmp esi, ecx
jne 0x4e4d62
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp + 0xc]
push edx
call fcn.0041fb10
add esp, 4
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 5
mov ecx, dword [eax + 8]
add ecx, 4
lea esi, [eax + ecx*4]
mov ecx, dword [eax + 0xc]
add ecx, 4
lea ecx, [eax + ecx*4]
cmp esi, ecx
je 0x4e4dec
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x4e4edd
xor eax, eax
mov ecx, esi
push 1
push eax
mov word [ebp - 0x44], ax
push dword [ebp - 0x44]
call fcn.00406e50
cmp eax, 0xffffffff
jne 0x4e4edd
mov eax, dword [ebp + 8]
add esi, 4
mov ecx, dword [eax + 0xc]
add ecx, 4
lea ecx, [eax + ecx*4]
cmp esi, ecx
jne 0x4e4db1
mov ecx, dword [eax + 8]
add ecx, 4
lea esi, [eax + ecx*4]
mov ecx, dword [eax + 0xc]
lea eax, [eax + ecx*4]
add eax, 0x10
cmp esi, eax
je 0x4e4e73
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
lea edi, [eax*2 + 2]
call fcn.0040bc30
push edi
push eax
lea ecx, [ebp - 0x34]
call fcn.0041c760
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0041cd10
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 5
mov eax, dword [eax]
test eax, eax
je 0x4e4e51
cmp eax, 0xffffffff
je 0x4e4e60
mov eax, dword [ebp - 0x34]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e4e60
push 4
push 1
push dword [ebp - 0x34]
call fcn.004016c0
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 0x4e4e02
push 0
lea ecx, [ebp - 0x10]
call fcn.0041cdd0
push 0
lea ecx, [ebp - 0x10]
call fcn.0041cdd0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 9
mov eax, dword [eax]
test eax, eax
je 0x4e4eac
cmp eax, 0xffffffff
je 0x4e4ed4
mov eax, dword [ebp + 8]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e4ed4
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.00407b50
push esi
call fcn.0041fb10
add esp, 4
mov byte [ebp - 4], 2
jmp 0x4e50bd
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 3
push edi
push eax
call fcn.004d20f0
add esp, 8
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
mov eax, dword [eax + 4]
lea esi, [eax + eax]
call fcn.0040bc30
push esi
push eax
lea ecx, [ebp - 0x30]
call fcn.0041c760
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
test eax, eax
je 0x4e4f3b
cmp eax, 0xffffffff
je 0x4e4f4a
mov eax, dword [ebp - 0x30]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e4f4a
push 4
push 1
push dword [ebp - 0x30]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x4e4f73
cmp eax, 0xffffffff
je 0x4e4e87
mov eax, dword [ebp - 0x20]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e4e87
push 4
push 2
push dword [ebp - 0x20]
call fcn.004016c0
add esp, 0xc
jmp 0x4e4e87
push 0
mov ecx, edi
mov dword [ebp - 0x24], 4
call fcn.0047e2c0
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x4c]
push 4
lea eax, [ebp - 0x48]
push eax
call fcn.0041c760
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x4c]
mov dword [eax], edx
call fcn.004011b0
jmp 0x4e50bd
push 0
mov ecx, edi
mov dword [ebp - 0x24], 0xb
call fcn.0047e830
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x50]
push 8
lea eax, [ebp - 0x60]
mov dword [ebp - 0x5c], edx
push eax
call fcn.0041c760
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x50]
mov dword [eax], edx
call fcn.004011b0
jmp 0x4e50bd
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.004d20f0
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xa
push 1
push eax
mov word [ebp - 0x54], ax
lea ecx, [ebp - 0x18]
push dword [ebp - 0x54]
call fcn.00406e50
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
lea ecx, [ecx*2 + 1]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
jne 0x4e503a
inc ecx
lea eax, [ecx + ecx]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bc30
push eax
lea ecx, [ebp - 0x38]
call fcn.0041c760
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
test eax, eax
je 0x4e507a
cmp eax, 0xffffffff
je 0x4e5089
mov eax, dword [ebp - 0x38]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e5089
push 4
push 1
push dword [ebp - 0x38]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x4e50ae
cmp eax, 0xffffffff
je 0x4e50bd
mov eax, dword [ebp - 0x18]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e50bd
push 4
push 2
push dword [ebp - 0x18]
call fcn.004016c0
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 - 0x3c]
push eax
call fcn.004e3910
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0040bc30
push esi
push edi
push dword [ebp - 0x24]
mov edi, dword [ebp - 0x58]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x3c]
mov esi, eax
mov byte [ebp - 4], 2
mov eax, dword [ecx]
test eax, eax
je 0x4e511c
cmp eax, 0xffffffff
je 0x4e512b
mov eax, dword [ebp - 0x3c]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e512b
push 4
push 2
push dword [ebp - 0x3c]
call fcn.004016c0
add esp, 0xc
test esi, esi
jne 0x4e513b
mov ecx, dword [ebp - 0x40]
mov byte [ecx + 0x58], 0
jmp 0x4e51b1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
test eax, eax
je 0x4e5158
cmp eax, 0xffffffff
je 0x4e5158
mov eax, dword [ebp - 0x14]
mov ecx, 1
lock xadd dword [eax], ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.0040bc30
push eax
push str.QSettings:_failed_to_set_subkey___ls_
push esi
call fcn.0041a900
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x4e5198
cmp eax, 0xffffffff
je 0x4e51a7
mov eax, dword [ebp - 0x28]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e51a7
push 4
push 2
push dword [ebp - 0x28]
call fcn.004016c0
add esp, 0xc
mov ecx, dword [ebp - 0x40]
push 1
call fcn.004d0b80
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4e51d9
cmp eax, 0xffffffff
je 0x4e51e8
mov eax, dword [ebp - 0x10]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e51e8
push 4
push 1
push dword [ebp - 0x10]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x4e5207
cmp eax, 0xffffffff
je 0x4e5233
mov eax, dword [ebp - 0x14]
lock xadd dword [eax], ebx
cmp ebx, 1
setne al
test al, al
jne 0x4e5233
push 4
push 2
push dword [ebp - 0x14]
call fcn.004016c0
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.004d0b80
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