Function at 0x1001808
Capabilities:
Accept command line arguments

Disassembly:
add edi, 4
cmp edi, 8
jb 0x1001c4b
push 4
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
jmp 0x100274f
lea ecx, [ebp - 0x350]
call fcn.01001e37
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_OpenEventW]
jmp 0x10027a6
mov ecx, dword [ebp - 0x6a0]
lea eax, [ebp - 0x14]
push eax
call fcn.01002931
mov esi, eax
cmp dword [ebp - 0x6a4], ebx
je 0x1001256
push dword [ebp - 0x6a4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp esi, ebx
jl 0x10027b6
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x6ac]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
jmp 0x10027b6
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6b0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x6a0], ebx
call fcn.01001f3c
lea ecx, [ebp - 0x464]
call fcn.01001f3c
lea ecx, [ebp - 0x128]
call fcn.01001f3c
mov esi, 0x1001894
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x350]
movsd dword es:[edi], dword [esi]
call fcn.01001f3c
lea ecx, [ebp - 0x578]
mov dword [ebp - 0x6a4], ebx
mov dword [ebp - 0x698], ebx
mov dword [ebp - 0x694], ebx
mov dword [ebp - 0x69c], ebx
call fcn.01001f3c
lea ecx, [ebp - 0x68c]
call fcn.01001f3c
jmp 0x10026e3
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov dword [ebp - 0x6ac], ebx
mov dword [ebp - 0x6a8], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, ebx
je 0x100200a
mov ecx, eax
lea edi, [ecx + 2]
nop
nop
nop
mov dx, word [ecx]
inc ecx
inc ecx
cmp dx, bx
jne 0x10018d0
push esi
push esi
sub ecx, edi
push 0x20
sar ecx, 1
mov dword [ebp - 0x698], eax
lea eax, [eax + ecx*2]
pop edi
push edi
lea ecx, [ebp - 0x69c]
mov dword [ebp - 0x694], eax
call fcn.010015fc
mov eax, dword [ebp - 0x698]
cmp eax, dword [ebp - 0x694]
jae 0x100200a
push esi
push ebx
push edi
lea ecx, [ebp - 0x69c]
call fcn.010015fc
mov eax, dword [ebp - 0x698]
push esi
push esi
push edi
lea ecx, [ebp - 0x69c]
mov dword [ebp - 0x690], eax
call fcn.010015fc
mov eax, dword [ebp - 0x698]
sub eax, dword [ebp - 0x690]
lea ecx, [ebp - 0x23c]
sar eax, 1
push eax
push dword [ebp - 0x690]
call fcn.01001962
jmp 0x1002704
push esi
push ebx
push edi
lea ecx, [ebp - 0x69c]
call fcn.010015fc
push 0xa
lea eax, [ebp - 0x6b0]
push eax
lea ecx, [ebp - 0x69c]
call fcn.010024dd
test eax, eax
je 0x10027b6
push esi
push ebx
push edi
lea ecx, [ebp - 0x69c]
call fcn.010015fc
xor edi, edi
lea eax, [ebp - 0x69c]
push eax
push dword [edi + 0x1001c64]
call fcn.01001acf
jmp 0x1002745
push 0xffffffffffffffff
lea ecx, [ebp - 0x23c]
call fcn.01001e37
push eax
lea ecx, [ebp - 0x128]
call fcn.01001962
push 0xffffffffffffffff
push 0x1001e24
push ebx
lea ecx, [ebp - 0x128]
call fcn.0100197d
lea ecx, [ebp - 0x128]
call fcn.01001e37
push eax
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6a4], eax
cmp eax, ebx
je 0x1002777
push 0xffffffffffffffff
lea ecx, [ebp - 0x23c]
call fcn.01001e37
push eax
lea ecx, [ebp - 0x350]
call fcn.01001962
push 0xffffffffffffffff
push 0x1001e0c
push ebx
lea ecx, [ebp - 0x350]
call fcn.0100197d
push dword [ebp - 0x690]
mov esi, 0x100000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x1002794
mov eax, dword [ebp - 0x698]
cmp eax, dword [ebp - 0x694]
jae 0x100200a
push esi
push ebx
push edi
lea ecx, [ebp - 0x69c]
call fcn.010015fc
mov eax, dword [ebp - 0x698]
push esi
push esi
push edi
lea ecx, [ebp - 0x69c]
mov dword [ebp - 0x690], eax
call fcn.010015fc
mov eax, dword [ebp - 0x698]
sub eax, dword [ebp - 0x690]
lea ecx, [ebp - 0x464]
sar eax, 1
push eax
push dword [ebp - 0x690]
call fcn.01001962
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x464]
call fcn.01001e37
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
jmp 0x1002711
push ebx
push ebx
push ebx
push 3
push 4
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
jmp 0x1002759
cmp dword [ebp - 0x67c], ebx
jne 0x1002833
jmp 0x100283e
push esi
push dword [ebp - 0x6b0]
call sub.MFPlat.DLL_MFStartup
jmp 0x1002763
lea eax, [ebp - 0x6a0]
push eax
call fcn.0100204d
jmp 0x100276d
mov dword [ebp - 0x6b0], 0x20070
call dword [sym.imp.KERNEL32.dll_GetErrorMode]
xor esi, esi
inc esi
or eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp 0x10018a4
test eax, eax
jge 0x1001f82
jmp 0x10027b6
test eax, eax
jl 0x10027b6
push esi
push ebx
push edi
lea ecx, [ebp - 0x69c]
call fcn.010015fc
push 0xa
lea eax, [ebp - 0x690]
push eax
lea ecx, [ebp - 0x69c]
call fcn.010024dd
test eax, eax
jne 0x1001c11
jmp 0x10027b6
test eax, eax
jge 0x10011fe
jmp 0x10027b6
test eax, eax
jge 0x1001ff3
jmp 0x10027b6
test eax, eax
jge 0x100201b
jmp 0x10027b6
test eax, eax
jge 0x1002037
jmp 0x10027b6
test eax, eax
jge 0x1001d70
jmp 0x10027b6
call edi
cmp eax, ebx
jle 0x1002787
and eax, 0xffff
or eax, 0x80070000
cmp eax, 0x800700b7
je 0x1001dc5
jmp 0x10027b6
mov dword [ebp - 0x6ac], eax
cmp eax, ebx
jne 0x1001218
call edi
jmp 0x10027b6
mov dword [ebp - 0x6a8], eax
cmp eax, ebx
jne 0x1001231
jmp 0x10027a2
mov ecx, dword [ebp - 0x6a0]
cmp ecx, ebx
je 0x10027c5
call fcn.0100419e
call dword [sym.imp.ole32.dll_CoFreeUnusedLibraries]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x6a0]
cmp eax, ebx
je 0x10027e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x6a0], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x6a4], ebx
je 0x10027fd
push dword [ebp - 0x6a4]
call esi
cmp dword [ebp - 0x6ac], ebx
je 0x1002813
push dword [ebp - 0x6ac]
call esi
mov dword [ebp - 0x6ac], ebx
cmp dword [ebp - 0x6a8], ebx
je 0x1002829
push dword [ebp - 0x6a8]
call esi
mov dword [ebp - 0x6a8], ebx
call sub.MFPlat.DLL_MFShutdown
jmp 0x100200a
lea ecx, [ebp - 0x68c]
call fcn.010011c1
cmp dword [ebp - 0x568], ebx
je 0x1002851
lea ecx, [ebp - 0x578]
call fcn.010011c1
cmp dword [ebp - 0x340], ebx
je 0x1002864
lea ecx, [ebp - 0x350]
call fcn.010011c1
cmp dword [ebp - 0x118], ebx
je 0x1002877
lea ecx, [ebp - 0x128]
call fcn.010011c1
cmp dword [ebp - 0x454], ebx
je 0x100288a
lea ecx, [ebp - 0x464]
call fcn.010011c1
cmp dword [ebp - 0x22c], ebx
pop edi
pop esi
pop ebx
je 0x10028a0
lea ecx, [ebp - 0x23c]
call fcn.010011c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.01001b96
leave
ret 0x10