Function at 0x100025c8
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1108]
mov eax, 0x1108
call fcn.1000c210
push 0xffffffffffffffff
push 0x1002ab48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10041024]
xor eax, ebp
mov dword [ebp + 0x1104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0x1118]
xor ebx, ebx
mov edi, dword [ebp + 0x1110]
mov esi, dword [ebp + 0x1114]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x104]
push eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], ebx
call fcn.10003203
test eax, eax
js 0x100029c7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x104]
push eax
call fcn.1001b703
pop ecx
pop ecx
test eax, eax
jne 0x10002662
mov eax, 0x80020009
jmp 0x100029c7
mov ecx, dword [ebp - 0x24]
call fcn.100045bb
mov ecx, dword [ebp - 0x24]
lea eax, [ebp + 0x104]
push eax
call fcn.10003203
test eax, eax
js 0x100029c7
movzx eax, word [ebp - 0x14]
sub eax, 8
je 0x1000297b
sub eax, 9
je 0x10002868
dec eax
sub eax, 1
je 0x10002789
sub eax, 0x3ff5
jne 0x100029b3
lea ecx, [ebp + 0x104]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100026b5
sub ecx, edx
mov dword [ebp], ebx
add ecx, 2
push 1
mov dword [ebp - 4], ebx
push ecx
mov byte [ebp - 4], 1
call fcn.1001b703
pop ecx
pop ecx
cmp eax, 0x100
jbe 0x100026e7
push eax
lea ecx, [ebp]
call fcn.10002a19
jmp 0x100026fd
lea esi, [ebp + 4]
mov dword [ebp], esi
jmp 0x10002700
mov esi, dword [ebp]
test esi, esi
je 0x1000276e
cmp byte [ebp + 0x104], 0
lea edi, [ebp + 0x104]
je 0x10002754
push edi
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [edi]
cmp cl, 0x5c
jne 0x10002733
cmp byte [eax], 0x30
jne 0x10002733
push eax
mov byte [esi], bl
call dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
jmp 0x1000274e
mov byte [esi], cl
movzx eax, byte [edi]
push eax
call dword [sym.imp.kernel32.dll_IsDBCSLeadByte]
test eax, eax
je 0x1000274d
inc esi
inc edi
mov al, byte [edi]
test al, al
je 0x10002754
mov byte [esi], al
inc edi
inc esi
cmp byte [edi], 0
jne 0x10002713
mov ecx, dword [ebp - 0x20]
mov word [esi], 0
push dword [ebp]
push dword [ebp - 0x1c]
call fcn.1000450d
mov esi, dword [ebp]
mov edi, eax
jmp 0x10002771
push 0xe
pop edi
lea eax, [ebp + 4]
cmp esi, eax
je 0x100029a6
lea ecx, [ebp]
call fcn.10002f8a
jmp 0x100029a6
mov esi, ebx
mov dword [ebp - 0x18], esi
lea ecx, [ebp + 0x104]
mov dword [ebp - 4], 3
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000279e
sub ecx, edx
push 2
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000212c
add esp, 0xc
test eax, eax
js 0x10002838
mov edi, dword [ebp - 0x14]
cmp edi, 0x400
jg 0x100027e4
push edi
call fcn.10004d0b
pop ecx
test al, al
je 0x100027e4
mov eax, edi
call fcn.1000c1e0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x100027f0
push edi
lea ecx, [ebp - 0x18]
call fcn.100029ef
mov esi, dword [ebp - 0x18]
push 3
shr edi, 1
lea ecx, [ebp + 0x104]
push edi
push ecx
push eax
call fcn.1001b703
test eax, eax
je 0x10002834
lea ecx, [ebp - 0x28]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov edi, eax
test edi, edi
js 0x1000284b
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x1c]
call fcn.100044f3
mov edi, eax
jmp 0x1000285f
push esi
mov esi, dword [esi]
call fcn.1001b703
pop ecx
test esi, esi
jne 0x1000282b
mov eax, 0x8007000e
jmp 0x100029c7
push esi
mov esi, dword [esi]
call fcn.1001b703
pop ecx
test esi, esi
jne 0x10002842
mov eax, edi
jmp 0x100029c7
push esi
mov esi, dword [esi]
call fcn.1001b703
pop ecx
test esi, esi
jne 0x10002856
jmp 0x100029a6
lea ecx, [ebp + 0x104]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002871
sub ecx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
test cl, 1
je 0x1000288f
mov eax, 0x80004005
jmp 0x100029c7
mov eax, ecx
mov dword [ebp], ebx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 0x28], edi
push 1
mov dword [ebp - 4], 4
push edi
mov byte [ebp - 4], 5
call fcn.1001b703
pop ecx
pop ecx
cmp eax, 0x100
jbe 0x100028c8
push eax
lea ecx, [ebp]
call fcn.10002a19
mov eax, dword [ebp]
jmp 0x100028ce
lea eax, [ebp + 4]
mov dword [ebp], eax
mov esi, dword [ebp - 0x18]
jmp 0x100028ed
test eax, eax
jne 0x100028fb
lea ecx, [ebp]
call fcn.10002f8a
jmp 0x10002885
push edi
push ebx
push eax
call fcn.1000de50
add esp, 0xc
mov eax, ebx
mov dword [ebp - 0x14], eax
test esi, esi
jle 0x10002952
mov ebx, dword [ebp - 0x18]
mov edi, eax
test edi, edi
jns 0x1000291b
add edi, 1
sar edi, 1
movzx eax, byte [ebp + eax + 0x104]
mov esi, dword [ebp]
push eax
call fcn.10002d79
mov edx, dword [ebp - 0x14]
pop ecx
and edx, 1
shl edx, 2
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [edi + esi], al
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, ebx
jl 0x10002912
mov edi, dword [ebp - 0x28]
xor ebx, ebx
mov eax, dword [ebp - 0x20]
push edi
push dword [ebp]
push 3
push ebx
push dword [ebp - 0x1c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x100029a6
lea ecx, [ebp]
call fcn.10002f8a
jmp 0x100029a6
lea ecx, [ebp + 0x104]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002984
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp + 0x104]
push eax
push 1
push ebx
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
test edi, edi
je 0x100029b3
push edi
call fcn.10002ce5
pop ecx
jmp 0x100029c7
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
call fcn.10003203
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
lea esp, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1104]
xor ecx, ebp
call fcn.1000be90
add ebp, 0x1108
leave
ret 0xc