Function at 0x41bb40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b646
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1128
call fcn.00430ca0
mov eax, dword [0x45f540]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor eax, ebp
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], esp
push ecx
mov ecx, esi
mov dword [ebp - 0x1134], esi
mov dword [ebp - 0x112c], edi
mov dword [ebp - 0x1128], ebx
mov dword [ebp - 0x1138], eax
mov dword [ebp - 0x1130], 0
call fcn.0041ad10
test eax, eax
jl 0x41bfb5
lea edx, [ebp - 0x1130]
push edx
lea eax, [ebp - 0x1014]
push eax
call fcn.0041c060
add esp, 8
test eax, eax
jne 0x41bbda
mov eax, 0x80020009
jmp 0x41bfb5
mov ecx, esi
call fcn.0041acb0
lea ecx, [ebp - 0x1014]
push ecx
mov ecx, esi
call fcn.0041ad10
test eax, eax
jl 0x41bfb5
movzx eax, word [ebp - 0x1130]
cmp eax, 0x13
jg 0x41be8a
je 0x41bdb5
cmp eax, 8
je 0x41bd8a
cmp eax, 0x11
jne 0x41bf9d
lea edx, [ebp - 0x1014]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 0x111c], eax
jne 0x41bd02
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov dword [ebp - 0x1120], ebx
mov dword [ebp - 0x1118], 0
cmp ebx, 0x100
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
jbe 0x41bc83
push ebx
lea ecx, [ebp - 0x1118]
call fcn.0041ab10
jmp 0x41bce3
lea edi, [ebp - 0x1114]
mov dword [ebp - 0x1118], edi
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x111c]
xor esi, esi
test eax, eax
jle 0x41bd42
mov eax, dword [ebp - 0x1118]
mov edx, esi
shr edx, 1
add edx, eax
mov al, byte [ebp + esi - 0x1014]
movsx ecx, al
add ecx, 0xffffffd0
cmp ecx, 0x36
ja case.0x41bcd6.58
movzx ecx, byte [ecx + 0x41bfe8]
jmp dword [ecx*4 + 0x41bfd8]
mov edi, dword [ebp - 0x1118]
test edi, edi
jne 0x41bc8f
lea eax, [ebp - 0x1114]
test eax, eax
je 0x41bd02
lea ecx, [ebp - 0x1118]
call fcn.0041c110
mov eax, 0x80004005
jmp 0x41bfb5
sub al, 0x30
jmp 0x41bd1a
sub al, 0x37
jmp 0x41bd1a
sub al, 0x57
jmp 0x41bd1a
xor al, al
mov ecx, esi
and ecx, 1
shl ecx, 2
mov edi, ecx
mov ecx, 4
sub ecx, edi
shl al, cl
mov cl, byte [edx]
or cl, al
mov eax, dword [ebp - 0x111c]
inc esi
cmp esi, eax
mov byte [edx], cl
jl 0x41bcb1
mov ecx, dword [ebp - 0x1118]
mov edx, dword [ebp - 0x112c]
mov eax, dword [edx]
mov edx, dword [ebp - 0x1128]
push ebx
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x1118]
mov esi, eax
lea eax, [ebp - 0x1114]
cmp ecx, eax
je 0x41bf88
lea ecx, [ebp - 0x1118]
call fcn.0041c110
jmp 0x41bf88
lea ecx, [ebp - 0x1014]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [edi]
lea edx, [ebp - 0x1014]
push edx
push 1
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp 0x41bf88
call dword [0x45a0e0]
lea ecx, [ebp - 0x1014]
push ecx
mov ebx, eax
mov dword [ebp - 0x111c], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea edi, [esi + esi]
cmp edi, 0x400
ja 0x41be03
push edi
call fcn.00404a90
add esp, 4
test al, al
je 0x41be03
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.00430ca0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x41be0f
push edi
lea ecx, [ebp - 0x111c]
call fcn.00407cf0
push ebx
push esi
lea edx, [ebp - 0x1014]
push edx
push eax
call fcn.00404b20
test eax, eax
jne 0x41be37
lea ecx, [ebp - 0x111c]
call fcn.004070f0
mov eax, 0x8007000e
jmp 0x41bfb5
lea ecx, [ebp - 0x1120]
push ecx
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov edx, dword [ebp - 0x1120]
mov ecx, dword [ebp - 0x1128]
push 4
lea eax, [ebp - 0x1124]
push eax
push 4
mov dword [ebp - 0x1124], edx
mov edx, dword [ebp - 0x112c]
mov eax, dword [edx]
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x111c]
mov esi, eax
call fcn.004070f0
jmp 0x41bf88
cmp eax, 0x4008
jne 0x41bf9d
lea ecx, [ebp - 0x1014]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
inc eax
mov dword [ebp - 0x1118], ecx
cmp eax, 0x100
mov dword [ebp - 4], ecx
mov byte [ebp - 4], 1
jbe 0x41bf1b
push eax
lea ecx, [ebp - 0x1118]
call fcn.0041ab10
mov edi, dword [ebp - 0x1118]
test edi, edi
je 0x41bf6e
mov al, byte [ebp - 0x1014]
test al, al
lea esi, [ebp - 0x1014]
je 0x41bf48
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
lea esp, [esp]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x41bf29
cmp byte [eax], 0x30
jne 0x41bf29
mov byte [edi], 0
push eax
inc edi
call ebx
mov esi, eax
jmp 0x41bf43
lea edi, [ebp - 0x1114]
mov dword [ebp - 0x1118], edi
jmp 0x41bed3
xor edx, edx
mov byte [edi], cl
mov dl, byte [esi]
push edx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x41bf41
mov al, byte [esi + 1]
inc edi
inc esi
mov byte [edi], al
inc edi
inc esi
cmp byte [esi], 0
jne 0x41bef0
mov edx, dword [ebp - 0x1128]
mov byte [edi], 0
mov ecx, dword [ebp - 0x1118]
push ecx
mov ecx, dword [ebp - 0x112c]
push edx
call fcn.0041c020
mov edi, dword [ebp - 0x1118]
mov esi, eax
jmp 0x41bf73
mov esi, 0xe
lea eax, [ebp - 0x1114]
cmp edi, eax
je 0x41bf88
lea ecx, [ebp - 0x1118]
call fcn.0041c110
test esi, esi
je 0x41bf97
push esi
call fcn.0041b9c0
add esp, 4
jmp 0x41bfb5
mov esi, dword [ebp - 0x1134]
mov ecx, dword [ebp - 0x1138]
push ecx
mov ecx, esi
call fcn.0041ad10
xor edx, edx
test eax, eax
setge dl
dec edx
and eax, edx
lea esp, [ebp - 0x1144]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043045d
mov esp, ebp
pop ebp
ret 0xc