Function at 0x45f37f
Capabilities:
Accept command line arguments
Get file attributes

Disassembly:
push 0x200
mov eax, 0x4df1ba
call fcn.0047d000
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 0x191], bl
mov dword [ebp - 0x1a4], ebx
lea eax, [ebp - 0x192]
mov dword [ebp - 4], ebx
push eax
xor eax, eax
lea ecx, [ebp - 0x1d0]
inc eax
push eax
call fcn.00452500
xor ecx, ecx
lea eax, [ebp - 0x168]
inc ecx
push eax
mov byte [ebp - 4], cl
call fcn.0045eba8
pop ecx
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
inc ecx
test ecx, eax
je 0x45f409
mov byte [ebp - 0x1e4], cl
jmp 0x45f445
lea eax, [ebp - 0x138]
push edi
push eax
call fcn.00460cfc
push eax
mov byte [ebp - 4], 3
call fcn.0042f720
add esp, 0xc
lea ecx, [ebp - 0x138]
mov bl, al
call fcn.00410420
xor eax, eax
test bl, bl
push 1
movzx eax, al
pop ecx
cmove eax, ecx
xor ebx, ebx
mov dword [ebp - 0x1e4], eax
xor eax, eax
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
mov dword [ebp - 0x188], ebx
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 5
mov dword [ebp - 0x1dc], ebx
mov dword [ebp - 0x1d8], ebx
call fcn.0045a990
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 6
push eax
call fcn.0045e651
push esi
call fcn.00429d30
test eax, eax
mov dword [ebp - 0x170], ebx
pop ecx
setne byte [ebp - 0x1a8]
mov dword [ebp - 0x16c], 7
pop ecx
test eax, eax
mov ecx, 0x4e3d9c
mov esi, str.Excel.Sheet.12
cmove esi, ecx
xor eax, eax
mov word [ebp - 0x180], ax
mov dword [ebp - 0x1b8], ebx
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 8
push eax
push str.Excel.Application
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
js 0x45f54f
lea eax, [ebp - 0x188]
push eax
push 0x4fd868
push 4
push ebx
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x45f54f
push dword [ebp - 0x1a8]
lea eax, [ebp - 0x188]
push eax
call fcn.0045e298
pop ecx
pop ecx
test al, al
jne 0x45f54f
lea eax, [ebp - 0x188]
push str.Quit
push eax
call fcn.004273e0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x188]
test ecx, ecx
je 0x45f55c
mov dword [ebp - 0x188], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebp - 0x188], 0
jne 0x45f6cb
push 4
push ebx
push esi
lea ecx, [ebp - 0x1b8]
call fcn.00452550
mov esi, eax
test esi, esi
js 0x45f5cf
lea eax, [ebp - 0x1b8]
push str.Activate
push eax
call fcn.004273e0
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.00453050
add esp, 0x10
test eax, eax
jne 0x45f5a3
mov esi, 0x80004005
jmp 0x45f5cf
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004555e0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x180]
call fcn.0040e350
lea ecx, [ebp - 0x138]
call fcn.00410420
cmp dword [ebp - 0x188], 0
jne 0x45f6cb
cmp esi, 0x800401f3
je 0x45f61a
cmp esi, 0x80040154
je 0x45f61a
push esi
lea eax, [ebp - 0xd8]
push str.LockXLS_was_unable_to_launch_Excel_application._Error_code:_0x_X
push eax
call fcn.0041bbe0
lea eax, [ebp - 0xd8]
push eax
call fcn.0048a11d
add esp, 0x10
push eax
lea eax, [ebp - 0xd8]
push eax
jmp 0x45f775
xor eax, eax
lea ecx, [ebp - 0xc0]
inc eax
push eax
push 3
call fcn.00405c70
cmp byte [ebp - 0x1a8], 0
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0x34
je 0x45f645
push str.This_file_requires_Microsoft_Excel_2007_or_higher_to_be_installed_on_your_PC._n
jmp 0x45f64a
push str.This_file_requires_Microsoft_Excel_to_be_installed_on_your_PC._n
push eax
call fcn.00409f80
pop ecx
pop ecx
push str.______Excel_is_not_registered_as_COM_Server_on_your_PC
push str.______your_user_account_doesnt_have_enough_rights_to_run_Excel_application_n
push str.______you_doesnt_have_Microsoft_Excel_installed_n
lea eax, [ebp - 0xb0]
push str.Possible_reasons_of_this_error:_n_n
push eax
call fcn.00409f80
pop ecx
pop ecx
push eax
call fcn.00409f80
pop ecx
pop ecx
push eax
call fcn.00409f80
pop ecx
pop ecx
push eax
call fcn.00409f80
pop ecx
pop ecx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00407f10
mov ecx, dword [ebp - 0x1ac]
lea eax, [ebp - 0x120]
push eax
call fcn.0040e350
lea ecx, [ebp - 0x120]
call fcn.00410420
lea ecx, [ebp - 0xc0]
call fcn.00401af0
jmp 0x460622
xor eax, eax
mov dword [ebp - 0x1e0], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
push ebx
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x188]
push str.Version
push eax
call fcn.00426be0
add esp, 0x10
test al, al
je 0x45f740
cmp dword [ebp - 0xf8], 0
je 0x45f740
cmp dword [ebp - 0xf4], 8
lea ecx, [ebp - 0x1e0]
push ecx
lea eax, [ebp - 0x108]
cmovae eax, dword [ebp - 0x108]
push 0x4faa44
push eax
call fcn.004346d0
add esp, 0xc
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 8
call fcn.00410420
push dword [ebp - 0x1a8]
lea eax, [ebp - 0x188]
push eax
call fcn.0045e298
pop ecx
pop ecx
test al, al
jne 0x45f785
mov esi, str.The_file_you_are_using_cant_be_opened_in_this_version_of_Microsoft_Excel._nPlease__make_sure_that_your_default_version_of_Excel_application_is_Excel_2007_or_higher_and_try_again.
push esi
call fcn.0048a11d
pop ecx
push eax
push esi
mov ecx, dword [ebp - 0x1ac]
call fcn.00410170
jmp 0x460622
xor eax, eax
lea ecx, [ebp - 0x1a0]
inc eax
mov byte [ebp - 0x192], al
lea eax, [ebp - 0x188]
push eax
call fcn.0044ecd0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0044f1d0
push 0xb
pop eax
push str.LockXLSRuntime.Connect
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], al
call fcn.00405a00
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0044fce0
lea ecx, [ebp - 0x18c]
mov esi, dword [eax]
call fcn.0044ff20
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xb
call fcn.00410420
test esi, esi
je 0x45f944
xor eax, eax
lea ecx, [ebp - 0x120]
inc eax
push str.LockXLSRuntime.Connect
mov byte [ebp - 0x191], al
call fcn.00405a00
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0044fce0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xf
call fcn.00410420
cmp dword [ebp - 0x190], 0
je 0x45f935
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x190]
call fcn.0044ffa0
push eax
lea ecx, [ebp - 0x1a4]
call fcn.0045dfff
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x45f88d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x1a4], 0
je 0x45f92f
lea eax, [ebp - 0x1a4]
push str.IsWorkbookProtected
push eax
call fcn.004273e0
pop ecx
pop ecx
lea eax, [ebp - 0x1d0]
push eax
xor eax, eax
lea ecx, [ebp - 0x1d0]
inc eax
push eax
call fcn.00427f20
cmp dword [ebp - 0x154], 8
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0x18c]
cmovae eax, dword [ebp - 0x168]
push eax
call fcn.004290e0
mov ecx, dword [ebp - 0x1d0]
push eax
mov byte [ebp - 4], 0x10
call fcn.00428930
mov ecx, dword [ebp - 0x18c]
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x45f906
call fcn.00428f80
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1a4]
push str.PrepareWorkbook
push eax
call fcn.00427370
lea eax, [ebp - 0x188]
push eax
call fcn.0045dd83
add esp, 0x10
jmp 0x45f935
mov byte [ebp - 0x191], bl
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xb
call fcn.0044ff20
push ebx
lea ecx, [ebp - 0x1a0]
call fcn.0044f3d0
mov dword [ebp - 0x1b4], ebx
push ebx
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x188]
push str.Workbooks
push eax
call fcn.00426dc0
add esp, 0x10
test al, al
je 0x4605e7
cmp byte [ebp - 0x191], 0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
je 0x45f9a1
xor eax, eax
mov dword [ebp - 0x1b0], ebx
inc eax
mov byte [ebp - 0x181], al
jmp 0x45fe0b
push dword [ebp - 0x1e0]
lea eax, [ebp - 0x138]
push edi
push eax
call fcn.0045e6e1
add esp, 0xc
lea ecx, [ebp - 0x150]
push eax
call fcn.0040e350
lea ecx, [ebp - 0x138]
call fcn.00410420
cmp dword [ebp - 0x140], 0
jne 0x45f9f5
mov esi, str.Loader_Add_In_can_not_be_extracted_from_the_executable.
push esi
call fcn.0048a11d
pop ecx
mov ecx, dword [ebp - 0x1ac]
push eax
push esi
call fcn.00410170
jmp 0x4605e7
lea eax, [ebp - 0x100]
mov byte [ebp - 0x190], bl
push eax
call esi
lea eax, [ebp - 0x181]
mov byte [ebp - 4], 0x12
push eax
xor eax, eax
lea ecx, [ebp - 0x1c4]
inc eax
push eax
call fcn.00452500
push 0x4e3ff8
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x13
call fcn.004290e0
mov ecx, dword [ebp - 0x1c4]
push eax
mov byte [ebp - 4], 0x14
call fcn.00428930
mov ecx, dword [ebp - 0x18c]
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x45fa55
call fcn.00428f80
push ebx
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x188]
push 0x4e3520
push eax
call fcn.00426fb0
add esp, 0x14
test al, al
je 0x45faaa
push 0xb
pop eax
cmp ax, word [ebp - 0x100]
jne 0x45faaa
lea ecx, [ebp - 0x100]
call fcn.0045dac3
mov ecx, dword [ebp - 0x190]
xor edx, edx
inc edx
movzx ecx, cl
cmp al, dl
cmove ecx, edx
mov dword [ebp - 0x190], ecx
lea ecx, [ebp - 0x1c4]
call fcn.00427cd0
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x11
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor ecx, ecx
lea eax, [ecx + 1]
mov byte [ebp - 0x181], al
cmp byte [ebp - 0x190], cl
jne 0x45fdfd
cmp dword [ebp - 0x13c], 8
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0x190]
cmovae eax, dword [ebp - 0x150]
push eax
call fcn.004290e0
mov ecx, dword [ebp - 0x1d0]
push eax
mov byte [ebp - 4], 0x15
call fcn.00428930
mov ecx, dword [ebp - 0x190]
test ecx, ecx
je 0x45fb1c
call fcn.00428f80
mov dword [ebp - 0x198], ebx
xor eax, eax
mov dword [ebp - 0x110], ebx
inc eax
mov dword [ebp - 0x10c], 7
mov byte [ebp - 0x190], al
xor eax, eax
mov word [ebp - 0x120], ax
push ebx
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x188]
push str.Path
push eax
call fcn.00426be0
mov edi, 0x4e4028
push edi
call fcn.0048a11d
add esp, 0x14
lea ecx, [ebp - 0x120]
push eax
push edi
call fcn.00409280
cmp dword [ebp - 0x10c], 8
lea ecx, [ebp - 0x18c]
lea eax, [ebp - 0x120]
mov dword [ebp - 0x18c], ebx
cmovae eax, dword [ebp - 0x120]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x45fbc3
mov eax, dword [ebp - 0x190]
xor ecx, ecx
cmp dword [ebp - 0x18c], 6
movzx eax, al
cmove eax, ecx
mov dword [ebp - 0x190], eax
push ebx
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1b4]
push str.Open
push eax
call fcn.004272d0
add esp, 0x14
test al, al
je 0x45fdd8
lea eax, [ebp - 0x199]
push eax
push 3
lea ecx, [ebp - 0x1c4]
call fcn.00452500
push 0x4e4040
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 0x18
call fcn.004290e0
mov ecx, dword [ebp - 0x1c4]
push eax
mov byte [ebp - 4], 0x19
lea ecx, [ecx + 0x20]
call fcn.00428930
mov ecx, dword [ebp - 0x1e8]
mov byte [ebp - 4], 0x18
test ecx, ecx
je 0x45fc3c
call fcn.00428f80
cmp byte [ebp - 0x190], 0
lea ecx, [ebp - 0xdc]
mov eax, dword [ebp - 0x1ec]
cmovne eax, dword [ebp - 0xdc]
push eax
call fcn.004290e0
mov ecx, dword [ebp - 0x1c4]
push eax
mov byte [ebp - 4], 0x1a
lea ecx, [ecx + 0x10]
call fcn.00428930
mov ecx, dword [ebp - 0xdc]
mov byte [ebp - 4], 0x18
test ecx, ecx
je 0x45fc82
call fcn.00428f80
cmp dword [ebp - 0x154], 8
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0xdc]
cmovae eax, dword [ebp - 0x168]
push eax
call fcn.004290e0
mov ecx, dword [ebp - 0x1c4]
push eax
mov byte [ebp - 4], 0x1b
call fcn.00428930
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x45fcc1
call fcn.00428f80
lea eax, [ebp - 0x100]
push eax
call esi
mov edi, dword [ebp - 0x1ac]
mov esi, ebx
mov byte [ebp - 4], 0x1c
push ebx
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x188]
push 0x4e3520
push eax
call fcn.00426fb0
add esp, 0x14
test al, al
jne 0x45fda8
push str.Macro_can_not_be_executed._Please_make
mov byte [ebp - 0x181], bl
call fcn.0048a11d
pop ecx
push eax
push str.Macro_can_not_be_executed._Please_make
mov ecx, edi
call fcn.00410170
xor eax, eax
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0x1d
push eax
call fcn.004276d0
mov dword [esp], 0x4fae6c
call fcn.0048a11d
pop ecx
push eax
push 0x4fae6c
mov ecx, edi
call fcn.00409280
cmp dword [ebp - 0xdc], 8
lea eax, [ebp - 0xf0]
push dword [ebp - 0xe0]
cmovae eax, dword [ebp - 0xf0]
mov ecx, edi
push eax
call fcn.00409280
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x1c
call fcn.00410420
inc esi
cmp esi, 0xa
jl 0x45fcd6
cmp esi, 0xa
jge 0x45fdc0
lea eax, [ebp - 0x188]
push eax
call fcn.0045db15
pop ecx
mov byte [ebp - 0x181], al
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x1c4]
call fcn.00427cd0
lea ecx, [ebp - 0x120]
call fcn.00410420
mov eax, dword [ebp - 0x198]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x45fdf7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [ebp - 0x181]
mov dword [ebp - 0x1b0], ebx
test al, al
je 0x4605e7
push ebx
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x188]
push str.HWND
push eax
call fcn.00426860
add esp, 0x10
test al, al
jne 0x45fece
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
call fcn.0045a990
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0x1e
push eax
call fcn.0045e651
cmp dword [ebp - 0xdc], 0
pop ecx
je 0x45fec3
mov edi, dword [ebp - 0xe0]
mov esi, dword [edi]
mov dword [ebp - 0x18c], esi
jmp 0x45feb4
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.0045b7c0
cmp eax, dword [ebp - 0x1dc]
je 0x45fe95
mov ecx, dword [esi + 0x10]
cmp ecx, dword [eax + 0x10]
jae 0x45fe9b
mov eax, dword [ebp - 0x1dc]
cmp dword [ebp - 0x1dc], eax
je 0x45feba
lea ecx, [ebp - 0x18c]
call fcn.0045b0f0
mov esi, dword [ebp - 0x18c]
cmp edi, esi
jne 0x45fe76
jmp 0x45fec3
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1b0], eax
lea ecx, [ebp - 0xe0]
call fcn.00459010
cmp dword [ebp - 0x1b0], 0
je 0x45fee3
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x18c], ebx
mov dword [ebp - 0x190], ebx
push ebx
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x188]
push str.Workbooks
push eax
call fcn.00426dc0
lea eax, [ebp - 0x190]
mov edi, ebx
push eax
call fcn.004529d0
add esp, 0x14
mov dword [ebp - 0xdc], eax
test eax, eax
jle 0x45fffb
lea eax, [ebp - 0x18c]
inc edi
push eax
lea eax, [ebp - 0x190]
push edi
push eax
call fcn.00452a00
add esp, 0xc
test eax, eax
je 0x45ff83
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00455650
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x45ff64
mov eax, dword [eax]
push eax
push dword [ebp - 0x1d4]
call fcn.0048b1ae
pop ecx
pop ecx
lea ecx, [ebp - 0x138]
mov esi, eax
call fcn.00410420
test esi, esi
je 0x45ff8d
cmp edi, dword [ebp - 0xdc]
jl 0x45ff2b
jmp 0x45fffb
lea eax, [ebp - 0x188]
mov byte [ebp - 0x181], bl
push str.Activate
push eax
call fcn.004273e0
mov dword [ebp - 0x198], ebx
push ebx
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x188]
push str.ActiveWindow
push eax
call fcn.00426dc0
add esp, 0x18
test al, al
je 0x45ffe7
push 0xffffefd7
lea eax, [ebp - 0x198]
push str.WindowState
push eax
call fcn.00426700
add esp, 0xc
mov eax, dword [ebp - 0x198]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x45fffb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x190]
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x46000f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18c]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x460023
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 0x181], 0
je 0x4605e7
cmp byte [ebp - 0x191], 0
jne 0x4600ef
lea eax, [ebp - 0x199]
push eax
xor eax, eax
lea ecx, [ebp - 0x1c4]
inc eax
push eax
call fcn.00452500
push 0x4e40e4
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x22
call fcn.004290e0
mov ecx, dword [ebp - 0x1c4]
push eax
mov byte [ebp - 4], 0x23
call fcn.00428930
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x460086
call fcn.00428f80
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push ebx
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x188]
push 0x4e3520
push eax
call fcn.00426fb0
add esp, 0x14
test al, al
je 0x4600d3
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.00427470
pop ecx
pop ecx
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 0x11
call fcn.00427cd0
cmp dword [ebp - 0x1a4], 0
je 0x4601d3
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
push ebx
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x1a4]
push str.Arguments
push eax
call fcn.004272d0
add esp, 0x14
test al, al
je 0x4601b4
lea eax, [ebp - 0xe4]
push eax
xor eax, eax
lea ecx, [ebp - 0xe4]
inc eax
push eax
call fcn.00427f20
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x18c], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x4601b4
xor eax, eax
inc eax
mov esi, eax
cmp dword [ebp - 0x18c], eax
jle 0x4601b4
push dword [edi + esi*4]
mov ecx, dword [ebp - 0xe4]
call fcn.00456be0
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x198]
push 0x4fd944
push eax
call fcn.00427370
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0x18c]
jl 0x460182
lea ecx, [ebp - 0xe4]
call fcn.00427cd0
mov eax, dword [ebp - 0x198]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x4601d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp - 0x1ac]
cmp dword [edi + 0x10], ebx
jne 0x4605e7
push str.GoogleDesktop.OfficeAddin
lea ecx, [ebp - 0x138]
call fcn.00405a00
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0044fce0
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0x29
call fcn.00410420
cmp dword [ebp - 0x198], 0
je 0x460233
push ebx
lea ecx, [ebp - 0x198]
call fcn.004500b0
mov dword [ebp - 0x190], ebx
cmp byte [ebp - 0x1e4], 0
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 0x2a
mov ecx, eax
push eax
je 0x4602b1
push 3
call fcn.00427f20
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0xdc]
push esi
call fcn.004290e0
mov ecx, dword [ebp - 0x1d0]
push eax
mov byte [ebp - 4], 0x2b
lea ecx, [ecx + 0x20]
call fcn.00428930
mov ecx, dword [ebp - 0xdc]
mov byte [ebp - 4], 0x2a
test ecx, ecx
je 0x46028e
call fcn.00428f80
mov ecx, dword [ebp - 0x1d0]
xor eax, eax
inc eax
push eax
lea ecx, [ecx + 0x10]
call fcn.004528a0
mov ecx, dword [ebp - 0x1d0]
xor eax, eax
inc eax
push eax
call fcn.004528a0
jmp 0x4602eb
xor eax, eax
inc eax
push eax
call fcn.00427f20
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0xdc]
push esi
call fcn.004290e0
mov ecx, dword [ebp - 0x1d0]
push eax
mov byte [ebp - 4], 0x2c
call fcn.00428930
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4602eb
call fcn.00428f80
push 0x20
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0047f380
mov dword [ebp - 0x18c], ebx
push ebx
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x2d
push eax
lea eax, [ebp - 0x188]
push str.ActiveWindow
push eax
call fcn.00426dc0
add esp, 0x1c
test al, al
je 0x46033d
push 0xffffefd7
lea eax, [ebp - 0x18c]
push str.WindowState
push eax
call fcn.00426700
add esp, 0xc
lea eax, [ebp - 0x1b4]
push str.xl5galry.xls
push eax
call fcn.0045e59a
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1b4]
push str.Open
push eax
call fcn.004272d0
add esp, 0x1c
test al, al
je 0x4604ae
mov esi, dword [ebp + 0x18]
mov al, byte [esi + 0x424]
test al, al
jne 0x4603ab
xor eax, eax
lea ecx, [ebp - 0x1a0]
inc eax
push eax
call fcn.0044f3d0
mov al, byte [esi + 0x424]
mov byte [ebp - 0x192], bl
test al, al
je 0x4603ca
lea ecx, [ebp - 0x1a0]
call fcn.0044f3a0
test eax, eax
jne 0x4603ca
lea ecx, [ebp - 0x1a0]
call fcn.0044f240
jmp 0x4605ac
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x188]
push str.EnableEvents
push eax
call fcn.004267e0
add esp, 0xc
lea eax, [ebp - 0x199]
lea ecx, [ebp - 0x1c4]
push eax
xor eax, eax
inc eax
push eax
call fcn.00452500
push str.Auto_Open
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x2e
call fcn.004290e0
mov ecx, dword [ebp - 0x1c4]
push eax
mov byte [ebp - 4], 0x2f
call fcn.00428930
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x46042b
call fcn.00428f80
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push ebx
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x30
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x188]
push 0x4e3520
push eax
call fcn.00426fb0
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x188]
push str.ScreenUpdating
push eax
call fcn.004267e0
add esp, 0x20
cmp byte [esi + 0x428], 0
je 0x460491
push dword [ebp - 0x1d4]
lea eax, [ebp - 0x1a0]
push eax
call fcn.00460a39
pop ecx
pop ecx
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x1c4]
call fcn.00427cd0
jmp 0x4605a6
xor eax, eax
lea ecx, [ebp - 0xc0]
inc eax
push eax
push 3
call fcn.00405c70
push str.Error_description:
push str._can_not_be_opened._n
push esi
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0x31
push str.File_
push eax
call fcn.00409f80
pop ecx
pop ecx
push eax
call fcn.00409f80
pop ecx
pop ecx
push eax
call fcn.00409f80
pop ecx
pop ecx
push eax
call fcn.00409f80
cmp dword [ebp - 0x204], 0
pop ecx
pop ecx
je 0x460543
push dword [ebp - 0x204]
lea ecx, [ebp - 0xdc]
call fcn.004290e0
mov eax, dword [eax]
mov byte [ebp - 4], 0x32
test eax, eax
je 0x46051f
mov ebx, dword [eax]
lea eax, [ebp - 0xb0]
push ebx
push eax
call fcn.00409f80
pop ecx
pop ecx
mov ecx, dword [ebp - 0xdc]
mov byte [ebp - 4], 0x31
test ecx, ecx
je 0x460556
call fcn.00428f80
jmp 0x460556
lea eax, [ebp - 0xb0]
push str._not_available_
push eax
call fcn.00409f80
pop ecx
pop ecx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00407f10
cmp dword [ebp - 0x10c], 8
lea esi, [ebp - 0x120]
mov byte [ebp - 4], 0x33
cmovae esi, dword [ebp - 0x120]
push esi
call fcn.0048a11d
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00410170
lea ecx, [ebp - 0x120]
call fcn.00410420
lea ecx, [ebp - 0xc0]
call fcn.00401af0
mov bl, byte [ebp - 0x192]
mov eax, dword [ebp - 0x18c]
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x4605c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x190]
mov byte [ebp - 4], 0x29
test eax, eax
je 0x4605d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x11
call fcn.0044ff20
test bl, bl
je 0x4605f6
xor eax, eax
lea ecx, [ebp - 0x1a0]
inc eax
push eax
call fcn.0044f3d0
push 0xb
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x1b4]
test eax, eax
je 0x46060c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x1a8]
call fcn.0044fbc0
lea ecx, [ebp - 0x1a0]
call fcn.0044ecf0
mov eax, dword [ebp - 0x1b8]
mov byte [ebp - 4], 7
test eax, eax
je 0x460636
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x180]
call fcn.00410420
lea ecx, [ebp - 0x1dc]
call fcn.00459010
mov eax, dword [ebp - 0x188]
mov byte [ebp - 4], 4
test eax, eax
je 0x460660
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x150]
call fcn.00410420
lea ecx, [ebp - 0x168]
call fcn.00410420
lea ecx, [ebp - 0x1d0]
call fcn.00427cd0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x460695
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.0047cfaa
ret