Function at 0x40fb50
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50decb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, 0x3f400000
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], 0x3ec00000
mov dword [esi + 0x80], 0x3f2ccccd
mov ecx, 0x3e333333
mov dword [esi + 0x84], 0x3f75c28f
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 0x3e666666
mov dword [esi + 0x94], ecx
mov dword [esi + 0x98], ecx
mov ecx, 0x3f19999a
mov dword [esi + 0x90], 0x3f333333
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], ecx
mov edx, 0x3e19999a
mov dword [esi + 0xa8], 0x3f600000
mov dword [esi + 0xac], 0x3eb22d0e
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edx
mov dword [esi + 0xbc], edx
mov dword [esi + 0xb8], ecx
mov edx, 0x3ee66666
mov dword [esi + 0xc0], 0x3ec00000
mov dword [esi + 0xc4], 0x3e000000
mov dword [esi + 0xc8], 0x3f200000
mov ecx, 0x3e99999a
mov dword [esi + 0xcc], edx
mov dword [esi + 0xd0], edx
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd8], ecx
mov dword [esi + 0xdc], ecx
mov dword [esi + 0xe0], edx
mov dword [esi + 0xe4], 0x3f4ccccd
mov dword [esi + 0xe8], ecx
mov dword [esi + 0xec], ecx
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], eax
mov dword [esi + 0xf8], edx
push 0x3fe99999
mov dword [esi + 0xfc], ecx
mov dword [esi + 0x100], eax
mov dword [esi + 0x104], eax
push 0x9999999a
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], 0x3e8a3d71
mov dword [esi + 0x110], 0x3f333333
push 0x3fd99999
mov dword [esi + 0x118], eax
push 0x9999999a
mov dword [esi + 0x114], ecx
mov eax, 0xc4c4c4
push 0x3fd33333
mov dword [esi + 0x11c], edx
push 0x33333333
lea ecx, [esi + 0xc]
mov dword [esi + 0x48], 0x303030
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 0x603000
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], 0xc4
mov dword [esi + 0x5c], 0x4080
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], 0x606060
mov dword [esi + 0x74], 0x404040
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.004100e0
push 0x3fd99999
push 0x9999999a
push 0x3fd99999
push 0x9999999a
push 0x3fd99999
push 0x9999999a
lea ecx, [esi + 0x18]
call fcn.004100e0
push edi
push edi
push edi
push edi
push 0x3fec0000
push edi
lea ecx, [esi + 0x24]
call fcn.004100e0
push 0x3feccccc
push 0xcccccccd
push 0x3feccccc
push 0xcccccccd
push 0x3feccccc
push 0xcccccccd
lea ecx, [esi + 0x30]
call fcn.004100e0
push 0x3feccccc
push 0xcccccccd
push 0x3feccccc
push 0xcccccccd
push 0x3feccccc
push 0xcccccccd
lea ecx, [esi + 0x3c]
call fcn.004100e0
mov eax, 1
push edi
push str.VIEW
lea ecx, [esp + 0x34]
mov dword [0x549f4c], eax
mov dword [0x549f54], eax
mov dword [0x549f50], edi
mov dword [0x549f58], edi
mov dword [0x549f60], eax
mov dword [0x549f64], edi
call fcn.0040ff90
push 0x549f50
push str.NOTCH
lea ecx, [esp + 0x34]
mov dword [esp + 0x148], edi
call fcn.0046f0e0
push 0x549f58
push str.LINE
lea ecx, [esp + 0x34]
call fcn.0046f0e0
push 0x549f5c
push str.SPACE
lea ecx, [esp + 0x34]
call fcn.0046f0e0
push 0x549f60
push str.FONTSIZE
lea ecx, [esp + 0x34]
call fcn.0046f0e0
push 0x549f4c
push str.FILL
lea ecx, [esp + 0x34]
call fcn.0046f0e0
mov ecx, 0x54a8d8
call fcn.004628b0
mov eax, dword [0x549f4c]
push edi
push edi
push edi
push edi
cmp eax, edi
push 0x3ff00000
push edi
je 0x40fed2
lea ecx, [esp + 0x20]
call fcn.004100e0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub esp, 0xc
mov eax, esp
push edi
push edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
push edi
push edi
mov dword [eax + 4], edx
push 0x3ff00000
push edi
mov dword [eax + 8], ecx
lea ecx, [esp + 0x38]
call fcn.00410020
mov ecx, dword [eax]
sub esp, 0xc
mov edx, esp
push 0x3feeb851
push 0xeb851eb8
mov dword [edx], ecx
mov ecx, dword [eax + 4]
push 0x3feeb851
push 0xeb851eb8
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
push 0x3feeb851
push 0xeb851eb8
mov dword [edx + 8], eax
lea ecx, [esp + 0x50]
jmp 0x40ff42
lea ecx, [esp + 0x38]
call fcn.00410020
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
push 0x3ff00000
push edi
mov dword [ecx], edx
mov edx, dword [eax + 4]
push 0x3ff00000
push edi
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
push 0x3ff00000
push edi
mov dword [ecx + 8], eax
lea ecx, [esp + 0x38]
call fcn.00410020
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
push 0x3febd70a
push 0x3d70a3d7
mov dword [ecx], edx
mov edx, dword [eax + 4]
push 0x3febd70a
push 0x3d70a3d7
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
push 0x3febd70a
push 0x3d70a3d7
mov dword [ecx + 8], eax
lea ecx, [esp + 0x38]
call fcn.00410020
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
call fcn.00477d50
add esp, 0x24
lea ecx, [esp + 0x2c]
mov dword [esp + 0x140], 0xffffffff
call fcn.0046efd0
mov ecx, dword [esp + 0x138]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret