Function at 0x1002759
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
push esi
xor esi, esi
push esi
push esi
push 0x100
call dword [sym.imp.KERNEL32.dll_SetThreadPreferredUILanguages]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x1006098], eax
cmp eax, esi
jne 0x100278c
xor eax, eax
inc eax
jmp 0x1002b78
push ebx
push edi
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0xd
push 0x1001200
call fcn.010025a0
mov edi, eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], eax
xor eax, eax
cmp dword [ebp - 0x70], esi
mov ebx, dword [ebp - 0x90]
setne al
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp dword [ebp - 0x84], esi
sete al
mov dword [ebp - 0x44], eax
xor eax, eax
cmp dword [ebp - 0x80], esi
setne al
mov dword [ebp - 0x38], eax
xor eax, eax
cmp dword [ebp - 0x74], esi
sete al
cmp edi, esi
mov dword [ebp - 0x30], eax
jl 0x1002832
cmp ebx, esi
je 0x1002832
push 0x5c
push ebx
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x1002832
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.01001efc
mov edi, eax
cmp edi, esi
jl 0x1002832
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
cmp edi, esi
mov dword [ebp - 0x2c], esi
jl 0x1002b51
cmp dword [ebp - 0x78], esi
je 0x1002891
push 0x208
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
lea ecx, [ebp - 0x2c]
mov ebx, eax
call fcn.010024a3
mov dword [ebp - 0x2c], ebx
cmp ebx, esi
jne 0x1002863
mov edi, 0x8007000e
cmp edi, esi
jl 0x1002b51
push esi
push ebx
push 0x104
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x1002886
call fcn.01003b61
mov edi, eax
cmp edi, esi
jl 0x1002b51
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0xd
call fcn.01002195
test eax, eax
jl 0x1002b51
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x88]
call fcn.01002131
test eax, eax
jl 0x1002b51
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x8c]
call fcn.010020e9
mov edi, eax
cmp edi, esi
jl 0x1002b51
cmp dword [ebp - 0x1c], esi
jne 0x1002b51
push dword [ebp - 0x30]
push dword [ebp - 0x18]
push dword [ebp - 0x38]
push dword [ebp - 0x7c]
push dword [ebp - 0x10]
push dword [ebp - 0x94]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0xc]
call fcn.01001fec
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x18], esi
jne 0x100294a
cmp dword [ebp - 0xc], 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
jne 0x1002931
push dword [ebp - 0x94]
jmp 0x1002940
cmp dword [ebp - 0xc], esi
jne 0x100293f
push dword [ebp - 0x94]
push esi
jmp 0x1002943
push esi
push dword [ebp - 0x10]
call fcn.010024d9
mov edi, eax
cmp edi, esi
jl 0x1002b37
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x18
mov dword [ebp - 0x1c], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
cmp eax, esi
je 0x1002979
push dword [ebp - 0x1c]
mov ecx, eax
call fcn.01002c8d
mov ebx, eax
jmp 0x100297b
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.010024be
lea eax, [ebp - 0x24]
push eax
push 0x1001424
push 0x15
push esi
push 0x1001484
mov dword [ebp - 0x28], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1002b22
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov eax, ebx
neg eax
lea ecx, [ebx + 4]
sbb eax, eax
and eax, ecx
push eax
call fcn.01003903
mov edi, eax
cmp edi, esi
jl 0x1002b22
cmp dword [ebp - 0xc], 1
jne 0x1002a32
push 9
pop ecx
push dword [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x6c], esi
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
call edi
push dword [ebp - 0x10]
mov dword [ebp - 0x6c], eax
call edi
push dword [ebp - 0x7c]
mov dword [ebp - 0x64], eax
call edi
push dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
call edi
push dword [ebp - 4]
mov dword [ebp - 0x4c], eax
push dword [ebp - 8]
mov eax, dword [ebp - 0x30]
push ebx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
push edx
push eax
call dword [ecx + 0x14]
jmp 0x1002a8a
cmp dword [ebp - 0xc], esi
jne 0x1002ad4
push dword [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x58], esi
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x44]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x4c], eax
call edi
push dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
call edi
push dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
call edi
push dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
call edi
push dword [ebp - 4]
mov dword [ebp - 0x48], eax
push dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x58]
push edx
push eax
call dword [ecx + 0xc]
mov ecx, ebx
mov edi, eax
call fcn.01002c68
cmp edi, esi
jl 0x1002b08
cmp dword [ebp - 0xc], 1
jne 0x1002ae1
mov eax, dword [ebp - 0x14]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov edi, eax
cmp dword [ebp - 0x18], esi
jne 0x1002af1
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.01001a5f
test al, al
je 0x1002af1
push 0x74
call fcn.01001d19
push esi
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.01002339
jmp 0x1002af1
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0100221b
jmp 0x1002a93
cmp dword [ebp - 0xc], esi
jne 0x1002af1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, esi
jl 0x1002b08
call fcn.01001d08
call fcn.01001d08
push 0x75
call fcn.01001d19
jmp 0x1002b22
call fcn.01001d08
call fcn.01001d08
push edi
push 0x72
call fcn.01001dd0
push 1
push edi
call fcn.01001e9d
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.01003574
lea ecx, [ebp - 0x14]
call fcn.010024be
lea ecx, [ebp - 0x24]
call fcn.010024be
lea ecx, [ebp - 0x28]
call fcn.010024be
jmp 0x1002b56
call fcn.01001fc7
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x2c]
call fcn.010024a3
lea ecx, [ebp - 0x20]
call fcn.010024a3
lea ecx, [ebp - 0x34]
call fcn.010024a3
pop edi
xor eax, eax
pop ebx
pop esi
leave
ret