Function at 0x440100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481048
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x4a5018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18c], ebx
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x17c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x180], 0
push ecx
mov ecx, dword [ebx]
mov dword [ebp - 0x17c], 0
call fcn.0043fde0
add esp, 4
test eax, eax
je 0x440179
cmp dword [ebp - 0x17c], 0
je 0x4405b7
inc dword [esi]
jmp 0x4405b7
inc dword [esi]
inc dword [edi]
mov ecx, dword [ebx]
call fcn.004405f0
mov edx, ebx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
call fcn.0043f640
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x188]
mov edx, dword [ebx]
xorps xmm0, xmm0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
call fcn.00440760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x184]
mov edx, dword [ebx]
call fcn.00440800
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 2
push ecx
lea eax, [ebp - 0x180]
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004410e0
push fcn.004051a0
push 2
push 4
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 4
push eax
call fcn.0045529b
mov eax, dword [ebp - 0x38]
or edi, 0xffffffff
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x184], eax
cmp ebx, eax
je 0x4404c1
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
sub esp, 0x14
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push dword [ebx]
push SysReAllocString
call fcn.0040c190
mov esi, dword [ebp - 0x30]
test eax, eax
jne 0x440278
test edi, edi
je 0x440278
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440250
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push 0
push str.ProgId
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x44028a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], 0
mov eax, dword [0x4aaeb0]
mov dword [ebp - 0x2c], 0
test al, 1
jne 0x44031c
or eax, 1
mov dword [0x4aaeb0], eax
push 0x118
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.004573c0
add esp, 0xc
mov dword [ebp - 0x178], 0x11c
push str.RtlGetVersion
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4402ee
lea ecx, [ebp - 0x178]
push ecx
call eax
mov eax, dword [ebp - 0x174]
cmp eax, 7
jae 0x440310
cmp eax, 6
jb 0x440307
cmp dword [ebp - 0x170], 2
jae 0x440310
xor eax, eax
mov dword [0x4aaeb4], eax
jmp 0x440321
mov eax, 1
mov dword [0x4aaeb4], eax
jmp 0x440321
mov eax, dword [0x4aaeb4]
test eax, eax
je 0x4404af
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov esi, dword [ebp - 0x18c]
mov byte [ebp - 4], 7
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x440362
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x440378
call fcn.00402880
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x4405d3
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp - 0x180]
lea ecx, [ebp - 0x17c]
add eax, 0x10
or edi, 4
mov dword [ebp - 0x17c], eax
mov edx, 0x494234
mov eax, dword [esi]
mov dword [ebp - 0x180], edi
push dword [eax - 0xc]
push eax
push 1
call fcn.0040ebb0
mov esi, dword [ebp - 0x17c]
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov ecx, esi
push eax
call fcn.00449f50
and edi, 0xfffffffb
mov byte [ebp - 4], 6
add esp, 4
mov dword [ebp - 0x180], edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4403ec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x40], 8
lea esi, [ebp - 0x54]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
cmovae esi, dword [ebp - 0x54]
sub esp, 0x14
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push dword [ebx]
push SysReAllocString
call fcn.0040c190
mov edi, dword [ebp - 0x24]
test eax, eax
jne 0x440458
test esi, esi
je 0x440458
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440430
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.Hash
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x44046a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x20], 0
cmp edx, 8
jb 0x4404af
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4404a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4405dd
push edx
push ecx
call fcn.00455202
add esp, 8
add ebx, 4
cmp ebx, dword [ebp - 0x184]
jne 0x440214
or edi, 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp - 0x18c]
mov esi, dword [esi]
mov byte [ebp - 4], 9
mov dword [ebp - 0x17c], 0
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4405d3
mov eax, dword [ecx]
call dword [eax + 0xc]
or dword [ebp - 0x180], 8
add eax, 0x10
push str.nWithProg
push esi
push str.tVersionExplorerFile
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x17c]
push str.SoftwareMicrosoftWindowsCurren_sExts._sOpe_sids
push eax
call fcn.00407700
mov esi, dword [ebp - 0x17c]
lea ecx, [ebp - 0x24]
push esi
push SysReAllocString
call fcn.0040c190
mov byte [ebp - 4], 8
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44056e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x11]
push 0
push eax
push 0
push 0
push dword [ebp - 0x18]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x440590
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x3c]
call fcn.00405bf0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4405b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00454d47
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402980
call fcn.00459a0a
int3