Function at 0x100beef
Capabilities:
Set registry value

Disassembly:
push 0x444
mov eax, 0x10364eb
call fcn.01008604
mov eax, dword [ebp + 0x20]
lea esi, [ebp + 0x10]
lea edi, [ebp - 0x42c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x438], eax
xor eax, eax
movsd dword es:[edi], dword [esi]
mov word [ebp - 0x41c], ax
mov word [ebp - 0x214], ax
push 0x104
lea eax, [ebp - 0x41c]
push eax
push dword [0x103bc00]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x43c], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ebx, ebx
cmp eax, ebx
je 0x100c21b
lea eax, [ebp - 0x41c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x100bf58
sub eax, edx
sar eax, 1
lea esi, [eax + 1]
cmp edi, ebx
je 0x100bf84
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x100bf72
sub eax, edx
sar eax, 1
lea esi, [esi + eax + 2]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01001505
mov edi, eax
pop ecx
mov dword [ebp - 0x430], edi
cmp edi, ebx
je 0x100c21b
mov dword [ebp - 0x450], edi
lea eax, [ebp - 0x41c]
push eax
push esi
push edi
mov dword [ebp - 4], ebx
call fcn.01008981
cmp dword [ebp - 0x43c], ebx
je 0x100bfe3
push 0x100c29c
push esi
push edi
call fcn.0100c2a5
push dword [ebp - 0x43c]
push esi
push edi
call fcn.0100c2a5
mov esi, 0x80
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
cmp dword [ebp + 8], ebx
je 0x100c0fc
push 0x101c44c
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.01008981
lea eax, [ebp - 0x210]
push eax
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.0100c2a5
push dword [ebp - 0x438]
lea eax, [ebp - 0x110]
push ebx
push ebx
push eax
call fcn.0101eed1
test eax, eax
jne 0x100c055
push edi
call fcn.010014ce
pop ecx
mov eax, 0x80040201
jmp 0x100c220
lea eax, [ebp - 0x434]
push eax
push 0x2001f
push ebx
lea eax, [ebp - 0x110]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x100c044
push dword [ebp - 0x434]
lea eax, [ebp - 0x44c]
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call fcn.01011c53
push 1
push 0x100c278
push dword [ebp - 0x434]
mov byte [ebp - 4], 1
call fcn.0101e93b
cmp eax, ebx
jge 0x100c0bc
lea eax, [ebp - 0x44c]
push eax
mov byte [ebp - 4], 0
call fcn.01011b39
jmp 0x100c044
cmp dword [ebp + 0x28], ebx
je 0x100c0ec
push 4
lea eax, [ebp - 0x440]
push eax
push 4
push ebx
push 0x100c260
push dword [ebp - 0x434]
mov dword [ebp - 0x440], 2
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100c0aa
lea eax, [ebp - 0x44c]
push eax
mov byte [ebp - 4], 0
call fcn.01011b39
push 0x100b8e4
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.01008981
lea eax, [ebp - 0x210]
push eax
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.0100c2a5
cmp dword [ebp + 8], ebx
je 0x100c148
lea eax, [ebp - 0x210]
push eax
push 0x100c254
push ebx
lea eax, [ebp - 0x110]
push eax
call fcn.0101eed1
test eax, eax
je 0x100c044
push dword [ebp - 0x438]
lea eax, [ebp - 0x110]
push ebx
push ebx
push eax
call fcn.0101eed1
test eax, eax
je 0x100c044
push ebx
push ebx
push 0x101c45c
lea eax, [ebp - 0x110]
push eax
call fcn.0101eed1
test eax, eax
je 0x100c044
cmp dword [ebp + 8], 0
mov ebx, 0x100c248
mov edi, 0x100c228
je 0x100c1cb
push dword [ebp - 0x430]
mov esi, 0x100b8c8
push 0
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.0101eed1
test eax, eax
jne 0x100c1b8
push dword [ebp - 0x430]
jmp 0x100c045
push ebx
push edi
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.0101eed1
test eax, eax
je 0x100c1ad
cmp dword [ebp + 0xc], 0
je 0x100c217
push dword [ebp - 0x430]
mov esi, 0x101c42c
push 0
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.0101eed1
test eax, eax
je 0x100c1ad
push ebx
push edi
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.0101eed1
test eax, eax
jne 0x100c217
mov esi, 0x80040201
push dword [ebp - 0x430]
call fcn.010014ce
pop ecx
mov eax, esi
jmp 0x100c220
xor esi, esi
jmp 0x100c207
mov eax, 0x80004005
call fcn.01008692
ret 0x24