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

Disassembly:
push 0x200
mov eax, 0x4df15a
call fcn.0047cfab
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.0045eb64
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 0x45f3c5
mov byte [ebp - 0x1e4], cl
jmp 0x45f401
lea eax, [ebp - 0x138]
push edi
push eax
call fcn.00460cb8
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.0045e60d
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, str.Excel.Sheet.8
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 0x45f50b
lea eax, [ebp - 0x188]
push eax
push 0x4fd858
push 4
push ebx
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x45f50b
push dword [ebp - 0x1a8]
lea eax, [ebp - 0x188]
push eax
call fcn.0045e298
pop ecx
pop ecx
test al, al
jne 0x45f50b
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 0x45f518
mov dword [ebp - 0x188], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebp - 0x188], 0
jne 0x45f687
push 4
push ebx
push esi
lea ecx, [ebp - 0x1b8]
call fcn.00452550
mov esi, eax
test esi, esi
js 0x45f58b
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 0x45f55f
mov esi, 0x80004005
jmp 0x45f58b
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 0x45f687
cmp esi, 0x800401f3
je 0x45f5d6
cmp esi, 0x80040154
je 0x45f5d6
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.0048a0cd
add esp, 0x10
push eax
lea eax, [ebp - 0xd8]
push eax
jmp 0x45f731
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 0x45f601
push str.This_file_requires_Microsoft_Excel_2007_or_higher_to_be_installed_on_your_PC._n
jmp 0x45f606
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 0x4605de
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 0x45f6fc
cmp dword [ebp - 0xf8], 0
je 0x45f6fc
cmp dword [ebp - 0xf4], 8
lea ecx, [ebp - 0x1e0]
push ecx
lea eax, [ebp - 0x108]
cmovae eax, dword [ebp - 0x108]
push 0x4faa34
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 0x45f741
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.0048a0cd
pop ecx
push eax
push esi
mov ecx, dword [ebp - 0x1ac]
call fcn.00410170
jmp 0x4605de
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 0x45f900
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 0x45f8f1
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 0x45f849
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x1a4], 0
je 0x45f8eb
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 0x45f8c2
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 0x45f8f1
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 0x4605a3
cmp byte [ebp - 0x191], 0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
je 0x45f95d
xor eax, eax
mov dword [ebp - 0x1b0], ebx
inc eax
mov byte [ebp - 0x181], al
jmp 0x45fdc7
push dword [ebp - 0x1e0]
lea eax, [ebp - 0x138]
push edi
push eax
call fcn.0045e69d
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 0x45f9b1
mov esi, str.Loader_Add_In_can_not_be_extracted_from_the_executable.
push esi
call fcn.0048a0cd
pop ecx
mov ecx, dword [ebp - 0x1ac]
push eax
push esi
call fcn.00410170
jmp 0x4605a3
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 str.IsLockXLSRuntimePresent
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 0x45fa11
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 0x45fa66
push 0xb
pop eax
cmp ax, word [ebp - 0x100]
jne 0x45fa66
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 0x45fdb9
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 0x45fad8
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, 0x4e4018
push edi
call fcn.0048a0cd
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 0x45fb7f
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 0x45fd94
lea eax, [ebp - 0x199]
push eax
push 3
lea ecx, [ebp - 0x1c4]
call fcn.00452500
push str.SetupLockXLSRtmModule
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 0x45fbf8
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 0x45fc3e
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 0x45fc7d
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 0x45fd64
push str.Macro_can_not_be_executed._Please_make
mov byte [ebp - 0x181], bl
call fcn.0048a0cd
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], 0x4fae5c
call fcn.0048a0cd
pop ecx
push eax
push 0x4fae5c
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 0x45fc92
cmp esi, 0xa
jge 0x45fd7c
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 0x45fdb3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [ebp - 0x181]
mov dword [ebp - 0x1b0], ebx
test al, al
je 0x4605a3
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 0x45fe8a
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.0045e60d
cmp dword [ebp - 0xdc], 0
pop ecx
je 0x45fe7f
mov edi, dword [ebp - 0xe0]
mov esi, dword [edi]
mov dword [ebp - 0x18c], esi
jmp 0x45fe70
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.0045b7c0
cmp eax, dword [ebp - 0x1dc]
je 0x45fe51
mov ecx, dword [esi + 0x10]
cmp ecx, dword [eax + 0x10]
jae 0x45fe57
mov eax, dword [ebp - 0x1dc]
cmp dword [ebp - 0x1dc], eax
je 0x45fe76
lea ecx, [ebp - 0x18c]
call fcn.0045b0f0
mov esi, dword [ebp - 0x18c]
cmp edi, esi
jne 0x45fe32
jmp 0x45fe7f
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1b0], eax
lea ecx, [ebp - 0xe0]
call fcn.00459010
cmp dword [ebp - 0x1b0], 0
je 0x45fe9f
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 0x45ffb7
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 0x45ff3f
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 0x45ff20
mov eax, dword [eax]
push eax
push dword [ebp - 0x1d4]
call fcn.0048b15e
pop ecx
pop ecx
lea ecx, [ebp - 0x138]
mov esi, eax
call fcn.00410420
test esi, esi
je 0x45ff49
cmp edi, dword [ebp - 0xdc]
jl 0x45fee7
jmp 0x45ffb7
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 0x45ffa3
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 0x45ffb7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x190]
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x45ffcb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18c]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x45ffdf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 0x181], 0
je 0x4605a3
cmp byte [ebp - 0x191], 0
jne 0x4600ab
lea eax, [ebp - 0x199]
push eax
xor eax, eax
lea ecx, [ebp - 0x1c4]
inc eax
push eax
call fcn.00452500
push str.GetRtmModule
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 0x460042
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 0x46008f
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 0x46018f
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 0x460170
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 0x460170
xor eax, eax
inc eax
mov esi, eax
cmp dword [ebp - 0x18c], eax
jle 0x460170
push dword [edi + esi*4]
mov ecx, dword [ebp - 0xe4]
call fcn.00456be0
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x198]
push 0x4fd934
push eax
call fcn.00427370
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0x18c]
jl 0x46013e
lea ecx, [ebp - 0xe4]
call fcn.00427cd0
mov eax, dword [ebp - 0x198]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x46018f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp - 0x1ac]
cmp dword [edi + 0x10], ebx
jne 0x4605a3
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 0x4601ef
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 0x46026d
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 0x46024a
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 0x4602a7
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 0x4602a7
call fcn.00428f80
push 0x20
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0047f330
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 0x4602f9
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.0045e556
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 0x46046a
mov esi, dword [ebp + 0x18]
mov al, byte [esi + 0x424]
test al, al
jne 0x460367
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 0x460386
lea ecx, [ebp - 0x1a0]
call fcn.0044f3a0
test eax, eax
jne 0x460386
lea ecx, [ebp - 0x1a0]
call fcn.0044f240
jmp 0x460568
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 0x4603e7
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 0x46044d
push dword [ebp - 0x1d4]
lea eax, [ebp - 0x1a0]
push eax
call fcn.004609f5
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 0x460562
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 0x4604ff
push dword [ebp - 0x204]
lea ecx, [ebp - 0xdc]
call fcn.004290e0
mov eax, dword [eax]
mov byte [ebp - 4], 0x32
test eax, eax
je 0x4604db
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 0x460512
call fcn.00428f80
jmp 0x460512
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.0048a0cd
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 0x46057c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x190]
mov byte [ebp - 4], 0x29
test eax, eax
je 0x460590
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 0x4605b2
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 0x4605c8
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 0x4605f2
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 0x46061c
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 0x460651
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.0047cf55
ret