Function at 0x422e50
Capabilities:
Set registry value
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5631db
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x880
mov eax, dword [0x5a7074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x20a
lea eax, [ebp - 0x460]
push 0
push eax
call fcn.005111c0
add esp, 0xc
lea eax, [ebp - 0x460]
push str.JPEG_file_.jpg_.jpeg_.jpg_.jpeg_PNG_file_.png_.pngBitmap_file_.bmp_.bmpAll_files_._.
push 0x5843a4
push 0x104
push eax
call fcn.00429140
lea eax, [ebp - 0x460]
push 0x7c
push eax
call fcn.0050d477
add esp, 0x18
test eax, eax
je 0x422ef7
nop dword [eax]
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0x7c
push eax
call fcn.0050d477
add esp, 8
test eax, eax
jne 0x422ee0
push 0x20a
lea eax, [ebp - 0x880]
push 0
push eax
call fcn.005111c0
add esp, 0xc
lea eax, [ebp - 0x880]
push 0x5843ac
push 0x5843a4
push 0x104
push eax
call fcn.00429140
xorps xmm0, xmm0
mov dword [ebp - 0x884], 2
lea edx, [ebp - 0x884]
movq qword [ebp - 0x1c], xmm0
lea ecx, [ebp - 0x88c]
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
call fcn.00422750
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push dword [ebp - 0x88c]
push 0x5843a4
push 0x14
push eax
call fcn.00429140
push 0x20a
lea eax, [ebp - 0x670]
push 0
push eax
call fcn.005111c0
add esp, 0x2c
lea eax, [ebp - 0x670]
push str.Option
push str.SoftwareCatchScreen
push 0x58419c
push 0x104
push eax
call fcn.00429140
add esp, 0x14
lea eax, [ebp - 0x250]
push 0x20a
push 0
push eax
call fcn.005111c0
add esp, 0xc
lea ecx, [ebp - 0x890]
call fcn.00422860
push dword [eax]
lea eax, [ebp - 0x250]
push 0x104
push eax
call fcn.00429140
mov edx, dword [ebp - 0x890]
or esi, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x423025
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x888], ecx
mov ecx, dword [edx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x42301f
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x423025
call dword [ebp - 0x888]
mov edx, dword [edi + 4]
lea eax, [ebp - 0x884]
push ecx
push eax
push ecx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x880]
push eax
call fcn.00431400
add esp, 0x1c
test eax, eax
je 0x423113
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x884]
push 4
push eax
push 4
push str.SaveAsIndexEx
lea eax, [ebp - 0x670]
push eax
push SysReAllocString
call esi
lea eax, [ebp - 0x250]
push 0x2e
push eax
call fcn.0050d3d6
mov edx, eax
add esp, 8
test edx, edx
je 0x4230d0
add edx, 2
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x888], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4230a3
sub ecx, dword [ebp - 0x888]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push str.SaveDefExtend
lea eax, [ebp - 0x670]
push eax
push SysReAllocString
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
push ecx
mov ecx, edi
call fcn.00423710
add esp, 4
lea ecx, [ebp - 0x250]
mov edx, eax
call fcn.00418d70
add esp, 4
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x88c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x423150
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x42314c
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x423150
mov ecx, edx
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050a055
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret