Function at 0x40bec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42ee68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea edx, [esp + 0xe]
mov eax, dword [esi + 0x20]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
push str.contentLineSpacing
call fcn.0040d120
call fcn.0040c8a0
mov eax, dword [esi + 0x24]
add esp, 0x14
lea edx, [esp + 0xe]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
push str.headerLineSpacing
call fcn.0040d120
call fcn.0040c8a0
mov eax, dword [esi + 0x1c]
add esp, 0x14
lea edx, [esp + 0xe]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
push str.charHeight
call fcn.0040d120
call fcn.0040c8a0
mov al, byte [esi + 0xc]
lea ebx, [esi + 0xc]
add esp, 4
mov edi, esp
mov dword [esp + 0x20], esp
push 0
mov ecx, edi
mov byte [edi], al
call fcn.00402f10
mov ecx, dword [0x431288]
push ecx
push 0
push ebx
mov ecx, edi
call fcn.00402a50
sub esp, 0x10
lea edx, [esp + 0x2e]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
push str.fontName
mov dword [esp + 0x48], 0
call fcn.0040d120
mov dword [esp + 0x40], 0xffffffff
call fcn.0040ccd0
mov eax, dword [esi + 0x28]
add esp, 0x20
lea edx, [esp + 0xe]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push str.tabSize
call fcn.0040d120
call fcn.0040c8a0
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
add esp, 0x14
push eax
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0x26]
push edx
push str.previewScale1
call fcn.0040d120
call fcn.0040cac0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add esp, 0x18
lea edx, [esp + 0xe]
push eax
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
push str.previewScale2
call fcn.0040d120
call fcn.0040cac0
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
add esp, 0x18
lea edx, [esp + 0xe]
push eax
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
push str.previewScale3
call fcn.0040d120
call fcn.0040cac0
mov eax, dword [esi + 0x2c]
add esp, 0x18
lea edx, [esp + 0xe]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push str.headerTextColor
call fcn.0040d120
call fcn.0040ced0
mov eax, dword [esi + 0x30]
add esp, 0x14
lea edx, [esp + 0xe]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push str.contentTextColor
call fcn.0040d120
call fcn.0040ced0
mov eax, dword [esi + 0x34]
add esp, 0x14
lea edx, [esp + 0xe]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push str.backgoundColor
call fcn.0040d120
call fcn.0040ced0
mov eax, dword [esi + 0x38]
add esp, 0x14
lea edx, [esp + 0xe]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push str.pageBreakColor
call fcn.0040d120
call fcn.0040ced0
mov eax, dword [esi + 0x58]
add esp, 0x14
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
lea edx, [esp + 0x22]
push edx
push str.pageMargins.left
call fcn.0040d120
call fcn.0040c8a0
mov eax, dword [esi + 0x5c]
add esp, 0x14
lea edx, [esp + 0xe]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push str.pageMargins.top
call fcn.0040d120
call fcn.0040c8a0
mov eax, dword [esi + 0x60]
add esp, 0x14
lea edx, [esp + 0xe]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push str.pageMargins.right
call fcn.0040d120
call fcn.0040c8a0
mov eax, dword [esi + 0x64]
add esp, 0x14
lea edx, [esp + 0xf]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push str.pageMargins.bottom
call fcn.0040d120
call fcn.0040c8a0
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret