Function at 0x1000f610
Capabilities:
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004503b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov eax, dword [0x100533e8]
push ebx
push esi
mov dword [esp + 0x78], eax
mov eax, dword [0x10054f08]
push edi
mov ecx, 0x10054f08
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov edx, dword [0x10054f08]
xor esi, esi
mov ecx, 0x10054f08
mov dword [esp + 0x8c], esi
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
lea eax, [esp + 0xc]
push eax
push 0x2001f
push esi
push str.CLSIDF9E2CFAA_66E4_458e_8C7F_A87AC7B7F3EE
push SysReAllocString
mov byte [esp + 0xa0], 2
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x1000f733
cmp eax, 2
jne 0x1000f6e5
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x10]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.CLSIDF9E2CFAA_66E4_458e_8C7F_A87AC7B7F3EE
push SysReAllocString
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x1000f733
lea eax, [ebx - 0x10]
mov byte [esp + 0x8c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x1000f6fd
lea eax, [ebx - 0x10]
mov byte [esp + 0x8c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000f707
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000f72c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x1000f9e6
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx - 4]
mov dword [esp + 0xc], ecx
mov ecx, 1
sub ecx, eax
mov eax, dword [ebx - 8]
mov edi, 0x21
sub eax, edi
or eax, ecx
mov dword [esp + 0x14], edi
jge 0x1000f765
push edi
lea ecx, [esp + 0x1c]
call fcn.10004960
mov ebx, dword [esp + 0x18]
cmp dword [ebx - 8], edi
jge 0x1000f774
push 0x80070057
call fcn.10003290
lea eax, [esp + 0x14]
push eax
push ebx
mov dword [ebx - 0xc], edi
push str.CODE
lea ecx, [esp + 0x18]
mov word [ebx + 0x42], si
call fcn.100018e0
cmp eax, esi
mov dword [esp + 0x1c], eax
jne 0x1000f8b8
cmp dword [esp + 0x14], edi
jne 0x1000f8b8
lea ecx, [esp + 0x10]
push ecx
call fcn.1000f1b0
mov esi, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x1000f981
cmp dword [ebx - 4], 1
mov edx, dword [esi - 0xc]
mov dword [esp + 0x14], edx
jle 0x1000f7dc
mov eax, dword [ebx - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.10004840
mov ebx, dword [esp + 0x18]
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x1000f7f5
mov ecx, edi
push ecx
lea ecx, [esp + 0x14]
call fcn.10004840
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edx
push ebx
push edi
push esi
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x1000f981
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
movzx edx, byte [esp + 0x2e]
xor eax, eax
mov word [esp + 0x30], 0
mov ecx, 0x10
lea edi, [esp + 0x32]
rep stosd dword es:[edi], eax
movzx ecx, byte [esp + 0x2f]
movzx eax, byte [esp + 0x2d]
push ecx
movzx ecx, byte [esp + 0x30]
push edx
movzx edx, byte [esp + 0x33]
push eax
movzx eax, byte [esp + 0x36]
push ecx
movzx ecx, byte [esp + 0x39]
push edx
movzx edx, byte [esp + 0x3c]
push eax
movzx eax, word [esp + 0x3e]
push ecx
movzx ecx, word [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
lea eax, [esp + 0x5c]
push str._08X_04X_04X_02X_02X_02X_02X_02X_02X_02X_02X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax]
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
add esp, 0x34
mov ecx, edx
push 1
and ecx, 3
lea eax, [esp + 0x34]
push eax
rep movsb byte es:[edi], byte [esi]
push str.CODE
lea ecx, [esp + 0x18]
call fcn.10003490
jmp 0x1000f97d
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.ole32.dll_CoCreateGuid]
movzx edx, byte [esp + 0x2f]
push edx
movzx edx, byte [esp + 0x30]
xor eax, eax
mov word [esp + 0x34], si
mov ecx, 0x10
lea edi, [esp + 0x36]
rep stosd dword es:[edi], eax
movzx eax, byte [esp + 0x32]
movzx ecx, byte [esp + 0x31]
push eax
movzx eax, byte [esp + 0x33]
push ecx
movzx ecx, byte [esp + 0x36]
push edx
movzx edx, byte [esp + 0x39]
push eax
movzx eax, byte [esp + 0x3c]
push ecx
movzx ecx, word [esp + 0x3e]
push edx
movzx edx, word [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
lea ecx, [esp + 0x5c]
push str._08X_04X_04X_02X_02X_02X_02X_02X_02X_02X_02X
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x44]
push edx
call fcn.1000f1b0
add esp, 0x38
test eax, eax
je 0x1000f955
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax]
mov eax, ecx
shr ecx, 2
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0xc]
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x34]
push eax
push 1
push esi
push str.CODE
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
xor edx, edx
test edi, edi
sete dl
test eax, eax
mov edi, edx
je 0x1000f99d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 0xfffffff0
mov byte [esp + 0x8c], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000f9bf
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000f9e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x7c]
call fcn.10036133
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret