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

Disassembly:
push 0xffffffffffffffff
push 0x10014328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov eax, dword [0x100192e0]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x78], eax
mov esi, ecx
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], edi
mov byte [esp + 0x60], 0
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x88], edi
call fcn.100029a0
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov byte [esp + 0x88], 1
call fcn.10002ab0
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x3c]
mov esi, 0x10
cmp eax, esi
mov eax, dword [esp + 0x28]
mov byte [esp + 0x84], 4
jae 0x10002f6f
lea eax, [esp + 0x28]
lea edx, [esp + 0x10]
push edx
push 0x2001f
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x100030ef
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x10]
cmp eax, esi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
jae 0x10002faa
lea eax, [esp + 0x44]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x20]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push eax
push ecx
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x10002fd5
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
movzx ebx, byte [0x100156fe]
push ebp
lea esi, [ebx + 1]
push esi
call fcn.1000c516
mov ebp, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, ebx
mov eax, ecx
shr ecx, 2
mov esi, 0x100156f0
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
push 0x100158b4
mov ecx, eax
and ecx, 3
push ebx
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.1000a5f0
mov eax, ebp
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003027
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x68]
call fcn.100026e0
push ebp
call fcn.1000ceb2
mov eax, dword [esp + 0x7c]
add esp, 4
cmp eax, 0x10
mov eax, dword [esp + 0x64]
pop ebp
jae 0x10003056
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x18]
call fcn.10002d70
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
cmp eax, 0xffffffff
mov esi, ecx
jne 0x10003076
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
mov esi, dword [esp + 0x14]
push 1
push 0
push 0x1001538a
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x100030a5
push eax
call edi
xor ebx, ebx
mov dword [esp + 0x18], ebx
jmp 0x100030a9
mov ebx, dword [esp + 0x18]
test esi, esi
je 0x100030bc
push esi
call edi
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100030da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebx, ebx
je 0x100030e1
push ebx
call edi
test esi, esi
je 0x100030e8
push esi
call edi
xor edi, edi
mov esi, 0x10
cmp dword [esp + 0x58], esi
jb 0x10003102
mov eax, dword [esp + 0x44]
push eax
call fcn.1000cae8
add esp, 4
cmp dword [esp + 0x3c], esi
mov ebx, 0xf
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
jb 0x10003127
mov ecx, dword [esp + 0x28]
push ecx
call fcn.1000cae8
add esp, 4
mov eax, dword [esp + 0x74]
mov dword [esp + 0x38], edi
pop edi
cmp eax, esi
pop esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x20], 0
pop ebx
jb 0x1000314c
mov edx, dword [esp + 0x54]
push edx
call fcn.1000cae8
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x6c]
call fcn.1000ca3e
add esp, 0x7c
ret