Function at 0x10003ad0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10010375
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1003a004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, SysReAllocString
mov ecx, dword [0x100891b8]
sub eax, ecx
cmp eax, 1
jb 0x10003d43
cmp dword [0x100891bc], 8
mov eax, 0x100891a8
push 1
cmovae eax, dword [0x100891a8]
push 0x10037e70
push ecx
push eax
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x50]
call fcn.100040c0
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], 8
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x38], edx
jb 0x10003b5f
mov edi, dword [edi]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
sub eax, ecx
mov dword [ebp - 0x30], ecx
cmp edx, eax
ja 0x10003ba4
cmp dword [ebp - 0x3c], 8
lea eax, [ecx + edx]
lea esi, [ebp - 0x50]
mov dword [ebp - 0x40], eax
cmovae esi, dword [ebp - 0x50]
lea eax, [edx + edx]
push eax
push edi
lea ecx, [esi + ecx*2]
push ecx
call fcn.10005cf0
mov eax, dword [ebp - 0x38]
add esp, 0xc
add eax, dword [ebp - 0x30]
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x50]
mov esi, dword [ebp - 0x34]
jmp 0x10003bb2
push edx
push edi
push dword [ebp - 0x30]
lea ecx, [ebp - 0x50]
push edx
call fcn.100041d0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x10003c25
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003c1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d48
push ecx
push edx
call fcn.100045a4
add esp, 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10003cca
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10003c57
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x34]
jmp 0x10003c5d
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [ebp - 0x14]
js 0x10003cc3
test eax, eax
je 0x10003cc3
cmp dword [0x1008912c], 8
mov ecx, 0x10089118
push 0
cmovae ecx, dword [0x10089118]
push 0
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
js 0x10003cca
mov esi, 7
jmp 0x10003ccf
mov esi, 0x1c
jmp 0x10003cd2
mov esi, 0x19
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x10003d0b
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003cfe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d4d
push ecx
push edx
call fcn.100045a4
mov eax, dword [ebp - 0x14]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
test eax, eax
je 0x10003d26
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000443f
mov esp, ebp
pop ebp
ret
call fcn.10001870
call fcn.1000779c
call fcn.1000779c
int3