Function at 0x401000
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416330
push 0x40bf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x401055
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
push str.ytMovieUtilsThumbCmd
push edi
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp ebx, edi
jne 0x40106a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
push str._u__u
push esi
call fcn.0040be4c
add esp, 0x10
cmp eax, 2
jne 0x401276
push 0xa
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edx, dword [ebp + 8]
push edx
push edi
call fcn.0040334d
push edi
push str.SOFTWAREGooglePicasa_
call fcn.0040308f
add esp, 0x10
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x30], esi
test esi, esi
je 0x4010d5
test edi, edi
je 0x4010d5
mov al, 1
jmp 0x4010d7
xor al, al
test al, al
je 0x40126b
mov dword [ebp - 0x34], 0x128
lea ecx, [ebp - 0x34]
push ecx
push 0x128
lea edx, [ebp - 0x15c]
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x401108
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
lea ecx, [ebp - 0x180]
call fcn.0040258d
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x188], ecx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x188]
push edx
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x180]
push ecx
lea edx, [ebp - 0x150]
push edx
call fcn.00401e60
add esp, 0x10
mov dword [ebp - 0x18c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x401177
test eax, eax
jne 0x40122b
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x48], ecx
mov ebx, dword [ebp - 0x174]
imul ebx, dword [ebp - 0x17c]
shl ebx, 2
cmp dword [ebp - 0x3c], ebx
jb 0x40122b
mov edi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x20]
push edx
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4011c9
test edi, edi
je 0x4011c9
mov al, 1
jmp 0x4011cb
xor al, al
test al, al
je 0x40121d
mov dword [ebp - 0x190], ebx
lea eax, [ebp - 0x190]
push eax
push ebx
mov ecx, dword [ebp - 0x170]
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x4011f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4011fa
xor eax, eax
test eax, eax
jne 0x40121d
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x15c], 1
test esi, esi
je 0x401228
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x194], 0x128
lea ecx, [ebp - 0x194]
push ecx
push 0x128
lea edx, [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x40125d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x180]
call fcn.0040267b
mov ebx, dword [ebp - 0x1c]
test esi, esi
je 0x401276
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]