Function at 0x4419a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4804c1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1124
call fcn.00462c30
mov eax, dword [0x4ade78]
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 esi, ecx
mov dword [ebp - 0x1124], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1134], eax
lea eax, [ebp - 0x1014]
push eax
mov dword [ebp - 0x1130], esi
mov dword [ebp - 0x1120], edi
mov dword [ebp - 0x1128], ebx
mov dword [ebp - 0x111c], 0
call fcn.00442ef0
test eax, eax
js 0x441db7
lea eax, [ebp - 0x111c]
push eax
lea eax, [ebp - 0x1014]
push eax
call fcn.00445530
add esp, 8
test eax, eax
jne 0x441a41
mov eax, 0x80020009
jmp 0x441db7
mov ecx, esi
call fcn.004449f0
lea eax, [ebp - 0x1014]
push eax
mov ecx, esi
call fcn.00442ef0
test eax, eax
js 0x441db7
movzx eax, word [ebp - 0x111c]
cmp eax, 0x13
jg 0x441c9a
je 0x441bc4
cmp eax, 8
je 0x441bac
cmp eax, 0x11
jne 0x441da1
lea ebx, [ebp - 0x1014]
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x441a90
sub ebx, ecx
mov dword [ebp - 0x112c], ebx
test bl, 1
jne 0x441b13
mov eax, ebx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x111c], esi
mov dword [ebp - 0x1118], 0
mov dword [ebp - 4], 4
push esi
lea ecx, [ebp - 0x1118]
mov byte [ebp - 4], 5
call fcn.00441de0
jmp 0x441af4
mov eax, dword [ebp - 0x1118]
test eax, eax
jne 0x441b1d
lea eax, [ebp - 0x1114]
test eax, eax
je 0x441b13
lea ecx, [ebp - 0x1118]
call fcn.00442420
mov eax, 0x80004005
jmp 0x441db7
push esi
push 0
push eax
call fcn.00462e00
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x441b69
nop
movzx eax, byte [ebp + edi - 0x1014]
mov esi, edi
shr esi, 1
add esi, dword [ebp - 0x1118]
push eax
call fcn.00442020
mov edx, edi
and edx, 1
shl edx, 2
mov ecx, 4
sub ecx, edx
shl al, cl
inc edi
add esp, 4
or byte [esi], al
cmp edi, ebx
jl 0x441b30
mov esi, dword [ebp - 0x111c]
mov ecx, dword [ebp - 0x1120]
push esi
push dword [ebp - 0x1118]
push 3
push 0
push dword [ebp - 0x1128]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
lea eax, [ebp - 0x1114]
cmp dword [ebp - 0x1118], eax
je 0x441d8c
lea ecx, [ebp - 0x1118]
call fcn.00442420
jmp 0x441d8c
push 1
lea eax, [ebp - 0x1014]
push eax
push ebx
mov ecx, edi
call fcn.00444930
mov edi, eax
jmp 0x441d92
mov dword [ebp - 0x1120], 0
lea ecx, [ebp - 0x1014]
mov dword [ebp - 4], 3
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x441be0
sub ecx, edx
push 2
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x111c], eax
lea eax, [ebp - 0x111c]
push eax
call fcn.00401950
add esp, 0xc
test eax, eax
js 0x441c85
mov esi, dword [ebp - 0x111c]
cmp esi, 0x400
jg 0x441c31
push esi
call fcn.004088c0
add esp, 4
test al, al
je 0x441c31
mov eax, esi
call fcn.00462c00
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x441c3d
push esi
lea ecx, [ebp - 0x1120]
call fcn.004032c0
push 3
shr esi, 1
push esi
lea ecx, [ebp - 0x1014]
push ecx
push eax
call fcn.00403670
test eax, eax
je 0x441c85
lea ecx, [ebp - 0x112c]
push ecx
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
push dword [ebp - 0x112c]
mov ecx, edi
push ebx
call fcn.004448b0
lea ecx, [ebp - 0x1120]
mov edi, eax
call fcn.004023d0
jmp 0x441d8c
lea ecx, [ebp - 0x1120]
call fcn.004023d0
mov eax, 0x8007000e
jmp 0x441db7
cmp eax, 0x4008
jne 0x441da1
lea ecx, [ebp - 0x1014]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x441cb0
sub ecx, edx
add ecx, 2
mov dword [ebp - 0x1118], 0
push ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1118]
mov byte [ebp - 4], 1
call fcn.00441de0
jmp 0x441cf1
mov esi, dword [ebp - 0x1118]
test esi, esi
je 0x441d72
cmp byte [ebp - 0x1014], 0
lea edi, [ebp - 0x1014]
je 0x441d4c
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
push edi
call ebx
mov cl, byte [edi]
cmp cl, 0x5c
jne 0x441d2a
cmp byte [eax], 0x30
jne 0x441d2a
mov byte [esi], 0
push eax
inc esi
call ebx
mov edi, eax
jmp 0x441d47
mov byte [esi], cl
movzx eax, byte [edi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x441d45
mov al, byte [edi + 1]
inc edi
inc esi
test al, al
je 0x441d4c
mov byte [esi], al
inc esi
inc edi
cmp byte [edi], 0
jne 0x441d10
mov ecx, dword [ebp - 0x1120]
mov word [esi], 0
push dword [ebp - 0x1118]
push dword [ebp - 0x1128]
call fcn.004448d0
mov esi, dword [ebp - 0x1118]
mov edi, eax
jmp 0x441d77
mov edi, 0xe
lea eax, [ebp - 0x1114]
cmp esi, eax
je 0x441d8c
lea ecx, [ebp - 0x1118]
call fcn.00442420
mov esi, dword [ebp - 0x1124]
test edi, edi
je 0x441da1
push edi
call fcn.00441f80
add esp, 4
jmp 0x441db7
push dword [ebp - 0x1134]
mov ecx, esi
call fcn.00442ef0
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
lea esp, [ebp - 0x1144]
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.00461234
mov esp, ebp
pop ebp
ret 0xc