Function at 0x101151d
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1031b2b
call fcn.01024c18
sub esp, 0x440
mov eax, dword [0x1037f7c]
push ebx
push esi
push edi
lea esi, [ebp + 0x10]
lea edi, [ebp - 0x42c]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x430], eax
push 0x104
lea eax, [ebp - 0x41c]
movsd dword es:[edi], dword [esi]
push eax
push dword [0x1038a40]
xor ebx, ebx
movsd dword es:[edi], dword [esi]
mov word [ebp - 0x41c], bx
mov word [ebp - 0x214], bx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
je 0x1011841
mov edi, dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [ebp - 0x41c]
push eax
call edi
mov esi, eax
inc esi
cmp dword [ebp - 0x430], ebx
pop ecx
je 0x10115af
push dword [ebp - 0x430]
call edi
pop ecx
lea esi, [esi + eax + 2]
lea eax, [esi + esi]
push eax
call fcn.0100dba4
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [ebp - 0x434], edi
je 0x1011841
mov dword [ebp - 0x44c], edi
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x41c]
push eax
push esi
push edi
call fcn.01011143
cmp dword [ebp - 0x430], ebx
je 0x1011601
push 0x1003fb4
push esi
push edi
call fcn.0101120f
push dword [ebp - 0x430]
push esi
push edi
call fcn.0101120f
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 0x101171f
push 0x1003ef8
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.01010b83
lea eax, [ebp - 0x210]
push eax
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.01011193
push dword [ebp - 0x438]
lea eax, [ebp - 0x110]
push ebx
push ebx
push eax
call fcn.01011231
test eax, eax
jne 0x1011677
or dword [ebp - 4], 0xffffffff
push edi
call fcn.0100dbce
pop ecx
mov eax, 0x80040201
jmp 0x1011846
lea eax, [ebp - 0x430]
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 0x1011662
push dword [ebp - 0x430]
lea eax, [ebp - 0x448]
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call fcn.010114e1
mov byte [ebp - 4], 1
push 1
push 0x1003f90
push dword [ebp - 0x430]
call fcn.01010c5d
cmp eax, ebx
jl 0x10116fc
cmp dword [ebp + 0x28], ebx
je 0x1011710
push 4
lea eax, [ebp - 0x43c]
push eax
push 4
push ebx
push 0x1003f78
push dword [ebp - 0x430]
mov dword [ebp - 0x43c], 2
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1011710
mov byte [ebp - 4], bl
lea eax, [ebp - 0x448]
push eax
call fcn.010111cc
jmp 0x1011662
mov byte [ebp - 4], bl
lea eax, [ebp - 0x448]
push eax
call fcn.010111cc
push 0x1003f30
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.01010b83
lea eax, [ebp - 0x210]
push eax
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.01011193
cmp dword [ebp + 8], ebx
je 0x101176b
lea eax, [ebp - 0x210]
push eax
push 0x1003f6c
push ebx
lea eax, [ebp - 0x110]
push eax
call fcn.01011231
test eax, eax
je 0x1011662
push dword [ebp - 0x438]
lea eax, [ebp - 0x110]
push ebx
push ebx
push eax
call fcn.01011231
test eax, eax
je 0x1011662
push ebx
push ebx
push 0x1003f14
lea eax, [ebp - 0x110]
push eax
call fcn.01011231
test eax, eax
je 0x1011662
cmp dword [ebp + 8], ebx
mov edi, 0x1003f4c
je 0x10117e0
push dword [ebp - 0x434]
mov esi, 0x1003edc
push ebx
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.01011231
test eax, eax
je 0x1011802
push 0x1003f40
push edi
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.01011231
test eax, eax
je 0x1011802
cmp dword [ebp + 0xc], ebx
je 0x101182d
push dword [ebp - 0x434]
mov esi, 0x1003ebc
push ebx
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.01011231
test eax, eax
jne 0x1011811
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x434]
jmp 0x1011667
push 0x1003f40
push edi
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.01011231
test eax, eax
jne 0x101182d
mov ebx, 0x80040201
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x434]
call fcn.0100dbce
pop ecx
mov eax, ebx
jmp 0x1011846
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.010248c0
leave
ret 0x24