Function at 0x2754b980
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275a6ebc
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x12c], esi
xor ebx, ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x128], ebx
push esi
push 0x2750d540
lea eax, [ebp - 0x120]
push eax
push 0x2750d4d0
lea ecx, [ebp - 0x11c]
push 2
push ecx
mov byte [ebp - 4], 1
call fcn.2753a320
add esp, 0x18
cmp dword [edi + 0x30], esi
mov byte [ebp - 4], 2
jne 0x2754ba34
mov dword [ebp - 0x120], 0x48862
call fcn.27595010
test al, al
je 0x2754bbc0
push 0x2750bf34
push 0x2750d460
push esi
call fcn.27595fd0
add esp, 0xc
jmp 0x2754bbc0
lea edx, [ebp - 0x134]
push edx
mov ecx, edi
call fcn.2754a360
cmp eax, esi
mov dword [ebp - 0x120], eax
jl 0x2754bbc0
push 0x20006
push 0x2750d408
push SysReAllocString
lea ecx, [ebp - 0x128]
call fcn.27539340
cmp eax, 2
jne 0x2754bac1
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x124]
push ecx
push esi
push 0x20006
push esi
push esi
push esi
push 0x2750d408
push SysReAllocString
mov dword [ebp - 0x124], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x2754bac1
mov ecx, dword [ebp - 0x128]
xor eax, eax
cmp ecx, esi
je 0x2754bab3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x124]
mov dword [ebp - 0x128], ebx
jmp 0x2754bac7
mov ebx, dword [ebp - 0x128]
cmp eax, esi
je 0x2754bb0e
jle 0x2754bad7
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.27595010
test al, al
je 0x2754bbc0
mov edx, dword [ebp - 0x120]
push edx
push 0x2750d408
push 0x275037c0
push 0x2750d398
push esi
call fcn.27595fd0
add esp, 0x14
jmp 0x2754bbc0
mov ecx, dword [edi + 0x30]
lea eax, [ebp - 0x124]
push eax
call fcn.2753d010
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x130]
mov eax, dword [eax]
push ecx
push edx
push 3
push esi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2754bb5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x2754bbbe
jle 0x2754bb6e
and esi, 0xffff
or esi, 0x80070000
mov dword [ebp - 0x120], esi
call fcn.27595010
test al, al
je 0x2754bbbe
lea ecx, [ebp - 0x124]
push ecx
mov ecx, dword [edi + 0x30]
call fcn.2753d010
mov edx, dword [ebp - 0x120]
mov eax, dword [eax]
push edx
push 0x2750d408
push eax
push 0x2750d328
push 0x2750d2b8
push 0
mov byte [ebp - 4], 3
call fcn.27595fd0
add esp, 0x18
lea ecx, [ebp - 0x124]
call fcn.2753a510
xor esi, esi
mov edi, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 1
call fcn.2753a430
cmp ebx, esi
je 0x2754bbe0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x130]
cmp eax, esi
je 0x2754bbf1
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.2757f388
mov esp, ebp
pop ebp
ret