Function at 0x453b0e
Capabilities:
Set registry value

Disassembly:
push 0x7c
mov eax, 0x611430
call fcn.00429868
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x70]
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x3c], 1
and dword [ebp - 4], 0
call fcn.00455982
mov byte [ebp - 0x11], 0
test edi, edi
je 0x453d44
mov eax, dword [ebx]
mov esi, dword [eax + 0x54]
lea eax, [ebp - 0x11]
push eax
push edi
push ebx
mov ecx, esi
call dword [0x6317ac]
call esi
mov edi, eax
test edi, edi
js 0x453d30
cmp byte [ebp - 0x11], 0
jne 0x453d30
and dword [ebp - 0x38], 0
lea ecx, [ebp - 0x58]
and dword [ebp - 0x34], 0
push str.SoftwareMicrosoftOneDrive
call fcn.0040ad69
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x38]
mov edi, 0x2001f
cmovae eax, dword [ebp - 0x58]
xor edx, edx
push edx
push ecx
push edx
push edi
push edx
push edx
push edx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.00413b5a
test esi, esi
jne 0x453d22
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x38], esi
lea eax, [ebp - 0x58]
push eax
mov ecx, ebx
call fcn.00455a42
cmp dword [eax + 0x14], 8
jb 0x453bdf
mov eax, dword [eax]
xor edx, edx
lea ecx, [ebp - 0x34]
push edx
push ecx
push edx
push edi
push 1
push edx
push edx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.00413b5a
test esi, esi
jne 0x453d22
xor ecx, ecx
mov dword [ebp - 0x1c], 7
xor eax, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
push ecx
push ecx
push dword [ebp - 0x34]
call fcn.004561eb
mov edi, eax
test edi, edi
js 0x453cd8
push dword [ebp - 0x18]
cmp dword [ebp - 0x20], esi
jbe 0x453caa
lea ecx, [ebp - 0x88]
call fcn.0040ad69
mov esi, eax
push 0x63850c
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0040ad69
push esi
push eax
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00452020
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 4
call fcn.00411d08
lea ecx, [ebp - 0x58]
call fcn.00413b5a
lea ecx, [ebp - 0x70]
call fcn.00413b5a
lea ecx, [ebp - 0x88]
call fcn.00413b5a
jmp 0x453cb2
lea ecx, [ebp - 0x30]
call fcn.00411bb5
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], 8
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push 1
push 0
push 0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x453d30
mov ecx, dword [ebp - 0x30]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], ecx
cmp eax, 0x1000
jb 0x453d17
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00413cba
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x3c]
push eax
push ecx
call fcn.00429588
pop ecx
pop ecx
jmp 0x453d30
movzx edi, si
or edi, 0x80070000
test esi, esi
cmovle edi, esi
lea eax, [ebx + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
call fcn.00429817
ret 4
push 0x80004005
call fcn.00413b3a
int3