Function at 0x4048a3
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4496a4
call fcn.00433058
sub esp, 0x44
mov eax, dword [0x45fb8c]
push ebx
push esi
push edi
push 4
xor ebx, ebx
pop edi
mov esi, ecx
push 0x70
push eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], 0x406c13
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push ebx
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 2
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
mov ebx, str.MainWndClass
push eax
mov dword [ebp - 0x30], 0x65
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x66
push dword [0x45fb8c]
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push 0x406789
push 0xffffffffffffffff
mov dword [esi + 0x394], eax
call dword [sym.imp.USER32.dll_SetWindowsHookA]
push str.RICHED32.DLL
mov dword [esi + 0x398], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x158], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], edi
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [esi + 0x504]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [ebp - 0x10], eax
call edi
mov ecx, eax
mov eax, dword [ebp - 0x10]
sub ecx, 0x28
cmp eax, ecx
jle 0x404985
add eax, 0xffffffd8
mov dword [esi + 0x504], eax
mov eax, dword [esi + 0x500]
push 0
mov dword [ebp - 0x10], eax
call edi
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + 0x14]
cmp edx, eax
jle 0x4049a5
add ecx, 0xffffffec
mov dword [esi + 0x500], ecx
mov eax, dword [esi + 0x4fc]
mov edx, dword [esi + 0x504]
mov ecx, dword [esi + 0x4f8]
push esi
push dword [0x45fb8c]
sub edx, eax
push 0
push 0
push edx
mov edx, dword [esi + 0x500]
sub edx, ecx
push edx
push eax
push ecx
push 0xcf0000
call fcn.00406be4
push eax
push ebx
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
push str.Viewer
push eax
mov ecx, esi
mov dword [esi + 0x138], eax
call fcn.0040ecc8
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0x138]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
call edi
sub eax, 0x28
cmp dword [ebp - 0x1c], eax
jle 0x404a59
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
push 0xffffffffffffffd8
lea eax, [ebp - 0x28]
push ebx
push eax
call edi
cmp dword [ebp - 0x24], ebx
jge 0x404a35
mov eax, dword [ebp - 0x24]
neg eax
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
call edi
mov eax, dword [ebp - 0x1c]
push 1
sub eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [esi + 0x138]
call fcn.0041b58c
add esp, 0x18
push 0x30
call fcn.00442636
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x404a7f
push esi
push 0x40b600
push 0x2a7
mov ecx, eax
call fcn.0040c1c9
jmp 0x404a81
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 0x158
mov dword [esi + 0x140], eax
call fcn.00442636
pop ecx
mov dword [ebp - 0x10], eax
push 1
cmp eax, ebx
pop edi
mov dword [ebp - 4], edi
je 0x404aac
mov ecx, eax
call fcn.0040b778
jmp 0x404aae
xor eax, eax
push dword [esi + 0x138]
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esi + 0x144], eax
call fcn.0041be5a
mov eax, dword [esi + 0x138]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [esi + 0x140]
push eax
push eax
call fcn.0040c1ea
cmp dword [esi + 0x38c], ebx
je 0x404aed
mov ecx, esi
call fcn.0040552d
jmp 0x404af9
mov ecx, dword [esi + 0x140]
push ebx
call fcn.0040c1ff
push dword [ebp + 8]
push dword [esi + 0x138]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00405e94
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4