Function at 0x41b442
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2108]
mov eax, 0x2108
call fcn.00448570
push 0xffffffffffffffff
push 0x48057e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4a2074]
xor eax, ebp
mov dword [ebp + 0x2104], 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 - 0x1c], ecx
mov eax, dword [ebp + 0x2118]
xor ebx, ebx
mov esi, dword [ebp + 0x2110]
mov edi, dword [ebp + 0x2114]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x104]
push eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call fcn.0041b8b1
test eax, eax
js 0x41b7ad
lea edx, [ebp - 0x14]
lea ecx, [ebp + 0x104]
call fcn.0041b3c9
test eax, eax
jne 0x41b4d8
mov eax, 0x80020009
jmp 0x41b7ad
mov ecx, dword [ebp - 0x1c]
call fcn.0041bf48
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 0x104]
push eax
call fcn.0041b8b1
test eax, eax
js 0x41b7ad
movzx eax, word [ebp - 0x14]
sub eax, 8
je 0x41b77a
sub eax, 9
je 0x41b660
push 2
pop edi
sub eax, edi
je 0x41b626
sub eax, 0x3ff5
jne 0x41b799
lea eax, [ebp + 0x104]
push eax
call fcn.00452867
pop ecx
add eax, edi
mov dword [ebp], ebx
mul edi
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp edx, ebx
ja 0x41b7d2
jb 0x41b551
cmp eax, 0xffffffff
ja 0x41b7d2
cmp eax, 0x100
jbe 0x41b563
push eax
lea ecx, [ebp]
call fcn.004081e2
jmp 0x41b579
lea esi, [ebp + 4]
mov dword [ebp], esi
jmp 0x41b57c
mov esi, dword [ebp]
test esi, esi
je 0x41b60b
cmp word [ebp + 0x104], 0
lea edi, [ebp + 0x104]
je 0x41b5c9
push edi
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x41b5bb
push 0x30
pop edx
cmp word [eax], dx
jne 0x41b5bb
xor ecx, ecx
push eax
mov word [esi], cx
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
jmp 0x41b5c1
mov word [esi], cx
add edi, 2
add esi, 2
cmp word [edi], bx
jne 0x41b594
xor eax, eax
mov dword [esi], eax
mov esi, dword [ebp]
test esi, esi
jne 0x41b5d8
push 0xd
jmp 0x41b60d
mov edi, ebx
mov ebx, esi
push ebx
call fcn.00452867
inc eax
pop ecx
lea ebx, [ebx + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x41b5dc
mov eax, dword [ebp - 0x20]
xor ebx, ebx
push edi
push esi
push 7
push ebx
push dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp]
mov edi, eax
jmp 0x41b60e
push 0xe
pop edi
lea eax, [ebp + 4]
cmp esi, eax
je 0x41b78c
lea ecx, [ebp]
call fcn.004081d9
jmp 0x41b78c
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
lea eax, [ebp + 0x104]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x41b7ad
mov eax, dword [ebp - 0x24]
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push dword [ebp - 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x41b78a
lea eax, [ebp + 0x104]
push eax
call fcn.00452867
mov dword [ebp - 0x28], eax
pop ecx
test al, 1
je 0x41b67e
mov eax, 0x80004005
jmp 0x41b7ad
cdq
sub eax, edx
mov dword [ebp], ebx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
cmp esi, 0x100
jbe 0x41b6c2
push esi
lea ecx, [ebp]
call fcn.004081e2
mov eax, dword [ebp]
jmp 0x41b6c8
lea eax, [ebp + 4]
mov dword [ebp], eax
test eax, eax
jne 0x41b6d6
lea ecx, [ebp]
call fcn.004081d9
jmp 0x41b674
push esi
push ebx
push eax
call fcn.00449590
mov edi, dword [ebp - 0x28]
add esp, 0xc
test edi, edi
jle 0x41b751
mov esi, ebx
movzx ecx, word [ebp + esi*2 + 0x104]
mov eax, esi
cdq
sub eax, edx
mov edx, ecx
sar eax, 1
add eax, dword [ebp]
mov dword [ebp - 0x28], eax
mov eax, ecx
push 0x30
pop ecx
cmp ax, cx
jb 0x41b733
cmp eax, 0x39
jbe 0x41b72e
cmp eax, 0x40
jbe 0x41b733
cmp eax, 0x46
jbe 0x41b729
cmp eax, 0x60
jbe 0x41b733
cmp edx, 0x66
ja 0x41b733
sub dl, 0x57
jmp 0x41b735
sub dl, 0x37
jmp 0x41b735
sub dl, 0x30
jmp 0x41b735
mov dl, bl
mov eax, esi
and eax, 1
shl eax, 2
push 4
pop ecx
sub ecx, eax
mov eax, dword [ebp - 0x28]
shl dl, cl
or byte [eax], dl
inc esi
cmp esi, edi
jl 0x41b6ea
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push esi
push dword [ebp]
push 3
push ebx
push dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x41b78c
lea ecx, [ebp]
call fcn.004081d9
jmp 0x41b78c
push ecx
lea eax, [ebp + 0x104]
mov ecx, esi
push eax
push edi
call fcn.00409256
mov edi, eax
test edi, edi
je 0x41b799
mov ecx, edi
call fcn.0041b8a3
jmp 0x41b7ad
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
call fcn.0041b8b1
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2104]
xor ecx, ebp
call fcn.004473b9
add ebp, 0x2108
leave
ret 0xc
push 0x80070216
call fcn.004023b6
int3