Function at 0x410e14
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x288]
sub esp, 0x3cc
mov eax, dword [section..cdata]
mov edx, dword [0x41c444]
and dword [ebp + 0x5c], 0
push ebx
mov ebx, dword [edx + 0x1390]
push esi
push edi
mov dword [ebp + 0x284], eax
mov eax, dword [0x41c310]
mov esi, ecx
push 0x63
mov dword [ebp + 0x7c], eax
xor eax, eax
test ebx, ebx
pop ecx
lea edi, [ebp - 0x144]
rep stosd dword es:[edi], eax
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x78], edx
mov dword [ebp + 0x80], ebx
mov dword [ebp - 0x144], 0x13
jne 0x410bdd
mov ecx, edx
call dword [sym.imp.MStoreS.dll_public:_int___thiscall_CMStoreSApp::GetSelectedClipCount_void_]
test eax, eax
je 0x410bdd
xor eax, eax
jmp 0x410be0
xor eax, eax
inc eax
push 2
mov dword [ebp - 0x134], eax
mov eax, dword [esi + 0x10]
pop edi
mov dword [ebp - 0x124], 0x9c48
mov dword [ebp + 0x70], edi
mov ecx, dword [eax]
xor ebx, ebx
push eax
inc ebx
call dword [ecx + 0xc]
mov ecx, dword [eax]
lea edx, [ebp + 0x70]
push edx
lea edx, [ebp + 0x58]
push edx
push eax
call dword [ecx + 4]
test eax, eax
jl 0x410d12
cmp dword [ebp + 0x70], 0
jbe 0x410d12
cmp dword [ebp + 0x80], 0
mov dword [ebp - 0x120], 0x16
jne 0x410c4d
call dword [sym.imp.MStoreS.dll__FAllowPrimaryChange_0]
test eax, eax
je 0x410c4d
call dword [sym.imp.MStoreS.dll_public:_static_int___cdecl_CMStoreSApp::FSomethingToPaste_void_]
test eax, eax
je 0x410c4d
xor eax, eax
jmp 0x410c50
xor eax, eax
inc eax
test eax, eax
mov dword [ebp - 0x110], eax
jne 0x410c75
call dword [sym.imp.MStoreS.dll__FAllowUserImport_0]
test eax, eax
jne 0x410c75
call dword [sym.imp.MStoreS.dll_public:_static_int___cdecl_CMStoreSApp::FMediaGalleryFormatsAvailable_void_]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x110], eax
cmp dword [ebp + 0x80], 0
mov dword [ebp - 0x100], 0x9c49
mov ebx, edi
mov dword [ebp - 0xfc], 0x8004
jne 0x410ca5
mov ecx, dword [ebp + 0x78]
call dword [sym.imp.MStoreS.dll_public:_int___thiscall_CMStoreSApp::FIsUserClipSelected_void_]
test eax, eax
je 0x410ca5
xor eax, eax
jmp 0x410ca8
xor eax, eax
inc eax
and word [ebp + 0x84], 0
mov dword [ebp - 0xec], eax
push 0x7f
xor eax, eax
pop ecx
lea edi, [ebp + 0x86]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x18]
lea edi, [eax + 8]
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x84]
mov dword [ebp - 0xdc], 0x9c5b
mov dword [ebp + 0x74], 0x100
mov esi, dword [edi]
push eax
call dword [sym.imp.MSO.DLL_Ordinal_1378]
push eax
push edi
call dword [esi]
test eax, eax
jl 0x410d12
lea eax, [ebp + 0x84]
push eax
push 0x12
push dword [ebp + 0x7c]
call dword [sym.imp.MStoreS.dll__FLoadResourceStringWtz1_12]
push 3
mov dword [ebp - 0xe8], eax
pop ebx
mov edi, dword [sym.imp.MStoreS.dll__FLoadResourceStringWtz_8]
mov esi, ebx
imul esi, esi, 0x24
push 0x13
push dword [ebp + 0x7c]
mov dword [ebp + esi - 0x144], 0x1de
call edi
cmp dword [ebp + 0x80], 0
mov dword [ebp + esi - 0x130], eax
jne 0x410d50
mov ecx, dword [ebp + 0x78]
call dword [sym.imp.MStoreS.dll_public:_int___thiscall_CMStoreSApp::FIsDeleteEnabled_void_]
test eax, eax
je 0x410d50
xor eax, eax
jmp 0x410d53
xor eax, eax
inc eax
mov ecx, dword [0x41c444]
mov dword [ebp + esi - 0x134], eax
mov dword [ebp + esi - 0x124], 0x9c50
inc ebx
call dword [sym.imp.MStoreS.dll_public:_int___thiscall_CMStoreSApp::GetCopyToCollectionIDS_void_]
mov esi, ebx
imul esi, esi, 0x24
cmp dword [ebp + 0x80], 0
mov dword [ebp + 0x74], eax
mov eax, 0x9c59
mov dword [ebp + esi - 0x144], 0x68c
mov dword [ebp + esi - 0x124], eax
jne 0x410dac
mov ecx, dword [ebp + 0x78]
push eax
call dword [sym.imp.MStoreS.dll_public:_int___thiscall_CMStoreSApp::CheckMoveOrCopyCollectionStatus_unsigned_int_]
test eax, eax
je 0x410dac
xor eax, eax
jmp 0x410daf
xor eax, eax
inc eax
push dword [ebp + 0x74]
mov dword [ebp + esi - 0x134], eax
push dword [ebp + 0x7c]
call edi
mov dword [ebp + esi - 0x130], eax
mov dword [ebp + esi - 0x13c], 1
inc ebx
mov esi, ebx
imul esi, esi, 0x24
cmp dword [ebp + 0x80], 0
mov eax, 0x9c58
mov dword [ebp + esi - 0x144], 0x68f
mov dword [ebp + esi - 0x124], eax
jne 0x410e08
mov ecx, dword [ebp + 0x78]
push eax
call dword [sym.imp.MStoreS.dll_public:_int___thiscall_CMStoreSApp::CheckMoveOrCopyCollectionStatus_unsigned_int_]
test eax, eax
je 0x410e08
xor eax, eax
jmp 0x410e0b
xor eax, eax
inc eax
push 0x1c
push dword [ebp + 0x7c]
mov dword [ebp + esi - 0x134], eax
call edi
mov dword [ebp + esi - 0x130], eax
inc ebx
mov esi, ebx
imul esi, esi, 0x24
cmp dword [ebp + 0x80], 0
mov dword [ebp + esi - 0x144], 0x8005
mov dword [ebp + esi - 0x124], 0x9c5d
jne 0x410e60
call dword [sym.imp.MStoreS.dll__FAllowPrimaryChange_0]
test eax, eax
je 0x410e60
mov ecx, dword [ebp + 0x78]
call dword [sym.imp.MStoreS.dll_public:_int___thiscall_CMStoreSApp::GetSelectedClipCount_void_]
test eax, eax
je 0x410e60
xor eax, eax
jmp 0x410e63
xor eax, eax
inc eax
push 0x8e
push dword [ebp + 0x7c]
mov dword [ebp + esi - 0x134], eax
call edi
mov dword [ebp + esi - 0x130], eax
mov dword [ebp + esi - 0x13c], 1
inc ebx
mov esi, ebx
imul esi, esi, 0x24
push 0x16
push dword [ebp + 0x7c]
mov dword [ebp + esi - 0x144], 0x8009
mov dword [ebp + esi - 0x124], 0x9c63
call edi
cmp dword [ebp + 0x80], 0
mov dword [ebp + esi - 0x130], eax
jne 0x410eca
mov ecx, dword [ebp + 0x78]
call dword [sym.imp.MStoreS.dll_public:_int___thiscall_CMStoreSApp::FSelectedClipHasStyle_void_]
test eax, eax
je 0x410eca
xor eax, eax
jmp 0x410ecd
xor eax, eax
inc eax
mov dword [ebp + esi - 0x134], eax
mov dword [ebp + esi - 0x13c], 1
inc ebx
mov esi, ebx
imul esi, esi, 0x24
cmp dword [ebp + 0x80], 0
mov dword [ebp + esi - 0x144], 0x8006
mov dword [ebp + esi - 0x124], 0x9c5f
jne 0x410f15
mov ecx, dword [ebp + 0x78]
call dword [sym.imp.MStoreS.dll_public:_int___thiscall_CMStoreSApp::GetSelectedClipCount_void_]
test eax, eax
je 0x410f15
xor eax, eax
jmp 0x410f18
xor eax, eax
inc eax
push 0x21
push dword [ebp + 0x7c]
mov dword [ebp + esi - 0x134], eax
call edi
mov dword [ebp + esi - 0x130], eax
mov dword [ebp + esi - 0x13c], 1
xor esi, esi
inc ebx
cmp dword [ebp + 0x290], esi
je 0x410f4f
lea eax, [ebp + 0x68]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x410f71
lea eax, [ebp + 0x48]
push eax
mov eax, dword [ebp + 0x60]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0x48]
add eax, 5
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x4c]
add eax, 5
mov dword [ebp + 0x6c], eax
lea eax, [ebp + 0x64]
push eax
push esi
lea eax, [ebp - 0x144]
push eax
push ebx
push esi
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
push dword [0x41c350]
call dword [sym.imp.MSO.DLL_Ordinal_416]
test eax, eax
je 0x410fa9
mov eax, dword [ebp + 0x64]
cmp eax, 0xffffffff
je 0x410fa9
imul eax, eax, 0x24
mov edi, dword [ebp + eax - 0x124]
jmp 0x410fac
mov edi, dword [ebp + 0x5c]
cmp ebx, esi
jle 0x410fc6
lea esi, [ebp - 0x130]
push dword [esi]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
add esi, 0x24
dec ebx
jne 0x410fb6
xor esi, esi
cmp edi, esi
je 0x411006
lea eax, [edi - 0x9c48]
cmp eax, 0x1b
ja 0x410ff8
movzx eax, byte [eax + 0x411af9]
jmp dword [eax*4 + 0x411af1]
push esi
mov eax, 0x401d20
push eax
push eax
call dword [sym.imp.MSO.DLL_Ordinal_33]
mov ecx, dword [ebp + 0x284]
pop edi
pop esi
pop ebx
call fcn.00413c99
add ebp, 0x288
leave
ret 4