Function at 0x40ba01
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4755d0]
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.00448090
push 0x103
lea eax, [ebp + 0x11]
push ebx
push eax
mov byte [ebp + 0x10], bl
call fcn.00448090
push 0x3f
lea eax, [ebp + 0x115]
push ebx
push eax
mov byte [ebp + 0x114], bl
call fcn.00448090
push 0x3f
lea eax, [ebp + 0x155]
push ebx
push eax
mov byte [ebp + 0x154], bl
call fcn.00448090
or dword [ebp - 0x58], 0xffffffff
add esp, 0x30
cmp dword [ebp - 0x5c], ebx
je 0x40bacf
mov eax, dword [ebp - 0x5c]
cmp byte [eax], bl
jne 0x40baf3
cmp dword [ebp + 0x1d4], ebx
jge 0x40bafb
mov eax, dword [0x478a40]
cmp eax, ebx
je 0x40baec
push str.Excel_Error:_No_workbook_name_provided
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
jmp 0x40cff5
cmp dword [ebp + 0x1d4], ebx
jl 0x40bb0d
cmp dword [ebp + 0x1d4], 8
jge 0x40bb0d
mov eax, dword [ebp + 0x1d4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], ebx
cmp dword [0x47a3ec], ebx
je 0x40bb94
mov dword [ebp - 0x48], 0x47a3f0
cmp dword [ebp - 0x58], 0xffffffff
jne 0x40bb94
cmp dword [ebp - 0x48], 0x47ac10
jge 0x40bb9f
mov eax, dword [ebp - 0x48]
cmp byte [eax], bl
je 0x40bb7a
cmp eax, ebx
je 0x40bb73
cmp dword [ebp - 0x5c], ebx
je 0x40bb73
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 0x40bb59
push dword [ebp - 0x48]
jmp 0x40bb5c
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x48]
call fcn.0044802d
add esp, 0xc
jmp 0x40bb76
xor eax, eax
inc eax
cmp eax, ebx
je 0x40bb8e
inc dword [ebp - 0x3c]
add dword [ebp - 0x48], 0x104
cmp dword [0x47a3ec], ebx
jne 0x40bb1f
jmp 0x40bb9f
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], ebx
jl 0x40bb9f
cmp dword [ebp - 0x58], 8
jl 0x40bbbf
cmp dword [ebp + 0x1a0], 1
je 0x40bbbf
mov eax, dword [0x478a40]
cmp eax, ebx
je 0x40baec
push str.Excel_Error:_Workbook_not_opened
jmp 0x40bae5
cmp dword [0x47a3ec], ebx
jne 0x40bc53
mov eax, 0x47a3f0
mov byte [eax], bl
add eax, 0x104
cmp eax, 0x47ac10
jl 0x40bbd0
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 0x40bc13
mov eax, dword [0x478a40]
cmp eax, ebx
je 0x40baec
push str.Excel_Error:_Automation_initialization_error
jmp 0x40bae5
push 0x47a3ec
push 0x45e130
push 4
push ebx
lea eax, [ebp]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40bc36
cmp dword [0x47a3ec], ebx
jne 0x40bc53
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x478a40]
cmp eax, ebx
je 0x40baec
push str.Excel_Error:_Server_error
jmp 0x40bae5
push 2
pop edi
cmp dword [ebp + 0x1a0], edi
jne 0x40bc64
cmp esi, ebx
je 0x40bc95
mov byte [esi], bl
cmp dword [ebp + 0x1a0], 1
jne 0x40bc95
test byte [ebp + 0x1a8], 2
jne 0x40bc95
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push 1
push 3
push 0x45ef5c
push 4
push dword [0x47a3ec]
call fcn.00409c76
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Workbooks
push edi
push dword [0x47a3ec]
call fcn.00409c76
mov dword [ebp - 0x70], eax
cmp eax, ebx
jne 0x40bccf
mov eax, dword [0x478a40]
cmp eax, ebx
je 0x40baec
push str.Excel_Error:_Workbooks_collection_error
jmp 0x40bae5
cmp dword [ebp + 0x1a0], 1
jne 0x40bd8d
push dword [ebp - 0x5c]
call fcn.0040d00f
fldz
push ebx
test eax, eax
jne 0x40bcfb
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45ef18
push edi
jmp 0x40bd0d
push dword [ebp - 0x5c]
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push 0x45ef0c
push 3
push dword [ebp - 0x70]
call fcn.00409c76
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x58], ebx
jl 0x40bd23
cmp dword [ebp - 0x58], 8
jl 0x40bd9f
mov dword [ebp - 0x3c], ebx
mov eax, 0x47a3f0
cmp byte [eax], bl
je 0x40bd40
inc dword [ebp - 0x3c]
add eax, 0x104
cmp eax, 0x47ac10
jl 0x40bd2b
jmp 0x40bd9f
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cmp eax, 0x103
jle 0x40bd58
mov eax, 0x103
jmp 0x40bd62
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, 0x47a3f0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
mov dword [eax*4 + 0x47ac10], ecx
mov dword [ebp - 0x58], eax
jmp 0x40bd9f
mov eax, dword [ebp - 0x58]
cmp eax, 7
ja 0x40bda4
mov eax, dword [eax*4 + 0x47ac10]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], ebx
jne 0x40bdc4
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x478a40]
cmp eax, ebx
je 0x40baec
push str.Excel_Error:_Workbook_error
jmp 0x40bae5
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.00409c76
cmp dword [ebp + 0x1a0], 4
je 0x40ce84
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x40bdf6
cmp byte [eax], bl
jne 0x40be03
cmp dword [ebp + 0x1a0], 5
jne 0x40ce84
cmp eax, ebx
je 0x40be16
push 0x45e154
push eax
call fcn.00447a30
pop ecx
pop ecx
jmp 0x40be18
xor eax, eax
cmp eax, ebx
je 0x40bebf
push ebx
push 1
push 0x3f
lea eax, [ebp + 0x114]
push eax
push ebx
push 0x45e154
push dword [ebp - 0x54]
call fcn.00444fa4
push ebx
push 1
push 0x3f
lea eax, [ebp + 0x154]
push eax
push 1
push 0x45e154
push dword [ebp - 0x54]
call fcn.00444fa4
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.00409c76
mov dword [ebp - 0x7c], eax
cmp eax, ebx
jne 0x40be9c
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x478a40]
cmp eax, ebx
je 0x40baec
push str.Excel_Error:_Worksheets_collection_error
jmp 0x40bae5
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.00409c76
jmp 0x40becf
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 [0x47a3ec]
call fcn.00409c76
mov dword [ebp - 0x54], eax
cmp eax, ebx
jne 0x40bf12
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x478a40]
cmp eax, ebx
je 0x40baec
push str.Excel_Error:_Sheet_error
jmp 0x40bae5
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.00409c76
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.00409c76
mov dword [ebp - 0x3c], eax
cmp eax, ebx
je 0x40bf74
fldz
push ebx
lea eax, [ebp + 0x154]
push eax
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push 0x45ee48
push 4
push dword [ebp - 0x3c]
call fcn.00409c76
test byte [ebp + 0x1a8], 4
jne 0x40ce61
cmp dword [ebp + 0x1a0], 5
jne 0x40cc83
test byte [ebp + 0x1a8], 0x10
je 0x40c451
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x40c451
cmp byte [eax], bl
je 0x40c451
mov esi, eax
push str.Format
push esi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x40bfe6
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.00409c76
jmp 0x40ce61
push str.Bold
push esi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x40c03a
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.00409c76
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.00448120
pop ecx
push eax
push 3
push 0x45ee04
push 4
push dword [ebp - 0x40]
jmp 0x40ce42
push str.Italic
push esi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x40c086
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.00409c76
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.00448120
pop ecx
push eax
push 3
push 0x45edec
jmp 0x40c030
push str.Underline
push esi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x40c0e3
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.00409c76
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.00448120
neg eax
sbb eax, eax
pop ecx
and eax, 0x1030
add eax, 0xffffefd2
push eax
push 3
push 0x45edcc
jmp 0x40c030
push str.Font_Name
push esi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x40c12e
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.00409c76
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 0x45edb4
push 4
push eax
jmp 0x40ce42
push str.Font_Size
push esi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x40c17d
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.00409c76
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.00448120
pop ecx
push eax
push 3
push 0x45ed9c
jmp 0x40c030
push str.Font_Color
push esi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x40c1cb
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.00409c76
push dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
call fcn.00441e9b
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push eax
push 3
push str.Color
jmp 0x40c030
push str.Background
push esi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x40c1ee
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Interior
jmp 0x40c19e
push str.Border
push esi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x40c2be
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x40c219
push str.none
push esi
call fcn.00447a30
pop ecx
pop ecx
jmp 0x40c21b
xor eax, eax
cmp eax, ebx
je 0x40c223
xor esi, esi
jmp 0x40c264
cmp esi, ebx
je 0x40c236
push str.thin
push esi
call fcn.00447a30
pop ecx
pop ecx
jmp 0x40c238
xor eax, eax
cmp eax, ebx
je 0x40c240
mov esi, edi
jmp 0x40c264
cmp esi, ebx
je 0x40c253
push str.thick
push esi
call fcn.00447a30
pop ecx
pop ecx
jmp 0x40c255
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.00409c76
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.00409c76
fldz
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push esi
push 3
push str.Weight
jmp 0x40c030
push str.Horiz
push esi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x40c34a
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x40c2e5
push str.center_across_selection
push esi
call fcn.00447a30
pop ecx
pop ecx
jmp 0x40c2e7
xor eax, eax
cmp eax, ebx
je 0x40c2f0
push 7
pop eax
jmp 0x40c331
cmp esi, ebx
je 0x40c303
push str.center
push esi
call fcn.00447a30
pop ecx
pop ecx
jmp 0x40c305
xor eax, eax
cmp eax, ebx
je 0x40c310
mov eax, 0xffffeff4
jmp 0x40c331
cmp esi, ebx
je 0x40c323
push str.right
push esi
call fcn.00447a30
pop ecx
pop ecx
jmp 0x40c325
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 0x40bfd7
push str.Vert
push esi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x40c3b9
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x40c371
push 0x45ecac
push esi
call fcn.00447a30
pop ecx
pop ecx
jmp 0x40c373
xor eax, eax
cmp eax, ebx
je 0x40c37e
mov eax, 0xffffefc0
jmp 0x40c3a0
cmp esi, ebx
je 0x40c391
push str.bottom
push esi
call fcn.00447a30
pop ecx
pop ecx
jmp 0x40c393
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 0x40bfd7
push str.Width
push esi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x40c406
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.00449d0b
fidiv dword [ebp - 0x24]
pop ecx
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fldz
fstp qword [esp]
call fcn.00449ec0
push eax
push 3
push str.ColumnWidth
jmp 0x40bfd7
push str.Height
push esi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x40ce61
push dword [ebp - 0x50]
call fcn.00448120
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.00449ec0
push eax
push 3
push str.RowHeight
jmp 0x40ce3d
test byte [ebp + 0x1a8], 8
je 0x40ce61
cmp dword [ebp - 0x44], ebx
je 0x40ce61
mov eax, dword [ebp - 0x44]
cmp byte [eax], bl
je 0x40ce61
push str.Data_Format
push eax
mov byte [esi], bl
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40c4d5
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.00409c76
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00409924
fstp st(0)
push str.General
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40cc61
push 0x45e71c
jmp 0x40c9e1
push str.Bold
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40c54e
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.00409c76
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45ee04
push edi
push eax
mov dword [ebp - 0x40], eax
call fcn.00409c76
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00409924
fstp st(0)
push esi
call fcn.00448120
test eax, eax
pop ecx
mov eax, 0x45e8b4
je 0x40c548
mov eax, 0x45e184
push eax
jmp 0x40c9e1
push str.Italic
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40c58f
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.00409c76
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45edec
jmp 0x40c514
push str.Underline
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40c5fd
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.00409c76
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45edcc
push edi
push eax
mov dword [ebp - 0x40], eax
call fcn.00409c76
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00409924
fstp st(0)
push esi
call fcn.00448120
cmp eax, 0xffffefd2
jmp 0x40c53b
push str.Font_Name
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40c64c
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.00409c76
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45edb4
push 3
push eax
mov dword [ebp - 0x40], eax
call fcn.00409c76
jmp 0x40cc61
push str.Font_Size
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40c68d
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.00409c76
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45ed9c
jmp 0x40c63c
push str.Font_Color
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40c700
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.00409c76
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.00409c76
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00409924
fstp st(0)
push ebx
push esi
push esi
call fcn.00448120
pop ecx
push eax
call fcn.00441d1a
jmp 0x40cc61
push str.Background
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40c725
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Interior
jmp 0x40c6b0
push str.Border_Weight
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40c7d3
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.00409c76
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.00409c76
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00409924
fstp st(0)
push esi
call fcn.00448120
pop ecx
cmp eax, 4
jne 0x40c7a0
push str.thick
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.00448120
pop ecx
cmp eax, edi
jne 0x40c7b7
push str.thin
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.00448120
pop ecx
cmp eax, 0xffffefd6
jne 0x40cc61
push str.medium
jmp 0x40c9e1
push str.Border_Line_Style
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40c8dc
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.00409c76
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.00409c76
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00409924
fstp st(0)
push esi
call fcn.00448120
pop ecx
cmp eax, 1
jne 0x40c84c
push str.solid
jmp 0x40c9e1
push esi
call fcn.00448120
pop ecx
cmp eax, 0xffffefed
jne 0x40c864
push str.dash
jmp 0x40c9e1
push esi
call fcn.00448120
pop ecx
cmp eax, 4
jne 0x40c87a
push str.dash_dot
jmp 0x40c9e1
push esi
call fcn.00448120
pop ecx
cmp eax, 5
jne 0x40c890
push str.dash_dot_dot
jmp 0x40c9e1
push esi
call fcn.00448120
pop ecx
cmp eax, 0xffffefea
jne 0x40c8a8
push 0x45ebe8
jmp 0x40c9e1
push esi
call fcn.00448120
pop ecx
cmp eax, 0xffffefe9
jne 0x40c8c0
push str.double
jmp 0x40c9e1
push esi
call fcn.00448120
pop ecx
cmp eax, 0xffffefd2
jne 0x40cc61
push str.none
jmp 0x40c9e1
push str.Horizontal_Align
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40c986
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.00409c76
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00409924
fstp st(0)
push esi
call fcn.00448120
pop ecx
cmp eax, 0xffffeff4
je 0x40c9fb
push esi
call fcn.00448120
pop ecx
cmp eax, 7
jne 0x40c94c
push str.center_across_selection
jmp 0x40c9e1
push esi
call fcn.00448120
pop ecx
cmp eax, 0xffffefdd
je 0x40c97f
push esi
call fcn.00448120
pop ecx
cmp eax, 1
je 0x40c97f
push esi
call fcn.00448120
pop ecx
cmp eax, 0xffffefc8
jne 0x40cc61
push str.right
jmp 0x40c9e1
push str.left
jmp 0x40c9e1
push str.Vertical_Align
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40ca45
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.00409c76
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00409924
fstp st(0)
push esi
call fcn.00448120
pop ecx
cmp eax, 0xffffeff5
jne 0x40c9ed
push str.bottom
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40cc61
push esi
call fcn.00448120
pop ecx
cmp eax, 0xffffeff4
jne 0x40ca02
push str.center
jmp 0x40c9e1
push esi
call fcn.00448120
pop ecx
cmp eax, 0xffffefeb
jne 0x40ca17
push str.distributed
jmp 0x40c9e1
push esi
call fcn.00448120
pop ecx
cmp eax, 0xffffefde
jne 0x40ca2c
push 0x45eba0
jmp 0x40c9e1
push esi
call fcn.00448120
pop ecx
cmp eax, 0xffffefc0
jne 0x40cc61
push 0x45ecac
jmp 0x40c9e1
push str.Width
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40cabf
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.00409c76
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00409924
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.00449d0b
fld qword [ebp - 0x78]
fmul qword [0x45eb98]
fadd qword [ebp - 0x78]
fmulp st(1)
call fcn.00449ec0
jmp 0x40cc51
push 0x45eb88
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40cb17
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.00409c76
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00409924
fstp st(0)
push esi
call fcn.00449d0b
fmul qword [0x45eb80]
fdiv qword [0x45e628]
jmp 0x40cab5
push str.Total_Rows
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40cb94
cmp dword [ebp - 0x3c], ebx
je 0x40cb38
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.00409c76
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x154]
cmp byte [ebp + 0x154], bl
jne 0x40cb67
mov eax, 0x45eb5c
fldz
push ebx
push eax
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push 0x45ee48
push 4
push dword [ebp - 0x3c]
call fcn.00409c76
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Rows
jmp 0x40cc13
push str.Total_Columns
push dword [ebp - 0x44]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40cc61
cmp dword [ebp - 0x3c], ebx
je 0x40cbb9
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.00409c76
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x154]
cmp byte [ebp + 0x154], bl
jne 0x40cbe8
mov eax, 0x45eb5c
fldz
push ebx
push eax
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push 0x45ee48
push 4
push dword [ebp - 0x3c]
call fcn.00409c76
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.00409c76
fldz
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45eb24
push edi
push eax
call fcn.00409c76
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00409924
fstp st(0)
push esi
call fcn.00448120
push eax
push 0x45cb18
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp byte [esi], bl
jne 0x40ce47
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00409924
fstp st(0)
jmp 0x40ce47
cmp dword [ebp + 0x1a0], edi
jne 0x40ccc2
fldz
lea eax, [ebp - 0x6c]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45eb18
push 3
push dword [ebp - 0x3c]
call fcn.00409c76
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00409924
fstp st(0)
jmp 0x40ce61
cmp dword [ebp + 0x1a0], 3
jne 0x40ce61
mov esi, dword [ebp - 0x74]
cmp esi, ebx
je 0x40cd31
cmp byte [esi], bl
je 0x40cd31
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 0x40cd09
push esi
push edi
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp esi, ebx
je 0x40ce61
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 0x40bfdc
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x40cd92
cmp byte [esi], bl
je 0x40cd92
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
cmp eax, 0xc
jg 0x40cd84
push str.0123456789__.
push esi
call fcn.00449d20
pop ecx
pop ecx
push esi
mov dword [ebp - 0x74], eax
call edi
mov ecx, dword [ebp - 0x74]
cmp ecx, eax
jb 0x40cd84
push ebx
push ebx
push esi
call fcn.004088d4
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
push ecx
push ecx
fstp qword [esp]
push ebx
push 7
push 0x45eb18
jmp 0x40bfd7
fldz
push ebx
push esi
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
jmp 0x40cd7a
mov ecx, dword [ebp - 0x44]
cmp ecx, ebx
je 0x40cdf4
mov al, byte [ecx]
cmp al, 0x3d
jne 0x40cdb5
fldz
push ebx
push ecx
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.Formula
jmp 0x40bfd7
cmp al, 0x20
jne 0x40cdf4
cmp byte [ecx + 1], bl
jne 0x40cdf4
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.00409c76
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.00409c76
jmp 0x40ce57
fld qword [ebp + 0x1b4]
push ebx
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x40ce20
push ebx
fstp st(0)
fld qword [ebp + 0x1b4]
push ecx
push ecx
fstp qword [esp]
push ebx
push 5
jmp 0x40cd7a
cmp ecx, ebx
je 0x40ce2a
push ecx
jmp 0x40cd88
push ebx
push ecx
push ecx
fstp qword [esp]
push dword [ebp + 0x1b0]
push 3
push 0x45eb18
push 4
push dword [ebp - 0x3c]
call fcn.00409c76
cmp dword [ebp - 0x40], ebx
je 0x40ce61
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, ebx
cmp esi, ebx
je 0x40ce61
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x40ce6e
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 0x40ce84
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test byte [ebp + 0x1a8], 1
je 0x40cef5
mov esi, dword [ebp - 0x5c]
push esi
call fcn.0040d00f
test eax, eax
jne 0x40cedb
cmp esi, ebx
je 0x40cead
push 0x45c800
push esi
call fcn.00447a30
pop ecx
pop ecx
jmp 0x40ceaf
xor eax, eax
cmp eax, ebx
je 0x40cec8
push 3
lea eax, [ebp + 0x10]
push eax
push esi
call fcn.0040eb69
lea eax, [ebp + 0x10]
push eax
call fcn.0040df5e
fldz
push ebx
push esi
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.SaveAs
jmp 0x40ceeb
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45eaa8
push 1
push dword [ebp - 0x48]
call fcn.00409c76
cmp dword [ebp + 0x1a0], 4
jne 0x40cfe8
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.00409c76
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.00409c76
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x58]
cmp eax, 7
ja 0x40cf58
mov dword [eax*4 + 0x47ac10], ebx
imul eax, eax, 0x104
mov byte [eax + 0x47a3f0], 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 0x45eb24
push 3
push esi
call fcn.00409c76
push ebx
push 0xff
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00409924
call fcn.00449ec0
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp edi, 1
jge 0x40cff1
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Quit
push 1
push dword [0x47a3ec]
call fcn.00409c76
mov eax, dword [0x47a3ec]
cmp eax, ebx
je 0x40cfc7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x47a3ec], ebx
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, 0x47a3f0
mov byte [eax], bl
add eax, 0x104
cmp eax, 0x47ac10
jl 0x40cfd8
jmp 0x40cff1
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.00448080
add ebp, 0x198
leave
ret 0x38