Function at 0x40a97e
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4705d0]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1ac]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1bc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1d0]
push ebx
push esi
mov esi, dword [ebp + 0x1c8]
push edi
mov dword [ebp - 0x18], eax
xor eax, eax
mov word [ebp - 0x34], ax
lea edi, [ebp - 0x32]
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 - 0x7c]
push ebx
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x80], ebx
call fcn.004464f0
push 0x103
lea eax, [ebp + 0x11]
push ebx
push eax
mov byte [ebp + 0x10], bl
call fcn.004464f0
push 0x3f
lea eax, [ebp + 0x115]
push ebx
push eax
mov byte [ebp + 0x114], bl
call fcn.004464f0
push 0x3f
lea eax, [ebp + 0x155]
push ebx
push eax
mov byte [ebp + 0x154], bl
call fcn.004464f0
or dword [ebp - 0x20], 0xffffffff
add esp, 0x30
cmp dword [ebp - 0x24], ebx
je 0x40aa4c
mov eax, dword [ebp - 0x24]
cmp byte [eax], bl
jne 0x40aa70
cmp dword [ebp + 0x1d4], ebx
jge 0x40aa78
mov eax, dword [0x473bbc]
cmp eax, ebx
je 0x40aa69
push str.Excel_Error:_No_workbook_name_provided
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
jmp 0x40bf6f
cmp dword [ebp + 0x1d4], ebx
jl 0x40aa8a
cmp dword [ebp + 0x1d4], 8
jge 0x40aa8a
mov eax, dword [ebp + 0x1d4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
cmp dword [0x475564], ebx
je 0x40ab11
mov dword [ebp - 0x10], 0x475568
cmp dword [ebp - 0x20], 0xffffffff
jne 0x40ab11
cmp dword [ebp - 0x10], 0x475d88
jge 0x40ab1c
mov eax, dword [ebp - 0x10]
cmp byte [eax], bl
je 0x40aaf7
cmp eax, ebx
je 0x40aaf0
cmp dword [ebp - 0x24], ebx
je 0x40aaf0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp - 0x24]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp edi, eax
jle 0x40aad6
push dword [ebp - 0x10]
jmp 0x40aad9
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x10]
call fcn.00446461
add esp, 0xc
jmp 0x40aaf3
xor eax, eax
inc eax
cmp eax, ebx
je 0x40ab0b
inc dword [ebp - 4]
add dword [ebp - 0x10], 0x104
cmp dword [0x475564], ebx
jne 0x40aa9c
jmp 0x40ab1c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], ebx
jl 0x40ab1c
cmp dword [ebp - 0x20], 8
jl 0x40ab3c
cmp dword [ebp + 0x1a0], 1
je 0x40ab3c
mov eax, dword [0x473bbc]
cmp eax, ebx
je 0x40aa69
push str.Excel_Error:_Workbook_not_opened
jmp 0x40aa62
cmp dword [0x475564], ebx
jne 0x40abd0
mov eax, 0x475568
mov byte [eax], bl
add eax, 0x104
cmp eax, 0x475d88
jl 0x40ab4d
or dword [ebp - 0x20], 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
jge 0x40ab90
mov eax, dword [0x473bbc]
cmp eax, ebx
je 0x40aa69
push str.Excel_Error:_Automation_initialization_error
jmp 0x40aa62
push 0x475564
push 0x45afd0
push 4
push ebx
lea eax, [ebp]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40abb3
cmp dword [0x475564], ebx
jne 0x40abd0
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x473bbc]
cmp eax, ebx
je 0x40aa69
push str.Excel_Error:_Server_error
jmp 0x40aa62
push 2
pop edi
cmp dword [ebp + 0x1a0], edi
jne 0x40abe1
cmp esi, ebx
je 0x40ac12
mov byte [esi], bl
cmp dword [ebp + 0x1a0], 1
jne 0x40ac12
test byte [ebp + 0x1a8], 2
jne 0x40ac12
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push 1
push 3
push 0x45be04
push 4
push dword [0x475564]
call fcn.00408b89
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Workbooks
push edi
push dword [0x475564]
call fcn.00408b89
mov dword [ebp - 0x38], eax
cmp eax, ebx
jne 0x40ac4c
mov eax, dword [0x473bbc]
cmp eax, ebx
je 0x40aa69
push str.Excel_Error:_Workbooks_collection_error
jmp 0x40aa62
cmp dword [ebp + 0x1a0], 1
jne 0x40ad0a
push dword [ebp - 0x24]
call fcn.0040bf89
fldz
push ebx
test eax, eax
jne 0x40ac78
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45bdc0
push edi
jmp 0x40ac8a
push dword [ebp - 0x24]
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push 0x45bdb4
push 3
push dword [ebp - 0x38]
call fcn.00408b89
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], eax
jl 0x40aca0
cmp dword [ebp - 0x20], 8
jl 0x40ad1c
mov dword [ebp - 4], ebx
mov eax, 0x475568
cmp byte [eax], bl
je 0x40acbd
inc dword [ebp - 4]
add eax, 0x104
cmp eax, 0x475d88
jl 0x40aca8
jmp 0x40ad1c
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cmp eax, 0x103
jle 0x40acd5
mov eax, 0x103
jmp 0x40acdf
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [ebp - 4]
push dword [ebp - 0x24]
imul eax, eax, 0x104
add eax, 0x475568
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax*4 + 0x475d88], ecx
mov dword [ebp - 0x20], eax
jmp 0x40ad1c
mov eax, dword [ebp - 0x20]
cmp eax, 7
ja 0x40ad21
mov eax, dword [eax*4 + 0x475d88]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], ebx
jne 0x40ad41
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x473bbc]
cmp eax, ebx
je 0x40aa69
push str.Excel_Error:_Workbook_error
jmp 0x40aa62
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Activate
push 3
push dword [ebp - 0x10]
call fcn.00408b89
cmp dword [ebp + 0x1a0], 4
je 0x40bdfe
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40ad73
cmp byte [eax], bl
jne 0x40ad80
cmp dword [ebp + 0x1a0], 5
jne 0x40bdfe
cmp eax, ebx
je 0x40ad93
push 0x45aff4
push eax
call fcn.00445d80
pop ecx
pop ecx
jmp 0x40ad95
xor eax, eax
cmp eax, ebx
je 0x40ae3c
push ebx
push 1
push 0x3f
lea eax, [ebp + 0x114]
push eax
push ebx
push 0x45aff4
push dword [ebp - 0x1c]
call fcn.004432d3
push ebx
push 1
push 0x3f
lea eax, [ebp + 0x154]
push eax
push 1
push 0x45aff4
push dword [ebp - 0x1c]
call fcn.004432d3
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 - 0x10]
call fcn.00408b89
mov dword [ebp - 0x44], eax
cmp eax, ebx
jne 0x40ae19
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x473bbc]
cmp eax, ebx
je 0x40aa69
push str.Excel_Error:_Worksheets_collection_error
jmp 0x40aa62
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 - 0x44]
call fcn.00408b89
jmp 0x40ae4c
push dword [ebp - 0x1c]
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 [0x475564]
call fcn.00408b89
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x40ae8f
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x473bbc]
cmp eax, ebx
je 0x40aa69
push str.Excel_Error:_Sheet_error
jmp 0x40aa62
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Activate
push 1
push dword [ebp - 0x1c]
call fcn.00408b89
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 - 0x1c]
call fcn.00408b89
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40aef1
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 - 4]
call fcn.00408b89
test byte [ebp + 0x1a8], 4
jne 0x40bddb
cmp dword [ebp + 0x1a0], 5
jne 0x40bc03
test byte [ebp + 0x1a8], 0x10
je 0x40b3d1
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x40b3d1
cmp byte [eax], bl
je 0x40b3d1
mov esi, eax
push str.Format
push esi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x40af63
fldz
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x14]
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.NumberFormat
push 4
push dword [ebp - 4]
call fcn.00408b89
jmp 0x40bddb
push str.Bold
push esi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x40afb7
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x14]
call fcn.004464e4
pop ecx
push eax
push 3
push 0x45bcac
push 4
push dword [ebp - 8]
jmp 0x40bdbc
push str.Italic
push esi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x40b003
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x14]
call fcn.004464e4
pop ecx
push eax
push 3
push 0x45bc94
jmp 0x40afad
push str.Underline
push esi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x40b060
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x14]
call fcn.004464e4
neg eax
sbb eax, eax
pop ecx
and eax, 0x1030
add eax, 0xffffefd2
push eax
push 3
push 0x45bc74
jmp 0x40afad
push str.Font_Name
push esi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x40b0ab
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push 0x45bc5c
push 4
push eax
jmp 0x40bdbc
push str.Font_Size
push esi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x40b0fa
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x14]
call fcn.004464e4
pop ecx
push eax
push 3
push 0x45bc44
jmp 0x40afad
push str.Font_Color
push esi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x40b148
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 4]
call fcn.00408b89
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
call fcn.00440283
fldz
lea ecx, [ebp - 0x34]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push eax
push 3
push str.Color
jmp 0x40afad
push str.Background
push esi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x40b16b
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Interior
jmp 0x40b11b
push str.Border
push esi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x40b23c
mov esi, dword [ebp - 0x14]
cmp esi, ebx
je 0x40b196
push str.none
push esi
call fcn.00445d80
pop ecx
pop ecx
jmp 0x40b198
xor eax, eax
cmp eax, ebx
je 0x40b1a0
xor esi, esi
jmp 0x40b1e2
cmp esi, ebx
je 0x40b1b3
push str.thin
push esi
call fcn.00445d80
pop ecx
pop ecx
jmp 0x40b1b5
xor eax, eax
cmp eax, ebx
je 0x40b1bd
mov esi, edi
jmp 0x40b1e2
cmp esi, ebx
je 0x40b1d0
push str.thick
push esi
call fcn.00445d80
pop ecx
pop ecx
jmp 0x40b1d2
xor eax, eax
neg eax
sbb eax, eax
and eax, 0x102e
add eax, 0xffffefd6
mov esi, eax
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Borders
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
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 - 8]
call fcn.00408b89
fldz
lea eax, [ebp - 0x34]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push esi
push 3
push str.Weight
jmp 0x40afad
push str.Horiz
push esi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x40b2c8
mov esi, dword [ebp - 0x14]
cmp esi, ebx
je 0x40b263
push str.center_across_selection
push esi
call fcn.00445d80
pop ecx
pop ecx
jmp 0x40b265
xor eax, eax
cmp eax, ebx
je 0x40b26e
push 7
pop eax
jmp 0x40b2af
cmp esi, ebx
je 0x40b281
push str.center
push esi
call fcn.00445d80
pop ecx
pop ecx
jmp 0x40b283
xor eax, eax
cmp eax, ebx
je 0x40b28e
mov eax, 0xffffeff4
jmp 0x40b2af
cmp esi, ebx
je 0x40b2a1
push str.right
push esi
call fcn.00445d80
pop ecx
pop ecx
jmp 0x40b2a3
xor eax, eax
neg eax
sbb eax, eax
and eax, 0xffffffeb
add eax, 0xffffefdd
fldz
lea ecx, [ebp - 0x34]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push eax
push 3
push str.HorizontalAlignment
jmp 0x40af54
push str.Vert
push esi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x40b339
mov esi, dword [ebp - 0x14]
cmp esi, ebx
je 0x40b2ef
push 0x45bb54
push esi
call fcn.00445d80
pop ecx
pop ecx
jmp 0x40b2f1
xor eax, eax
cmp eax, ebx
je 0x40b2fc
mov eax, 0xffffefc0
jmp 0x40b320
cmp esi, ebx
je 0x40b30f
push str.bottom
push esi
call fcn.00445d80
pop ecx
pop ecx
jmp 0x40b311
xor eax, eax
xor ecx, ecx
cmp eax, ebx
setne cl
add ecx, 0xffffeff4
mov eax, ecx
fldz
lea ecx, [ebp - 0x34]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push eax
push 3
push str.VerticalAlignment
jmp 0x40af54
push str.Width
push esi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x40b386
lea eax, [ebp - 0x80]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push dword [ebp - 0x14]
call fcn.004481cb
fidiv dword [ebp - 0x6c]
pop ecx
lea eax, [ebp - 0x34]
push eax
push ebx
push ecx
push ecx
fldz
fstp qword [esp]
call fcn.00448380
push eax
push 3
push str.ColumnWidth
jmp 0x40af54
push str.Height
push esi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x40bddb
push dword [ebp - 0x14]
call fcn.004464e4
imul eax, eax, 0x48
pop ecx
push 0x60
pop ecx
cdq
idiv ecx
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
lea eax, [ebp - 0x34]
fldz
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
call fcn.00448380
push eax
push 3
push str.RowHeight
jmp 0x40bdb7
test byte [ebp + 0x1a8], 8
je 0x40bddb
cmp dword [ebp - 0xc], ebx
je 0x40bddb
mov eax, dword [ebp - 0xc]
cmp byte [eax], bl
je 0x40bddb
push str.Data_Format
push eax
mov byte [esi], bl
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40b455
fldz
lea eax, [ebp - 0x34]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.NumberFormat
push 3
push dword [ebp - 4]
call fcn.00408b89
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00408837
fstp st(0)
push str.General
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40bbe1
push 0x45b5bc
jmp 0x40b961
push str.Bold
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40b4ce
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
lea ecx, [ebp - 0x34]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45bcac
push edi
push eax
mov dword [ebp - 8], eax
call fcn.00408b89
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00408837
fstp st(0)
push esi
call fcn.004464e4
test eax, eax
pop ecx
mov eax, 0x45b754
je 0x40b4c8
mov eax, 0x45b024
push eax
jmp 0x40b961
push str.Italic
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40b50f
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
lea ecx, [ebp - 0x34]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45bc94
jmp 0x40b494
push str.Underline
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40b57d
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
lea ecx, [ebp - 0x34]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45bc74
push edi
push eax
mov dword [ebp - 8], eax
call fcn.00408b89
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00408837
fstp st(0)
push esi
call fcn.004464e4
cmp eax, 0xffffefd2
jmp 0x40b4bb
push str.Font_Name
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40b5cc
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
lea ecx, [ebp - 0x34]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45bc5c
push 3
push eax
mov dword [ebp - 8], eax
call fcn.00408b89
jmp 0x40bbe1
push str.Font_Size
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40b60d
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
lea ecx, [ebp - 0x34]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45bc44
jmp 0x40b5bc
push str.Font_Color
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40b680
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Font
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
lea ecx, [ebp - 0x34]
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 - 8], eax
call fcn.00408b89
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00408837
fstp st(0)
push ebx
push esi
push esi
call fcn.004464e4
pop ecx
push eax
call fcn.00440102
jmp 0x40bbe1
push str.Background
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40b6a5
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Interior
jmp 0x40b630
push str.Border_Weight
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40b753
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Borders
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
lea ecx, [ebp - 0x34]
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 - 8], eax
call fcn.00408b89
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00408837
fstp st(0)
push esi
call fcn.004464e4
pop ecx
cmp eax, 4
jne 0x40b720
push str.thick
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.004464e4
pop ecx
cmp eax, edi
jne 0x40b737
push str.thin
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.004464e4
pop ecx
cmp eax, 0xffffefd6
jne 0x40bbe1
push str.medium
jmp 0x40b961
push str.Border_Line_Style
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40b85c
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Borders
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
lea ecx, [ebp - 0x34]
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 - 8], eax
call fcn.00408b89
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00408837
fstp st(0)
push esi
call fcn.004464e4
pop ecx
cmp eax, 1
jne 0x40b7cc
push str.solid
jmp 0x40b961
push esi
call fcn.004464e4
pop ecx
cmp eax, 0xffffefed
jne 0x40b7e4
push str.dash
jmp 0x40b961
push esi
call fcn.004464e4
pop ecx
cmp eax, 4
jne 0x40b7fa
push str.dash_dot
jmp 0x40b961
push esi
call fcn.004464e4
pop ecx
cmp eax, 5
jne 0x40b810
push str.dash_dot_dot
jmp 0x40b961
push esi
call fcn.004464e4
pop ecx
cmp eax, 0xffffefea
jne 0x40b828
push 0x45ba90
jmp 0x40b961
push esi
call fcn.004464e4
pop ecx
cmp eax, 0xffffefe9
jne 0x40b840
push str.double
jmp 0x40b961
push esi
call fcn.004464e4
pop ecx
cmp eax, 0xffffefd2
jne 0x40bbe1
push str.none
jmp 0x40b961
push str.Horizontal_Align
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40b906
fldz
lea eax, [ebp - 0x34]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.HorizontalAlignment
push edi
push dword [ebp - 4]
call fcn.00408b89
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00408837
fstp st(0)
push esi
call fcn.004464e4
pop ecx
cmp eax, 0xffffeff4
je 0x40b97b
push esi
call fcn.004464e4
pop ecx
cmp eax, 7
jne 0x40b8cc
push str.center_across_selection
jmp 0x40b961
push esi
call fcn.004464e4
pop ecx
cmp eax, 0xffffefdd
je 0x40b8ff
push esi
call fcn.004464e4
pop ecx
cmp eax, 1
je 0x40b8ff
push esi
call fcn.004464e4
pop ecx
cmp eax, 0xffffefc8
jne 0x40bbe1
push str.right
jmp 0x40b961
push str.left
jmp 0x40b961
push str.Vertical_Align
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40b9c5
fldz
lea eax, [ebp - 0x34]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.VerticalAlignment
push edi
push dword [ebp - 4]
call fcn.00408b89
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00408837
fstp st(0)
push esi
call fcn.004464e4
pop ecx
cmp eax, 0xffffeff5
jne 0x40b96d
push str.bottom
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40bbe1
push esi
call fcn.004464e4
pop ecx
cmp eax, 0xffffeff4
jne 0x40b982
push str.center
jmp 0x40b961
push esi
call fcn.004464e4
pop ecx
cmp eax, 0xffffefeb
jne 0x40b997
push str.distributed
jmp 0x40b961
push esi
call fcn.004464e4
pop ecx
cmp eax, 0xffffefde
jne 0x40b9ac
push 0x45ba48
jmp 0x40b961
push esi
call fcn.004464e4
pop ecx
cmp eax, 0xffffefc0
jne 0x40bbe1
push 0x45bb54
jmp 0x40b961
push str.Width
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40ba3f
fldz
lea eax, [ebp - 0x34]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.ColumnWidth
push edi
push dword [ebp - 4]
call fcn.00408b89
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00408837
fstp st(0)
lea eax, [ebp - 0x80]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
fild dword [ebp - 0x6c]
push esi
fstp qword [ebp - 0x40]
call fcn.004481cb
fld qword [ebp - 0x40]
fmul qword [0x45ba40]
fadd qword [ebp - 0x40]
fmulp st(1)
call fcn.00448380
jmp 0x40bbd1
push 0x45ba30
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40ba97
fldz
lea eax, [ebp - 0x34]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.RowHeight
push edi
push dword [ebp - 4]
call fcn.00408b89
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00408837
fstp st(0)
push esi
call fcn.004481cb
fmul qword [0x45ba28]
fdiv qword [0x45b4c8]
jmp 0x40ba35
push str.Total_Rows
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40bb14
cmp dword [ebp - 4], ebx
je 0x40bab8
mov eax, dword [ebp - 4]
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 - 0x1c]
call fcn.00408b89
mov dword [ebp - 4], eax
lea eax, [ebp + 0x154]
cmp byte [ebp + 0x154], bl
jne 0x40bae7
mov eax, 0x45ba00
fldz
push ebx
push eax
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.Select
push 4
push dword [ebp - 4]
call fcn.00408b89
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Rows
jmp 0x40bb93
push str.Total_Columns
push dword [ebp - 0xc]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x40bbe1
cmp dword [ebp - 4], ebx
je 0x40bb39
mov eax, dword [ebp - 4]
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 - 0x1c]
call fcn.00408b89
mov dword [ebp - 4], eax
lea eax, [ebp + 0x154]
cmp byte [ebp + 0x154], bl
jne 0x40bb68
mov eax, 0x45ba00
fldz
push ebx
push eax
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.Select
push 4
push dword [ebp - 4]
call fcn.00408b89
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Columns
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
lea ecx, [ebp - 0x34]
push ecx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45b9c8
push edi
push eax
call fcn.00408b89
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00408837
fstp st(0)
push esi
call fcn.004464e4
push eax
push 0x45aac0
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp byte [esi], bl
jne 0x40bdc1
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00408837
fstp st(0)
jmp 0x40bdc1
cmp dword [ebp + 0x1a0], edi
jne 0x40bc42
fldz
lea eax, [ebp - 0x34]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45b9bc
push 3
push dword [ebp - 4]
call fcn.00408b89
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push dword [ebp + 0x1cc]
push esi
push eax
call fcn.00408837
fstp st(0)
jmp 0x40bddb
cmp dword [ebp + 0x1a0], 3
jne 0x40bddb
mov esi, dword [ebp - 0x3c]
cmp esi, ebx
je 0x40bcb1
cmp byte [esi], bl
je 0x40bcb1
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 0x40bc89
push esi
push edi
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp esi, ebx
je 0x40bddb
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Paste
push 3
push dword [ebp - 0x1c]
jmp 0x40af59
mov esi, dword [ebp - 0x14]
cmp esi, ebx
je 0x40bd12
cmp byte [esi], bl
je 0x40bd12
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
cmp eax, 0xc
jg 0x40bd04
push str.0123456789__.
push esi
call fcn.004481e0
pop ecx
pop ecx
push esi
mov dword [ebp - 0x3c], eax
call edi
mov ecx, dword [ebp - 0x3c]
cmp ecx, eax
jb 0x40bd04
push ebx
push ebx
push esi
call fcn.00407810
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
push ecx
push ecx
fstp qword [esp]
push ebx
push 7
push 0x45b9bc
jmp 0x40af54
fldz
push ebx
push esi
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
jmp 0x40bcfa
mov ecx, dword [ebp - 0xc]
cmp ecx, ebx
je 0x40bd74
mov al, byte [ecx]
cmp al, 0x3d
jne 0x40bd35
fldz
push ebx
push ecx
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.Formula
jmp 0x40af54
cmp al, 0x20
jne 0x40bd74
cmp byte [ecx + 1], bl
jne 0x40bd74
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Cells
push edi
push dword [ebp - 4]
call fcn.00408b89
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.ClearContents
push edi
push dword [ebp - 4]
mov esi, eax
call fcn.00408b89
jmp 0x40bdd1
fldz
push ebx
fcom qword [ebp + 0x1b4]
fnstsw ax
test ah, 0x44
jnp 0x40bd9a
push ebx
fstp st(0)
fld qword [ebp + 0x1b4]
push ecx
push ecx
fstp qword [esp]
push ebx
push 5
jmp 0x40bcfa
cmp ecx, ebx
je 0x40bda4
push ecx
jmp 0x40bd08
push ebx
push ecx
push ecx
fstp qword [esp]
push dword [ebp + 0x1b0]
push 3
push 0x45b9bc
push 4
push dword [ebp - 4]
call fcn.00408b89
cmp dword [ebp - 8], ebx
je 0x40bddb
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, ebx
cmp esi, ebx
je 0x40bddb
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x40bde8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x40bdfe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test byte [ebp + 0x1a8], 1
je 0x40be6f
mov esi, dword [ebp - 0x24]
push esi
call fcn.0040bf89
test eax, eax
jne 0x40be55
cmp esi, ebx
je 0x40be27
push 0x45a954
push esi
call fcn.00445d80
pop ecx
pop ecx
jmp 0x40be29
xor eax, eax
cmp eax, ebx
je 0x40be42
push 3
lea eax, [ebp + 0x10]
push eax
push esi
call fcn.0040dac4
lea eax, [ebp + 0x10]
push eax
call fcn.0040cedf
fldz
push ebx
push esi
push ecx
push ecx
fstp qword [esp]
push ebx
push 8
push str.SaveAs
jmp 0x40be65
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45b94c
push 1
push dword [ebp - 0x10]
call fcn.00408b89
cmp dword [ebp + 0x1a0], 4
jne 0x40bf62
fldz
mov esi, dword [ebp - 0x10]
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push 1
push 3
push str.Saved
push 4
push esi
call fcn.00408b89
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.00408b89
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
cmp eax, 7
ja 0x40bed2
mov dword [eax*4 + 0x475d88], ebx
imul eax, eax, 0x104
mov byte [eax + 0x475568], bl
fldz
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push 0x45b9c8
push 3
push esi
call fcn.00408b89
push ebx
push 0xff
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00408837
call fcn.00448380
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp edi, 1
jge 0x40bf6b
fldz
push ebx
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
push ebx
push str.Quit
push 1
push dword [0x475564]
call fcn.00408b89
mov eax, dword [0x475564]
cmp eax, ebx
je 0x40bf41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x475564], ebx
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, 0x475568
mov byte [eax], bl
add eax, 0x104
cmp eax, 0x475d88
jl 0x40bf52
jmp 0x40bf6b
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
inc eax
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004464bf
add ebp, 0x198
leave
ret 0x38