Function at 0x10003d50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100928bd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100b2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x3c], eax
mov eax, esi
jbe 0x10003d96
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push 0x20006
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], ecx
cmp eax, 2
jne 0x10003dfe
cmp dword [esi + 0x14], 0xf
jbe 0x10003dbf
mov esi, dword [esi]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10003e06
call dword [ebp - 0x34]
push eax
push str.Error_creation_key__d_n
call fcn.10001070
mov eax, dword [ebp - 0x38]
add esp, 8
mov ecx, dword [ebp - 0x34]
test eax, eax
jne 0x10003f26
mov ecx, dword [ebp - 0x3c]
mov eax, accept
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x10003f53
cmp dword [ecx + 0x14], 0xf
jbe 0x10003e24
mov ecx, dword [ecx]
push 1
push 0x100aa720
push edx
push ecx
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
call fcn.1000f7b0
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
add eax, 4
mov dword [ebp - 4], 0
push eax
call fcn.100083a0
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10003eba
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003eb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003f58
push ecx
push edx
call fcn.1006cf0e
add esp, 8
mov ecx, dword [edi + 0x10]
add ecx, ecx
cmp dword [edi + 0x14], 0xf
jbe 0x10003ec7
mov edi, dword [edi]
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push ecx
cmova eax, dword [ebp - 0x2c]
push edi
push 1
push 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10003ef7
call dword [ebp - 0x34]
push eax
push str.Error_setting_key__d_n
call fcn.10001070
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10003f36
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003f1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003f5d
push ecx
push edx
call fcn.1006cf0e
jmp 0x10003f33
call ecx
push eax
push str.Error_opening_key__d_n
call fcn.10001070
add esp, 8
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.1006cacc
mov esp, ebp
pop ebp
ret 0x10
call fcn.100013a0
call fcn.10078661
call fcn.10078661
int3