Function at 0x41df80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2274
call int.004c3080
mov eax, dword [0x533a94]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x226c], ecx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2018]
push ecx
mov ecx, dword [ebp - 0x226c]
call fcn.0041c8a0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x41dfd4
mov eax, dword [ebp - 0x10]
jmp 0x41e422
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x2018]
push eax
call fcn.0041e560
add esp, 8
test eax, eax
jne 0x41e000
push 0x20f
mov ecx, dword [ebp - 0x226c]
call fcn.0041c790
jmp 0x41e422
mov ecx, dword [ebp - 0x226c]
call fcn.0041c800
lea ecx, [ebp - 0x2018]
push ecx
mov ecx, dword [ebp - 0x226c]
call fcn.0041c8a0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x41e02e
mov eax, dword [ebp - 0x10]
jmp 0x41e422
movzx edx, word [ebp - 0xc]
mov dword [ebp - 0x2270], edx
cmp dword [ebp - 0x2270], 0x13
jg 0x41e069
cmp dword [ebp - 0x2270], 0x13
je 0x41e210
cmp dword [ebp - 0x2270], 8
je 0x41e07a
cmp dword [ebp - 0x2270], 0x11
je 0x41e27e
jmp 0x41e3e8
cmp dword [ebp - 0x2270], 0x4008
je 0x41e097
jmp 0x41e3e8
push 1
lea eax, [ebp - 0x2018]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041e470
mov dword [ebp - 8], eax
jmp 0x41e3e8
lea edx, [ebp - 0x2018]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 2
mov dword [ebp - 0x2124], eax
lea ecx, [ebp - 0x2120]
call fcn.0041f280
mov eax, dword [ebp - 0x2124]
push eax
lea ecx, [ebp - 0x2120]
call fcn.0041f2d0
lea ecx, [ebp - 0x2120]
call fcn.0041f2c0
test eax, eax
je 0x41e1f9
lea ecx, [ebp - 0x2120]
call fcn.0041f2c0
mov dword [ebp - 0x2128], eax
lea ecx, [ebp - 0x2018]
mov dword [ebp - 0x212c], ecx
mov dword [ebp - 0x2124], 0
mov edx, dword [ebp - 0x212c]
movzx eax, word [edx]
test eax, eax
je 0x41e1b7
mov ecx, dword [ebp - 0x212c]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x2130], eax
mov edx, dword [ebp - 0x212c]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x41e173
mov ecx, dword [ebp - 0x2130]
movzx edx, word [ecx]
cmp edx, 0x30
jne 0x41e173
xor eax, eax
mov ecx, dword [ebp - 0x2128]
mov word [ecx], ax
mov edx, dword [ebp - 0x2128]
add edx, 2
mov dword [ebp - 0x2128], edx
mov eax, dword [ebp - 0x2130]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x212c], eax
jmp 0x41e1a3
mov ecx, dword [ebp - 0x2128]
mov edx, dword [ebp - 0x212c]
mov ax, word [edx]
mov word [ecx], ax
mov ecx, dword [ebp - 0x2128]
add ecx, 2
mov dword [ebp - 0x2128], ecx
mov edx, dword [ebp - 0x212c]
add edx, 2
mov dword [ebp - 0x212c], edx
mov eax, dword [ebp - 0x2124]
add eax, 1
mov dword [ebp - 0x2124], eax
jmp 0x41e104
xor ecx, ecx
mov edx, dword [ebp - 0x2128]
mov word [edx], cx
mov eax, dword [ebp - 0x2128]
add eax, 2
mov dword [ebp - 0x2128], eax
xor ecx, ecx
mov edx, dword [ebp - 0x2128]
mov word [edx], cx
lea ecx, [ebp - 0x2120]
call fcn.0041f2c0
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041e4d0
mov dword [ebp - 8], eax
jmp 0x41e200
mov dword [ebp - 8], 0xe
lea ecx, [ebp - 0x2120]
call fcn.0041f2a0
jmp 0x41e3e8
call fcn.0041bbf0
mov dword [ebp - 0x2140], eax
lea ecx, [ebp - 0x2148]
call fcn.0041edc0
push 0x400
lea ecx, [ebp - 0x2018]
push ecx
call fcn.0041bc60
add esp, 8
mov dword [ebp - 0x213c], eax
lea edx, [ebp - 0x214c]
push edx
push 0
push 0
mov eax, dword [ebp - 0x213c]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov ecx, dword [ebp - 0x214c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041e440
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x2148]
call fcn.0041ede0
jmp 0x41e3e8
lea eax, [ebp - 0x2018]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x2154], eax
mov ecx, dword [ebp - 0x2154]
and ecx, 1
je 0x41e2a6
mov eax, 0x80004005
jmp 0x41e422
mov eax, dword [ebp - 0x2154]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2150], eax
lea ecx, [ebp - 0x2260]
call fcn.0041f300
mov edx, dword [ebp - 0x2150]
push edx
lea ecx, [ebp - 0x2260]
call fcn.0041f350
lea ecx, [ebp - 0x2260]
call fcn.0041f340
test eax, eax
jne 0x41e303
mov dword [ebp - 0x2268], 0x80004005
lea ecx, [ebp - 0x2260]
call fcn.0041f320
mov eax, dword [ebp - 0x2268]
jmp 0x41e422
mov eax, dword [ebp - 0x2150]
push eax
push 0
lea ecx, [ebp - 0x2260]
call fcn.0041f340
push eax
call fcn.004c1bc0
add esp, 0xc
mov dword [ebp - 0x2264], 0
jmp 0x41e33b
mov ecx, dword [ebp - 0x2264]
add ecx, 1
mov dword [ebp - 0x2264], ecx
mov edx, dword [ebp - 0x2264]
cmp edx, dword [ebp - 0x2154]
jge 0x41e3b0
lea ecx, [ebp - 0x2260]
call fcn.0041f340
mov ecx, eax
mov eax, dword [ebp - 0x2264]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [ebp - 0x2274], ecx
mov edx, dword [ebp - 0x2264]
movzx eax, word [ebp + edx*2 - 0x2018]
push eax
call fcn.0041e630
add esp, 4
movzx edx, al
mov eax, dword [ebp - 0x2264]
and eax, 1
mov ecx, 1
sub ecx, eax
shl ecx, 2
shl edx, cl
mov ecx, dword [ebp - 0x2274]
movzx eax, byte [ecx]
or eax, edx
mov ecx, dword [ebp - 0x2274]
mov byte [ecx], al
jmp 0x41e32c
mov edx, dword [ebp - 0x2150]
push edx
lea ecx, [ebp - 0x2260]
call fcn.0041f340
push eax
push 3
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041dc00
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x2260]
call fcn.0041f320
cmp dword [ebp - 8], 0
je 0x41e403
mov dword [ebp - 4], 0x204
mov ecx, dword [ebp - 8]
push ecx
call fcn.0041db90
add esp, 4
jmp 0x41e422
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x226c]
call fcn.0041c8a0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x41e420
mov eax, dword [ebp - 0x10]
jmp 0x41e422
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c1753
mov esp, ebp
pop ebp
ret 0xc