Function at 0x41ff10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463ba6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1228
call fcn.0043a720
mov eax, dword [0x488480]
xor eax, ebp
mov dword [ebp - 0x14], 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 - 0x1230], ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1238], eax
lea eax, [ebp - 0x1014]
push eax
mov dword [ebp - 0x1220], ecx
mov dword [ebp - 0x122c], ebx
mov dword [ebp - 0x1228], edi
call fcn.00420ac0
test eax, eax
js 0x42047b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x1014]
push 0x46a900
push eax
call esi
test eax, eax
jne 0x41ff9e
lea esi, [eax + 8]
jmp 0x41ffe7
push 0x46a904
lea eax, [ebp - 0x1014]
push eax
call esi
test eax, eax
jne 0x41ffb7
mov esi, 0x4008
jmp 0x41ffe7
push 0x46a908
lea eax, [ebp - 0x1014]
push eax
call esi
test eax, eax
jne 0x41ffce
lea esi, [eax + 0x13]
jmp 0x41ffe7
push 0x46664c
lea eax, [ebp - 0x1014]
push eax
call esi
test eax, eax
jne 0x420476
lea esi, [eax + 0x11]
mov ecx, dword [ebp - 0x1230]
call fcn.00422660
mov ecx, dword [ebp - 0x1230]
lea eax, [ebp - 0x1014]
push eax
call fcn.00420ac0
test eax, eax
js 0x42047b
cmp esi, 0x13
ja 0x42030b
je 0x4201bd
cmp esi, 8
je 0x42018c
cmp esi, 0x11
jne 0x42045a
lea ebx, [ebp - 0x1014]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x420036
sub ebx, ecx
mov dword [ebp - 0x1234], ebx
test bl, 1
jne 0x4200d5
mov eax, ebx
mov dword [ebp - 0x1118], 0
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [ebp - 0x1224], ecx
mov dword [ebp - 4], 4
mov byte [ebp - 4], 5
cmp ecx, 0x100
jbe 0x4200ba
push ecx
lea ecx, [ebp - 0x1118]
call fcn.00420540
mov eax, dword [ebp - 0x1118]
mov ecx, dword [ebp - 0x1224]
jmp 0x4200c6
lea eax, [ebp - 0x1114]
mov dword [ebp - 0x1118], eax
test eax, eax
jne 0x4200df
lea ecx, [ebp - 0x1118]
call fcn.00420980
mov eax, 0x80004005
jmp 0x42047b
push ecx
push 0
push eax
call fcn.0043bc50
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x420144
mov dl, byte [ebp + edi - 0x1014]
mov esi, edi
shr esi, 1
add esi, dword [ebp - 0x1118]
movsx eax, dl
add eax, 0xffffffd0
cmp eax, 0x36
ja case.0x420114.58
movzx eax, byte [eax + 0x4204b0]
jmp dword [eax*4 + 0x4204a0]
sub dl, 0x30
jmp 0x42012c
sub dl, 0x37
jmp 0x42012c
sub dl, 0x57
jmp 0x42012c
xor dl, dl
mov eax, edi
mov ecx, 4
and eax, 1
inc edi
shl eax, 2
sub ecx, eax
shl dl, cl
or byte [esi], dl
cmp edi, ebx
jl 0x4200f1
push dword [ebp - 0x1224]
mov eax, dword [ebp - 0x122c]
push dword [ebp - 0x1118]
push 3
push 0
push dword [ebp - 0x1228]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
lea eax, [ebp - 0x1114]
cmp dword [ebp - 0x1118], eax
je 0x42044b
lea ecx, [ebp - 0x1118]
call fcn.00420980
jmp 0x42044b
lea ecx, [ebp - 0x1014]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420195
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x1014]
push eax
push 1
push 0
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
jmp 0x42044b
xor esi, esi
mov dword [ebp - 0x1220], esi
lea ecx, [ebp - 0x1014]
mov dword [ebp - 4], 3
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4201d5
sub ecx, edx
push 2
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x1224], eax
lea eax, [ebp - 0x1224]
push eax
call fcn.0041fc60
add esp, 0xc
test eax, eax
js 0x4202eb
mov edi, dword [ebp - 0x1224]
cmp edi, 0x400
jg 0x42022a
push edi
call fcn.00423200
add esp, 4
test al, al
je 0x42022a
mov eax, edi
call fcn.0043a870
mov dword [ebp - 0x10], esp
mov ebx, esp
jmp 0x42023e
push edi
lea ecx, [ebp - 0x1220]
call fcn.004204f0
mov esi, dword [ebp - 0x1220]
mov ebx, eax
test ebx, ebx
je 0x4202eb
shr edi, 1
xor eax, eax
push edi
push ebx
push 0xffffffffffffffff
mov word [ebx], ax
lea eax, [ebp - 0x1014]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4202eb
lea eax, [ebp - 0x1234]
push eax
push 0
push 0
push ebx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov ebx, eax
test ebx, ebx
jns 0x42029e
test esi, esi
je 0x420297
mov edi, dword [esi]
push esi
mov esi, edi
call fcn.0043f6c0
add esp, 4
test edi, edi
jne 0x420286
mov eax, ebx
jmp 0x42047b
mov eax, dword [ebp - 0x1234]
push 4
mov dword [ebp - 0x1220], eax
lea eax, [ebp - 0x1220]
push eax
mov eax, dword [ebp - 0x122c]
push 4
push 0
push dword [ebp - 0x1228]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test esi, esi
je 0x42044b
mov edi, dword [esi]
push esi
mov esi, edi
call fcn.0043f6c0
add esp, 4
test edi, edi
jne 0x4202d5
jmp 0x42044b
test esi, esi
je 0x420301
nop
mov edi, dword [esi]
push esi
mov esi, edi
call fcn.0043f6c0
add esp, 4
test edi, edi
jne 0x4202f0
mov eax, 0x8007000e
jmp 0x42047b
cmp esi, 0x4008
jne 0x42045a
lea ecx, [ebp - 0x1014]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420320
sub ecx, edx
mov dword [ebp - 0x121c], 0
add ecx, 2
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp ecx, 0x100
jbe 0x420377
push ecx
lea ecx, [ebp - 0x121c]
call fcn.00420540
mov edi, dword [ebp - 0x121c]
jmp 0x420383
lea edi, [ebp - 0x1218]
mov dword [ebp - 0x121c], edi
test edi, edi
je 0x420431
cmp byte [ebp - 0x1014], 0
lea esi, [ebp - 0x1014]
je 0x4203db
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x4203b9
cmp byte [eax], 0x30
jne 0x4203b9
push eax
mov byte [edi], 0
call ebx
mov esi, eax
jmp 0x4203d5
mov byte [edi], cl
movzx eax, byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x4203d4
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
je 0x4203db
mov byte [edi], al
inc esi
inc edi
cmp byte [esi], 0
jne 0x4203a0
mov word [edi], 0
mov edi, dword [ebp - 0x121c]
test edi, edi
jne 0x4203ef
lea ebx, [edi + 0xd]
jmp 0x420436
xor esi, esi
mov edx, edi
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4203f8
sub ecx, ebx
lea eax, [ecx + 1]
add edx, eax
add esi, eax
cmp eax, 1
jne 0x4203f3
mov eax, dword [ebp - 0x122c]
push esi
push edi
push 7
push 0
push dword [ebp - 0x1228]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [ebp - 0x121c]
mov ebx, eax
jmp 0x420436
mov ebx, 0xe
lea eax, [ebp - 0x1218]
cmp edi, eax
je 0x42044b
lea ecx, [ebp - 0x121c]
call fcn.00420980
test ebx, ebx
je 0x42045a
push ebx
call fcn.00420600
add esp, 4
jmp 0x42047b
push dword [ebp - 0x1238]
mov ecx, dword [ebp - 0x1230]
call fcn.00420ac0
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
jmp 0x42047b
mov eax, 0x80020009
lea esp, [ebp - 0x1248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043a0ec
mov esp, ebp
pop ebp
ret 0xc