Function at 0x47dec4
Capabilities:
Terminate process

Disassembly:
push 0x4c
mov eax, 0x4be550
call fcn.004b6a29
mov edi, ecx
push 0
lea esi, [edi + 0xa7c]
push str.buffers
mov ecx, esi
call fcn.00452214
cmp eax, 0x64
jle 0x47deee
push 0x64
pop eax
cmp eax, 1
jge 0x47def6
xor eax, eax
inc eax
push eax
lea ecx, [edi + 0xb18]
call fcn.0046adc4
push SysReAllocString
push str.position.left
mov ecx, esi
call fcn.00452214
push SysReAllocString
push str.position.top
mov ecx, esi
mov ebx, eax
call fcn.00452214
push SysReAllocString
push str.position.width
mov ecx, esi
mov dword [ebp - 0x58], eax
call fcn.00452214
push SysReAllocString
push str.position.height
mov ecx, esi
mov dword [ebp - 0x50], eax
call fcn.00452214
push 0
push str.position.maximize
mov ecx, esi
mov dword [ebp - 0x54], eax
call fcn.00452214
neg eax
push 3
sbb eax, eax
pop ecx
and eax, ecx
cmp dword [ebp - 0x50], 0xffffffff
mov dword [edi + 0xbc4], eax
je 0x47df7a
cmp dword [ebp - 0x54], 0xffffffff
jne 0x47df8b
mov eax, SysReAllocString
mov dword [edi + 0xbc4], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
push 0
push str.position.tile
mov ecx, esi
call fcn.00452214
test eax, eax
je 0x47dfbd
push 0
push str.SciTEWindow
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 0x50]
test eax, eax
je 0x47dfc0
cmp ebx, 0x80000000
je 0x47dfc0
add ebx, ecx
jmp 0x47dfc0
mov ecx, dword [ebp - 0x50]
lea eax, [edi + 0x23c]
cmp dword [eax + 0x14], 8
jb 0x47dfce
mov eax, dword [eax]
push edi
push dword [0x50740c]
push 0
push 0
push dword [ebp - 0x54]
push ecx
push dword [ebp - 0x58]
push ebx
push 0x2cf0000
push eax
push dword [0x507408]
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x73c], eax
push ebx
cmp eax, ebx
jne 0x47e006
call fcn.00494982
push str.save.position
mov ecx, esi
call fcn.00452214
test eax, eax
je 0x47e01d
mov ecx, edi
call fcn.0047ddf1
push dword [edi + 0x73c]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
mov ecx, edi
call fcn.004815b6
push dword [edi + 0x73c]
call dword [sym.imp.USER32.dll_DrawMenuBar]
push str.print.margins
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.00451b02
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x38], 0x10
mov ecx, dword [ebp - 0x4c]
jae 0x47e05c
lea ecx, [ebp - 0x4c]
push 0x20
pop ebx
push ebx
lea edx, [ebp - 0x34]
call fcn.00475b88
mov esi, eax
lea eax, [ebp - 0x34]
pop ecx
push eax
call fcn.00494520
pop ecx
push ebx
lea edx, [ebp - 0x34]
mov dword [edi + 0x1224], eax
mov ecx, esi
call fcn.00475b88
mov esi, eax
lea eax, [ebp - 0x34]
pop ecx
push eax
call fcn.00494520
pop ecx
push ebx
lea edx, [ebp - 0x34]
mov dword [edi + 0x122c], eax
mov ecx, esi
call fcn.00475b88
mov esi, eax
lea eax, [ebp - 0x34]
pop ecx
push eax
call fcn.00494520
pop ecx
push ebx
lea edx, [ebp - 0x34]
mov dword [edi + 0x1228], eax
mov ecx, esi
call fcn.00475b88
pop ecx
lea eax, [ebp - 0x34]
push eax
call fcn.00494520
pop ecx
mov ecx, edi
mov dword [edi + 0x1230], eax
call fcn.004752c4
cmp dword [edi + 0x7c4], 0
je 0x47e0f6
mov ecx, edi
call fcn.00468a37
mov ecx, dword [edi + 0x7c4]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040177c
call fcn.004b69d8
ret