Function at 0x10003ff0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003752e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1114
call fcn.10024bc0
push ebx
push esi
push edi
lea eax, [ebp - 0x1124]
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], edi
call fcn.10002b60
cmp eax, edi
jl 0x10004379
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1124]
push edx
call fcn.100029a0
add esp, 8
test eax, eax
jne 0x10004058
mov eax, 0x80020009
jmp 0x10004379
mov ecx, esi
call fcn.10002b00
lea eax, [ebp - 0x1124]
push eax
mov ecx, esi
call fcn.10002b60
cmp eax, edi
jl 0x10004379
movzx eax, word [ebp - 0x14]
cmp eax, 0x13
jg 0x10004279
je 0x100041c8
cmp eax, 8
je 0x100041ac
cmp eax, 0x11
jne 0x10004364
lea ecx, [ebp - 0x1124]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test bl, 1
jne 0x10004109
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x124], 0
mov dword [ebp - 4], 4
push edi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 5
call fcn.10003d40
jmp 0x100040ea
mov eax, dword [ebp - 0x124]
test eax, eax
jne 0x10004113
lea edx, [ebp - 0x120]
test edx, edx
je 0x10004109
lea ecx, [ebp - 0x124]
call fcn.10003250
mov eax, 0x80004005
jmp 0x10004379
push edi
push 0
push eax
call fcn.10023f90
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x1000416c
jmp 0x10004130
movzx edx, byte [ebp + esi - 0x1124]
mov ecx, dword [ebp - 0x124]
mov eax, esi
shr eax, 1
push edx
lea edi, [eax + ecx]
call fcn.10002a50
mov ecx, esi
and ecx, 1
add ecx, ecx
add ecx, ecx
mov edx, ecx
mov ecx, 4
sub ecx, edx
shl al, cl
inc esi
add esp, 4
or byte [edi], al
cmp esi, ebx
jl 0x10004130
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push edi
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
lea eax, [ebp - 0x120]
cmp dword [ebp - 0x124], eax
je 0x10004350
lea ecx, [ebp - 0x124]
call fcn.10003250
jmp 0x10004350
mov edx, dword [ebp + 0xc]
push 1
lea ecx, [ebp - 0x1124]
push ecx
mov ecx, dword [ebp + 8]
push edx
call fcn.10002800
mov esi, eax
jmp 0x10004350
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x1124]
push eax
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push 2
push eax
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], eax
call fcn.10002460
add esp, 0xc
test eax, eax
jl 0x1000423b
mov esi, dword [ebp - 0x18]
cmp esi, 0x400
jg 0x1000421c
push esi
call fcn.100032c0
add esp, 4
test al, al
je 0x1000421c
mov eax, esi
call fcn.10024ce0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x10004225
push esi
lea ecx, [ebp - 0x14]
call fcn.100035f0
push 3
shr esi, 1
push esi
lea edx, [ebp - 0x1124]
push edx
push eax
call fcn.100024b0
cmp eax, edi
jne 0x1000424d
lea ecx, [ebp - 0x14]
call fcn.100031f0
mov eax, 0x8007000e
jmp 0x10004379
lea ecx, [ebp - 0x1c]
push ecx
push edi
push edi
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push eax
call fcn.100027e0
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.100031f0
jmp 0x10004350
cmp eax, 0x4008
jne 0x10004364
lea ecx, [ebp - 0x1124]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 2
mov dword [ebp - 0x124], edi
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.10003d40
mov edi, dword [ebp - 0x124]
test edi, edi
je 0x10004336
cmp byte [ebp - 0x1124], 0
lea esi, [ebp - 0x1124]
je 0x10004312
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
lea esp, [esp]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x100042f0
cmp byte [eax], 0x30
jne 0x100042f0
mov byte [edi], 0
push eax
inc edi
call ebx
mov esi, eax
jmp 0x1000430d
mov byte [edi], cl
movzx edx, byte [esi]
push edx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x1000430b
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
je 0x10004312
mov byte [edi], al
inc edi
inc esi
cmp byte [esi], 0
jne 0x100042d0
mov ecx, dword [ebp + 0xc]
mov byte [edi], 0
mov byte [edi + 1], 0
mov eax, dword [ebp - 0x124]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.10002840
mov edi, dword [ebp - 0x124]
mov esi, eax
jmp 0x1000433b
mov esi, 0xe
lea edx, [ebp - 0x120]
cmp edi, edx
je 0x10004350
lea ecx, [ebp - 0x124]
call fcn.10003250
xor edi, edi
cmp esi, edi
je 0x10004361
push esi
call fcn.10002670
add esp, 4
jmp 0x10004379
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, esi
call fcn.10002b60
xor ecx, ecx
cmp eax, edi
setge cl
dec ecx
and eax, ecx
lea esp, [ebp - 0x1130]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc