Function at 0x10003fc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003759e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1114
call fcn.10024c40
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.10002b10
cmp eax, edi
jl 0x10004349
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1124]
push edx
call fcn.10002950
add esp, 8
test eax, eax
jne 0x10004028
mov eax, 0x80020009
jmp 0x10004349
mov ecx, esi
call fcn.10002ab0
lea eax, [ebp - 0x1124]
push eax
mov ecx, esi
call fcn.10002b10
cmp eax, edi
jl 0x10004349
movzx eax, word [ebp - 0x14]
cmp eax, 0x13
jg 0x10004249
je 0x10004198
cmp eax, 8
je 0x1000417c
cmp eax, 0x11
jne 0x10004334
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 0x100040d9
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.10003d10
jmp 0x100040ba
mov eax, dword [ebp - 0x124]
test eax, eax
jne 0x100040e3
lea edx, [ebp - 0x120]
test edx, edx
je 0x100040d9
lea ecx, [ebp - 0x124]
call fcn.10003210
mov eax, 0x80004005
jmp 0x10004349
push edi
push 0
push eax
call fcn.10024010
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x1000413c
jmp 0x10004100
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.10002a00
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 0x10004100
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 0x10004320
lea ecx, [ebp - 0x124]
call fcn.10003210
jmp 0x10004320
mov edx, dword [ebp + 0xc]
push 1
lea ecx, [ebp - 0x1124]
push ecx
mov ecx, dword [ebp + 8]
push edx
call fcn.100027b0
mov esi, eax
jmp 0x10004320
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.10002410
add esp, 0xc
test eax, eax
jl 0x1000420b
mov esi, dword [ebp - 0x18]
cmp esi, 0x400
jg 0x100041ec
push esi
call fcn.10003280
add esp, 4
test al, al
je 0x100041ec
mov eax, esi
call fcn.10024d60
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x100041f5
push esi
lea ecx, [ebp - 0x14]
call fcn.100035c0
push 3
shr esi, 1
push esi
lea edx, [ebp - 0x1124]
push edx
push eax
call fcn.10002460
cmp eax, edi
jne 0x1000421d
lea ecx, [ebp - 0x14]
call fcn.100031b0
mov eax, 0x8007000e
jmp 0x10004349
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.10002790
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.100031b0
jmp 0x10004320
cmp eax, 0x4008
jne 0x10004334
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.10003d10
mov edi, dword [ebp - 0x124]
test edi, edi
je 0x10004306
cmp byte [ebp - 0x1124], 0
lea esi, [ebp - 0x1124]
je 0x100042e2
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
lea esp, [esp]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x100042c0
cmp byte [eax], 0x30
jne 0x100042c0
mov byte [edi], 0
push eax
inc edi
call ebx
mov esi, eax
jmp 0x100042dd
mov byte [edi], cl
movzx edx, byte [esi]
push edx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x100042db
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
je 0x100042e2
mov byte [edi], al
inc edi
inc esi
cmp byte [esi], 0
jne 0x100042a0
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.100027f0
mov edi, dword [ebp - 0x124]
mov esi, eax
jmp 0x1000430b
mov esi, 0xe
lea edx, [ebp - 0x120]
cmp edi, edx
je 0x10004320
lea ecx, [ebp - 0x124]
call fcn.10003210
xor edi, edi
cmp esi, edi
je 0x10004331
push esi
call fcn.10002620
add esp, 4
jmp 0x10004349
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, esi
call fcn.10002b10
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