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

Disassembly:
push 0x200
mov eax, 0x4df054
call fcn.0047ce9e
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.004524f0
xor ecx, ecx
lea eax, [ebp - 0x168]
inc ecx
push eax
mov byte [ebp - 4], cl
call fcn.0045eb98
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 0x45f2b3
mov byte [ebp - 0x1e4], cl
jmp 0x45f2ef
lea eax, [ebp - 0x138]
push edi
push eax
call fcn.00460ba6
push eax
mov byte [ebp - 4], 3
call fcn.0042f2f0
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.0045a980
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 6
push eax
call fcn.0045e641
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 0x45f3f9
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 0x45f3f9
push dword [ebp - 0x1a8]
lea eax, [ebp - 0x188]
push eax
call fcn.0045e288
pop ecx
pop ecx
test al, al
jne 0x45f3f9
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 0x45f406
mov dword [ebp - 0x188], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebp - 0x188], 0
jne 0x45f575
push 4
push ebx
push esi
lea ecx, [ebp - 0x1b8]
call fcn.00452540
mov esi, eax
test esi, esi
js 0x45f479
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.00453040
add esp, 0x10
test eax, eax
jne 0x45f44d
mov esi, 0x80004005
jmp 0x45f479
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004555d0
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 0x45f575
cmp esi, 0x800401f3
je 0x45f4c4
cmp esi, 0x80040154
je 0x45f4c4
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.00489fcd
add esp, 0x10
push eax
lea eax, [ebp - 0xd8]
push eax
jmp 0x45f61f
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 0x45f4ef
push str.This_file_requires_Microsoft_Excel_2007_or_higher_to_be_installed_on_your_PC._n
jmp 0x45f4f4
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 0x4604cc
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 0x45f5ea
cmp dword [ebp - 0xf8], 0
je 0x45f5ea
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.004342a0
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.0045e288
pop ecx
pop ecx
test al, al
jne 0x45f62f
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.00489fcd
pop ecx
push eax
push esi
mov ecx, dword [ebp - 0x1ac]
call fcn.00410170
jmp 0x4604cc
xor eax, eax
lea ecx, [ebp - 0x1a0]
inc eax
mov byte [ebp - 0x192], al
lea eax, [ebp - 0x188]
push eax
call fcn.0044ecc0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0044f1c0
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.0044fcd0
lea ecx, [ebp - 0x18c]
mov esi, dword [eax]
call fcn.0044ff10
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xb
call fcn.00410420
test esi, esi
je 0x45f7ee
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.0044fcd0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xf
call fcn.00410420
cmp dword [ebp - 0x190], 0
je 0x45f7df
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x190]
call fcn.0044ff90
push eax
lea ecx, [ebp - 0x1a4]
call fcn.0045dfef
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x45f737
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x1a4], 0
je 0x45f7d9
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 0x45f7b0
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.0045dd73
add esp, 0x10
jmp 0x45f7df
mov byte [ebp - 0x191], bl
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xb
call fcn.0044ff10
push ebx
lea ecx, [ebp - 0x1a0]
call fcn.0044f3c0
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 0x460491
cmp byte [ebp - 0x191], 0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
je 0x45f84b
xor eax, eax
mov dword [ebp - 0x1b0], ebx
inc eax
mov byte [ebp - 0x181], al
jmp 0x45fcb5
push dword [ebp - 0x1e0]
lea eax, [ebp - 0x138]
push edi
push eax
call fcn.0045e6d1
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 0x45f89f
mov esi, str.Loader_Add_In_can_not_be_extracted_from_the_executable.
push esi
call fcn.00489fcd
pop ecx
mov ecx, dword [ebp - 0x1ac]
push eax
push esi
call fcn.00410170
jmp 0x460491
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.004524f0
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 0x45f8ff
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 0x45f954
push 0xb
pop eax
cmp ax, word [ebp - 0x100]
jne 0x45f954
lea ecx, [ebp - 0x100]
call fcn.0045dab3
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 0x45fca7
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 0x45f9c6
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.00489fcd
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 0x45fa6d
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 0x45fc82
lea eax, [ebp - 0x199]
push eax
push 3
lea ecx, [ebp - 0x1c4]
call fcn.004524f0
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 0x45fae6
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 0x45fb2c
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 0x45fb6b
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 0x45fc52
push str.Macro_can_not_be_executed._Please_make
mov byte [ebp - 0x181], bl
call fcn.00489fcd
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.00489fcd
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 0x45fb80
cmp esi, 0xa
jge 0x45fc6a
lea eax, [ebp - 0x188]
push eax
call fcn.0045db05
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 0x45fca1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [ebp - 0x181]
mov dword [ebp - 0x1b0], ebx
test al, al
je 0x460491
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 0x45fd78
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
call fcn.0045a980
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0x1e
push eax
call fcn.0045e641
cmp dword [ebp - 0xdc], 0
pop ecx
je 0x45fd6d
mov edi, dword [ebp - 0xe0]
mov esi, dword [edi]
mov dword [ebp - 0x18c], esi
jmp 0x45fd5e
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.0045b7b0
cmp eax, dword [ebp - 0x1dc]
je 0x45fd3f
mov ecx, dword [esi + 0x10]
cmp ecx, dword [eax + 0x10]
jae 0x45fd45
mov eax, dword [ebp - 0x1dc]
cmp dword [ebp - 0x1dc], eax
je 0x45fd64
lea ecx, [ebp - 0x18c]
call fcn.0045b0e0
mov esi, dword [ebp - 0x18c]
cmp edi, esi
jne 0x45fd20
jmp 0x45fd6d
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1b0], eax
lea ecx, [ebp - 0xe0]
call fcn.00459000
cmp dword [ebp - 0x1b0], 0
je 0x45fd8d
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.004529c0
add esp, 0x14
mov dword [ebp - 0xdc], eax
test eax, eax
jle 0x45fea5
lea eax, [ebp - 0x18c]
inc edi
push eax
lea eax, [ebp - 0x190]
push edi
push eax
call fcn.004529f0
add esp, 0xc
test eax, eax
je 0x45fe2d
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00455640
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x45fe0e
mov eax, dword [eax]
push eax
push dword [ebp - 0x1d4]
call fcn.0048b05e
pop ecx
pop ecx
lea ecx, [ebp - 0x138]
mov esi, eax
call fcn.00410420
test esi, esi
je 0x45fe37
cmp edi, dword [ebp - 0xdc]
jl 0x45fdd5
jmp 0x45fea5
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 0x45fe91
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 0x45fea5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x190]
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x45feb9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18c]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x45fecd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 0x181], 0
je 0x460491
cmp byte [ebp - 0x191], 0
jne 0x45ff99
lea eax, [ebp - 0x199]
push eax
xor eax, eax
lea ecx, [ebp - 0x1c4]
inc eax
push eax
call fcn.004524f0
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 0x45ff30
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 0x45ff7d
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 0x46007d
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 0x46005e
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 0x46005e
xor eax, eax
inc eax
mov esi, eax
cmp dword [ebp - 0x18c], eax
jle 0x46005e
push dword [edi + esi*4]
mov ecx, dword [ebp - 0xe4]
call fcn.00456bd0
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 0x46002c
lea ecx, [ebp - 0xe4]
call fcn.00427cd0
mov eax, dword [ebp - 0x198]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x46007d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp - 0x1ac]
cmp dword [edi + 0x10], ebx
jne 0x460491
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.0044fcd0
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0x29
call fcn.00410420
cmp dword [ebp - 0x198], 0
je 0x4600dd
push ebx
lea ecx, [ebp - 0x198]
call fcn.004500a0
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 0x46015b
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 0x460138
call fcn.00428f80
mov ecx, dword [ebp - 0x1d0]
xor eax, eax
inc eax
push eax
lea ecx, [ecx + 0x10]
call fcn.00452890
mov ecx, dword [ebp - 0x1d0]
xor eax, eax
inc eax
push eax
call fcn.00452890
jmp 0x460195
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 0x460195
call fcn.00428f80
push 0x20
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0047f230
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 0x4601e7
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.0045e58a
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 0x460358
mov esi, dword [ebp + 0x18]
mov al, byte [esi + 0x424]
test al, al
jne 0x460255
xor eax, eax
lea ecx, [ebp - 0x1a0]
inc eax
push eax
call fcn.0044f3c0
mov al, byte [esi + 0x424]
mov byte [ebp - 0x192], bl
test al, al
je 0x460274
lea ecx, [ebp - 0x1a0]
call fcn.0044f390
test eax, eax
jne 0x460274
lea ecx, [ebp - 0x1a0]
call fcn.0044f230
jmp 0x460456
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.004524f0
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 0x4602d5
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 0x46033b
push dword [ebp - 0x1d4]
lea eax, [ebp - 0x1a0]
push eax
call fcn.004608e3
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 0x460450
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 0x4603ed
push dword [ebp - 0x204]
lea ecx, [ebp - 0xdc]
call fcn.004290e0
mov eax, dword [eax]
mov byte [ebp - 4], 0x32
test eax, eax
je 0x4603c9
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 0x460400
call fcn.00428f80
jmp 0x460400
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.00489fcd
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 0x46046a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x190]
mov byte [ebp - 4], 0x29
test eax, eax
je 0x46047e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x11
call fcn.0044ff10
test bl, bl
je 0x4604a0
xor eax, eax
lea ecx, [ebp - 0x1a0]
inc eax
push eax
call fcn.0044f3c0
push 0xb
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x1b4]
test eax, eax
je 0x4604b6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x1a8]
call fcn.0044fbb0
lea ecx, [ebp - 0x1a0]
call fcn.0044ece0
mov eax, dword [ebp - 0x1b8]
mov byte [ebp - 4], 7
test eax, eax
je 0x4604e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x180]
call fcn.00410420
lea ecx, [ebp - 0x1dc]
call fcn.00459000
mov eax, dword [ebp - 0x188]
mov byte [ebp - 4], 4
test eax, eax
je 0x46050a
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 0x46053f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.0047ce48
ret