Function at 0x40ed62
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1ac]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1bc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c0]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1d0]
push ebx
push esi
mov esi, dword [ebp + 0x1c8]
push edi
mov dword [ebp - 0x4c], eax
xor eax, eax
mov word [ebp - 0x6c], ax
lea edi, [ebp - 0x6a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ebx, ebx
push 0x34
stosw word es:[edi], ax
lea eax, [ebp - 0x34]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ebx
call fcn.00452e00
push 0x103
lea eax, [ebp + 0x11]
push ebx
push eax
mov byte [ebp + 0x10], bl
call fcn.00452e00
push 0x3f
lea eax, [ebp + 0x115]
push ebx
push eax
mov byte [ebp + 0x114], bl
call fcn.00452e00
push 0x3f
lea eax, [ebp + 0x155]
push ebx
push eax
mov byte [ebp + 0x154], bl
call fcn.00452e00
or dword [ebp - 0x58], 0xffffffff
add esp, 0x30
cmp dword [ebp - 0x5c], ebx
je 0x40ee30
mov eax, dword [ebp - 0x5c]
cmp byte [eax], bl
jne 0x40ee54
cmp dword [ebp + 0x1d4], ebx
jge 0x40ee5c
mov eax, dword [0x481960]
cmp eax, ebx
je 0x40ee4d
push str.Excel_Error:_No_workbook_name_provided
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
jmp 0x410356
cmp dword [ebp + 0x1d4], ebx
jl 0x40ee6e
cmp dword [ebp + 0x1d4], 8
jge 0x40ee6e
mov eax, dword [ebp + 0x1d4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], ebx
cmp dword [0x4833ac], ebx
je 0x40eef5
mov dword [ebp - 0x48], 0x4833b0
cmp dword [ebp - 0x58], 0xffffffff
jne 0x40eef5
cmp dword [ebp - 0x48], 0x483bd0
jge 0x40ef00
mov eax, dword [ebp - 0x48]
cmp byte [eax], bl
je 0x40eedb
cmp eax, ebx
je 0x40eed4
cmp dword [ebp - 0x5c], ebx
je 0x40eed4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp - 0x5c]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp edi, eax
jle 0x40eeba
push dword [ebp - 0x48]
jmp 0x40eebd
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x48]
call fcn.00452ccd
add esp, 0xc
jmp 0x40eed7
xor eax, eax
inc eax
cmp eax, ebx
je 0x40eeef
inc dword [ebp - 0x3c]
add dword [ebp - 0x48], 0x104
cmp dword [0x4833ac], ebx
jne 0x40ee80
jmp 0x40ef00
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], ebx
jl 0x40ef00
cmp dword [ebp - 0x58], 8
jl 0x40ef20
cmp dword [ebp + 0x1a0], 1
je 0x40ef20
mov eax, dword [0x481960]
cmp eax, ebx
je 0x40ee4d
push str.Excel_Error:_Workbook_not_opened
jmp 0x40ee46
cmp dword [0x4833ac], ebx
jne 0x40efb4
mov eax, 0x4833b0
mov byte [eax], bl
add eax, 0x104
cmp eax, 0x483bd0
jl 0x40ef31
or dword [ebp - 0x58], 0xffffffff
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
lea eax, [ebp]
push eax
push str.Excel.Application
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
jns 0x40ef74
mov eax, dword [0x481960]
cmp eax, ebx
je 0x40ee4d
push str.Excel_Error:_Automation_initialization_error
jmp 0x40ee46
push 0x4833ac
push 0x4664e0
push 4
push ebx
lea eax, [ebp]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40ef97
cmp dword [0x4833ac], ebx
jne 0x40efb4
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x481960]
cmp eax, ebx
je 0x40ee4d
push str.Excel_Error:_Server_error
jmp 0x40ee46
push 2
pop edi
cmp dword [ebp + 0x1a0], edi
jne 0x40efc5
cmp esi, ebx
je 0x40eff6
mov byte [esi], bl
cmp dword [ebp + 0x1a0], 1
jne 0x40eff6
test byte [ebp + 0x1a8], 2
jne 0x40eff6
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push 1
push 3
push 0x4672f0
push 4
push dword [0x4833ac]
call fcn.0040cfd7
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Workbooks
push edi
push dword [0x4833ac]
call fcn.0040cfd7
mov dword [ebp - 0x70], eax
cmp eax, ebx
jne 0x40f030
mov eax, dword [0x481960]
cmp eax, ebx
je 0x40ee4d
push str.Excel_Error:_Workbooks_collection_error
jmp 0x40ee46
cmp dword [ebp + 0x1a0], 1
jne 0x40f0ee
push dword [ebp - 0x5c]
call fcn.00410370
fldz
push ebx
test eax, eax
jne 0x40f05c
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x4672ac
push edi
jmp 0x40f06e
push dword [ebp - 0x5c]
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push 0x4672a0
push 3
push dword [ebp - 0x70]
call fcn.0040cfd7
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x58], ebx
jl 0x40f084
cmp dword [ebp - 0x58], 8
jl 0x40f100
mov dword [ebp - 0x3c], ebx
mov eax, 0x4833b0
cmp byte [eax], bl
je 0x40f0a1
inc dword [ebp - 0x3c]
add eax, 0x104
cmp eax, 0x483bd0
jl 0x40f08c
jmp 0x40f100
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cmp eax, 0x103
jle 0x40f0b9
mov eax, 0x103
jmp 0x40f0c3
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [ebp - 0x3c]
push dword [ebp - 0x5c]
imul eax, eax, 0x104
add eax, 0x4833b0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
mov dword [eax*4 + 0x483bd0], ecx
mov dword [ebp - 0x58], eax
jmp 0x40f100
mov eax, dword [ebp - 0x58]
cmp eax, 7
ja 0x40f105
mov eax, dword [eax*4 + 0x483bd0]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], ebx
jne 0x40f125
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x481960]
cmp eax, ebx
je 0x40ee4d
push str.Excel_Error:_Workbook_error
jmp 0x40ee46
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Activate
push 3
push dword [ebp - 0x48]
call fcn.0040cfd7
cmp dword [ebp + 0x1a0], 4
je 0x4101e5
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x40f157
cmp byte [eax], bl
jne 0x40f164
cmp dword [ebp + 0x1a0], 5
jne 0x4101e5
cmp eax, ebx
je 0x40f177
push 0x466504
push eax
call fcn.004526d0
pop ecx
pop ecx
jmp 0x40f179
xor eax, eax
cmp eax, ebx
je 0x40f220
push ebx
push 1
push 0x3f
lea eax, [ebp + 0x114]
push eax
push ebx
push 0x466504
push dword [ebp - 0x54]
call fcn.0044cdae
push ebx
push 1
push 0x3f
lea eax, [ebp + 0x154]
push eax
push 1
push 0x466504
push dword [ebp - 0x54]
call fcn.0044cdae
fldz
push ebx
lea eax, [ebp + 0x114]
push eax
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.Worksheets
push edi
push dword [ebp - 0x48]
call fcn.0040cfd7
mov dword [ebp - 0x7c], eax
cmp eax, ebx
jne 0x40f1fd
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x481960]
cmp eax, ebx
je 0x40ee4d
push str.Excel_Error:_Worksheets_collection_error
jmp 0x40ee46
fldz
push ebx
lea eax, [ebp + 0x114]
push eax
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.Activate
push 4
push dword [ebp - 0x7c]
call fcn.0040cfd7
jmp 0x40f230
push dword [ebp - 0x54]
lea eax, [ebp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.ActiveSheet
push edi
push dword [0x4833ac]
call fcn.0040cfd7
mov dword [ebp - 0x54], eax
cmp eax, ebx
jne 0x40f273
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x481960]
cmp eax, ebx
je 0x40ee4d
push str.Excel_Error:_Sheet_error
jmp 0x40ee46
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Activate
push 1
push dword [ebp - 0x54]
call fcn.0040cfd7
fldz
push ebx
lea eax, [ebp + 0x154]
push eax
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.Range
push edi
push dword [ebp - 0x54]
call fcn.0040cfd7
mov dword [ebp - 0x3c], eax
cmp eax, ebx
je 0x40f2d5
fldz
push ebx
lea eax, [ebp + 0x154]
push eax
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.Select
push 4
push dword [ebp - 0x3c]
call fcn.0040cfd7
test byte [ebp + 0x1a8], 4
jne 0x4101c2
cmp dword [ebp + 0x1a0], 5
jne 0x40ffe4
test byte [ebp + 0x1a8], 0x10
je 0x40f7b2
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x40f7b2
cmp byte [eax], bl
je 0x40f7b2
mov esi, eax
push str.Format
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x40f347
fldz
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x50]
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.NumberFormat
push 4
push dword [ebp - 0x3c]
call fcn.0040cfd7
jmp 0x4101c2
push str.Bold
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x40f39b
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x50]
call fcn.00452e90
pop ecx
push eax
push 3
push 0x467198
push 4
push dword [ebp - 0x40]
jmp 0x4101a3
push str.Italic
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x40f3e7
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x50]
call fcn.00452e90
pop ecx
push eax
push 3
push 0x467180
jmp 0x40f391
push str.Underline
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x40f444
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x50]
call fcn.00452e90
neg eax
sbb eax, eax
pop ecx
and eax, 0x1030
add eax, 0xffffefd2
push eax
push 3
push 0x467160
jmp 0x40f391
push str.Font_Name
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x40f48f
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
lea ecx, [ebp - 0x6c]
push ecx
push dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push 0x467148
push 4
push eax
jmp 0x4101a3
push str.Font_Size
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x40f4de
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x50]
call fcn.00452e90
pop ecx
push eax
push 3
push 0x467130
jmp 0x40f391
push str.Font_Color
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x40f52c
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
push dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
call fcn.00449a4a
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push eax
push 3
push str.Color
jmp 0x40f391
push str.Background
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x40f54f
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Interior
jmp 0x40f4ff
push str.Border
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x40f61f
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x40f57a
push str.none
push esi
call fcn.004526d0
pop ecx
pop ecx
jmp 0x40f57c
xor eax, eax
cmp eax, ebx
je 0x40f584
xor esi, esi
jmp 0x40f5c5
cmp esi, ebx
je 0x40f597
push str.thin
push esi
call fcn.004526d0
pop ecx
pop ecx
jmp 0x40f599
xor eax, eax
cmp eax, ebx
je 0x40f5a1
mov esi, edi
jmp 0x40f5c5
cmp esi, ebx
je 0x40f5b4
push str.thick
push esi
call fcn.004526d0
pop ecx
pop ecx
jmp 0x40f5b6
xor eax, eax
neg eax
sbb eax, eax
and eax, 0x102e
lea esi, [eax - 0x102a]
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Borders
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x6c]
push eax
push ebx
xor eax, eax
push ecx
cmp esi, ebx
push ecx
setne al
fstp qword [esp]
push eax
push 3
push str.lineStyle
push 4
push dword [ebp - 0x40]
call fcn.0040cfd7
fldz
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push esi
push 3
push str.Weight
jmp 0x40f391
push str.Horiz
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x40f6ab
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x40f646
push str.center_across_selection
push esi
call fcn.004526d0
pop ecx
pop ecx
jmp 0x40f648
xor eax, eax
cmp eax, ebx
je 0x40f651
push 7
pop eax
jmp 0x40f692
cmp esi, ebx
je 0x40f664
push str.center
push esi
call fcn.004526d0
pop ecx
pop ecx
jmp 0x40f666
xor eax, eax
cmp eax, ebx
je 0x40f671
mov eax, 0xffffeff4
jmp 0x40f692
cmp esi, ebx
je 0x40f684
push str.right
push esi
call fcn.004526d0
pop ecx
pop ecx
jmp 0x40f686
xor eax, eax
neg eax
sbb eax, eax
and eax, 0xffffffeb
add eax, 0xffffefdd
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push eax
push 3
push str.HorizontalAlignment
jmp 0x40f338
push str.Vert
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x40f71a
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x40f6d2
push 0x467040
push esi
call fcn.004526d0
pop ecx
pop ecx
jmp 0x40f6d4
xor eax, eax
cmp eax, ebx
je 0x40f6df
mov eax, 0xffffefc0
jmp 0x40f701
cmp esi, ebx
je 0x40f6f2
push str.bottom
push esi
call fcn.004526d0
pop ecx
pop ecx
jmp 0x40f6f4
xor eax, eax
xor ecx, ecx
cmp eax, ebx
setne cl
lea eax, [ecx - 0x100c]
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push eax
push 3
push str.VerticalAlignment
jmp 0x40f338
push str.Width
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x40f767
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push dword [ebp - 0x50]
call fcn.00454966
fidiv dword [ebp - 0x24]
pop ecx
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fldz
fstp qword [esp]
call fcn.00454810
push eax
push 3
push str.ColumnWidth
jmp 0x40f338
push str.Height
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x4101c2
push dword [ebp - 0x50]
call fcn.00452e90
imul eax, eax, 0x48
pop ecx
push 0x60
pop ecx
cdq
idiv ecx
mov dword [ebp - 0x50], eax
fild dword [ebp - 0x50]
lea eax, [ebp - 0x6c]
fldz
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
call fcn.00454810
push eax
push 3
push str.RowHeight
jmp 0x41019e
test byte [ebp + 0x1a8], 8
je 0x4101c2
cmp dword [ebp - 0x44], ebx
je 0x4101c2
mov eax, dword [ebp - 0x44]
cmp byte [eax], bl
je 0x4101c2
push str.Data_Format
push eax
mov byte [esi], bl
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40f836
fldz
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.NumberFormat
push 3
push dword [ebp - 0x3c]
call fcn.0040cfd7
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.0040cc85
fstp st(0)
push str.General
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40ffc2
push 0x466abc
jmp 0x40fd42
push str.Bold
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40f8af
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x467198
push edi
push eax
mov dword [ebp - 0x40], eax
call fcn.0040cfd7
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.0040cc85
fstp st(0)
push esi
call fcn.00452e90
test eax, eax
pop ecx
mov eax, 0x466c54
je 0x40f8a9
mov eax, 0x466534
push eax
jmp 0x40fd42
push str.Italic
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40f8f0
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x467180
jmp 0x40f875
push str.Underline
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40f95e
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x467160
push edi
push eax
mov dword [ebp - 0x40], eax
call fcn.0040cfd7
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.0040cc85
fstp st(0)
push esi
call fcn.00452e90
cmp eax, 0xffffefd2
jmp 0x40f89c
push str.Font_Name
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40f9ad
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x467148
push 3
push eax
mov dword [ebp - 0x40], eax
call fcn.0040cfd7
jmp 0x40ffc2
push str.Font_Size
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40f9ee
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x467130
jmp 0x40f99d
push str.Font_Color
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40fa61
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Color
push 3
push eax
mov dword [ebp - 0x40], eax
call fcn.0040cfd7
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.0040cc85
fstp st(0)
push ebx
push esi
push esi
call fcn.00452e90
pop ecx
push eax
call fcn.004498c9
jmp 0x40ffc2
push str.Background
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40fa86
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Interior
jmp 0x40fa11
push str.Border_Weight
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40fb34
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Borders
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Weight
push 3
push eax
mov dword [ebp - 0x40], eax
call fcn.0040cfd7
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.0040cc85
fstp st(0)
push esi
call fcn.00452e90
pop ecx
cmp eax, 4
jne 0x40fb01
push str.thick
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.00452e90
pop ecx
cmp eax, edi
jne 0x40fb18
push str.thin
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.00452e90
pop ecx
cmp eax, 0xffffefd6
jne 0x40ffc2
push str.medium
jmp 0x40fd42
push str.Border_Line_Style
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40fc3d
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Borders
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.lineStyle
push 3
push eax
mov dword [ebp - 0x40], eax
call fcn.0040cfd7
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.0040cc85
fstp st(0)
push esi
call fcn.00452e90
pop ecx
cmp eax, 1
jne 0x40fbad
push str.solid
jmp 0x40fd42
push esi
call fcn.00452e90
pop ecx
cmp eax, 0xffffefed
jne 0x40fbc5
push str.dash
jmp 0x40fd42
push esi
call fcn.00452e90
pop ecx
cmp eax, 4
jne 0x40fbdb
push str.dash_dot
jmp 0x40fd42
push esi
call fcn.00452e90
pop ecx
cmp eax, 5
jne 0x40fbf1
push str.dash_dot_dot
jmp 0x40fd42
push esi
call fcn.00452e90
pop ecx
cmp eax, 0xffffefea
jne 0x40fc09
push 0x466f7c
jmp 0x40fd42
push esi
call fcn.00452e90
pop ecx
cmp eax, 0xffffefe9
jne 0x40fc21
push str.double
jmp 0x40fd42
push esi
call fcn.00452e90
pop ecx
cmp eax, 0xffffefd2
jne 0x40ffc2
push str.none
jmp 0x40fd42
push str.Horizontal_Align
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40fce7
fldz
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.HorizontalAlignment
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.0040cc85
fstp st(0)
push esi
call fcn.00452e90
pop ecx
cmp eax, 0xffffeff4
je 0x40fd5c
push esi
call fcn.00452e90
pop ecx
cmp eax, 7
jne 0x40fcad
push str.center_across_selection
jmp 0x40fd42
push esi
call fcn.00452e90
pop ecx
cmp eax, 0xffffefdd
je 0x40fce0
push esi
call fcn.00452e90
pop ecx
cmp eax, 1
je 0x40fce0
push esi
call fcn.00452e90
pop ecx
cmp eax, 0xffffefc8
jne 0x40ffc2
push str.right
jmp 0x40fd42
push str.left
jmp 0x40fd42
push str.Vertical_Align
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40fda6
fldz
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.VerticalAlignment
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.0040cc85
fstp st(0)
push esi
call fcn.00452e90
pop ecx
cmp eax, 0xffffeff5
jne 0x40fd4e
push str.bottom
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40ffc2
push esi
call fcn.00452e90
pop ecx
cmp eax, 0xffffeff4
jne 0x40fd63
push str.center
jmp 0x40fd42
push esi
call fcn.00452e90
pop ecx
cmp eax, 0xffffefeb
jne 0x40fd78
push str.distributed
jmp 0x40fd42
push esi
call fcn.00452e90
pop ecx
cmp eax, 0xffffefde
jne 0x40fd8d
push str.justify
jmp 0x40fd42
push esi
call fcn.00452e90
pop ecx
cmp eax, 0xffffefc0
jne 0x40ffc2
push 0x467040
jmp 0x40fd42
push str.Width
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40fe20
fldz
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.ColumnWidth
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.0040cc85
fstp st(0)
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
fild dword [ebp - 0x24]
push esi
fstp qword [ebp - 0x78]
call fcn.00454966
fld qword [ebp - 0x78]
fmul qword [0x466378]
fadd qword [ebp - 0x78]
fmulp st(1)
call fcn.00454810
jmp 0x40ffb2
push 0x466f28
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40fe78
fldz
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.RowHeight
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.0040cc85
fstp st(0)
push esi
call fcn.00454966
fmul qword [0x466f20]
fdiv qword [0x4669d0]
jmp 0x40fe16
push str.Total_Rows
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40fef5
cmp dword [ebp - 0x3c], ebx
je 0x40fe99
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.UsedRange
push edi
push dword [ebp - 0x54]
call fcn.0040cfd7
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x154]
cmp byte [ebp + 0x154], bl
jne 0x40fec8
mov eax, 0x466ef8
fldz
push ebx
push eax
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.Select
push 4
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Rows
jmp 0x40ff74
push str.Total_Columns
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40ffc2
cmp dword [ebp - 0x3c], ebx
je 0x40ff1a
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.UsedRange
push edi
push dword [ebp - 0x54]
call fcn.0040cfd7
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x154]
cmp byte [ebp + 0x154], bl
jne 0x40ff49
mov eax, 0x466ef8
fldz
push ebx
push eax
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.Select
push 4
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Columns
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x466ec0
push edi
push eax
call fcn.0040cfd7
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.0040cc85
fstp st(0)
push esi
call fcn.00452e90
push eax
push 0x464bf8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp byte [esi], bl
jne 0x4101a8
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.0040cc85
fstp st(0)
jmp 0x4101a8
cmp dword [ebp + 0x1a0], edi
jne 0x410023
fldz
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x466eb4
push 3
push dword [ebp - 0x3c]
call fcn.0040cfd7
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.0040cc85
fstp st(0)
jmp 0x4101c2
cmp dword [ebp + 0x1a0], 3
jne 0x4101c2
mov esi, dword [ebp - 0x74]
cmp esi, ebx
je 0x410092
cmp byte [esi], bl
je 0x410092
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 0x10
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, eax
cmp esi, ebx
je 0x41006a
push esi
push edi
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp esi, ebx
je 0x4101c2
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Paste
push 3
push dword [ebp - 0x54]
jmp 0x40f33d
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x4100f3
cmp byte [esi], bl
je 0x4100f3
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
cmp eax, 0xc
jg 0x4100e5
push str.0123456789__.
push esi
call fcn.00454a80
pop ecx
pop ecx
push esi
mov dword [ebp - 0x74], eax
call edi
mov ecx, dword [ebp - 0x74]
cmp ecx, eax
jb 0x4100e5
push ebx
push ebx
push esi
call fcn.0040bc35
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
push ecx
push ecx
fstp qword [esp]
push ebx
push 7
push 0x466eb4
jmp 0x40f338
fldz
push ebx
push esi
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
jmp 0x4100db
mov ecx, dword [ebp - 0x44]
cmp ecx, ebx
je 0x410155
mov al, byte [ecx]
cmp al, 0x3d
jne 0x410116
fldz
push ebx
push ecx
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.Formula
jmp 0x40f338
cmp al, 0x20
jne 0x410155
cmp byte [ecx + 1], bl
jne 0x410155
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Cells
push edi
push dword [ebp - 0x3c]
call fcn.0040cfd7
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.ClearContents
push edi
push dword [ebp - 0x3c]
mov esi, eax
call fcn.0040cfd7
jmp 0x4101b8
fld qword [ebp + 0x1b4]
push ebx
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x410181
push ebx
fstp st(0)
fld qword [ebp + 0x1b4]
push ecx
push ecx
fstp qword [esp]
push ebx
push 5
jmp 0x4100db
cmp ecx, ebx
je 0x41018b
push ecx
jmp 0x4100e9
push ebx
push ecx
push ecx
fstp qword [esp]
push dword [ebp + 0x1b0]
push 3
push 0x466eb4
push 4
push dword [ebp - 0x3c]
call fcn.0040cfd7
cmp dword [ebp - 0x40], ebx
je 0x4101c2
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, ebx
cmp esi, ebx
je 0x4101c2
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x4101cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x4101e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test byte [ebp + 0x1a8], 1
je 0x410256
mov esi, dword [ebp - 0x5c]
push esi
call fcn.00410370
test eax, eax
jne 0x41023c
cmp esi, ebx
je 0x41020e
push 0x4648e0
push esi
call fcn.004526d0
pop ecx
pop ecx
jmp 0x410210
xor eax, eax
cmp eax, ebx
je 0x410229
push 3
lea eax, [ebp + 0x10]
push eax
push esi
call fcn.00411eca
lea eax, [ebp + 0x10]
push eax
call fcn.004112bf
fldz
push ebx
push esi
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.SaveAs
jmp 0x41024c
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x466e44
push 1
push dword [ebp - 0x48]
call fcn.0040cfd7
cmp dword [ebp + 0x1a0], 4
jne 0x410349
fldz
mov esi, dword [ebp - 0x48]
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push 1
push 3
push str.Saved
push 4
push esi
call fcn.0040cfd7
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Close
push 1
push esi
call fcn.0040cfd7
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x58]
cmp eax, 7
ja 0x4102b9
mov dword [eax*4 + 0x483bd0], ebx
imul eax, eax, 0x104
mov byte [eax + 0x4833b0], bl
fldz
mov esi, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x466ec0
push 3
push esi
call fcn.0040cfd7
push ebx
push 0xff
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040cc85
call fcn.00454810
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp edi, 1
jge 0x410352
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Quit
push 1
push dword [0x4833ac]
call fcn.0040cfd7
mov eax, dword [0x4833ac]
cmp eax, ebx
je 0x410328
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x4833ac], ebx
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, 0x4833b0
mov byte [eax], bl
add eax, 0x104
cmp eax, 0x483bd0
jl 0x410339
jmp 0x410352
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x58]
inc eax
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452dee
add ebp, 0x198
leave
ret 0x38