Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x412004]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.MAGNIFICATION.dll_MagInitialize]
test eax, eax
jne 0x40103a
push eax
push str.blah
push str.Maginitialize_failed
push dword [0x4132c8]
jmp 0x40128d
push 0x7f00
xorps xmm0, xmm0
mov dword [0x4132a4], 0x12c
push 0
mov dword [0x4132bc], 0
mov dword [0x4132c4], 0x12c
mov dword [0x4132b8], 0
mov dword [0x4132c0], 0x12c
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], 0x4012b0
mov dword [esp + 0x30], esi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x38], 0x10
mov dword [esp + 0x40], str.MagnifierWindow
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x413298]
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push 0
push dword [0x4132c4]
push dword [0x4132c0]
push 0
push 0
push 0x96800000
push 0
push str.MagnifierWindow
push 0
call esi
mov dword [0x4132c8], eax
test eax, eax
je 0x401280
push 2
push 0xff
push 0
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 0x4132a8
push dword [0x4132c8]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push dword [0x413298]
push 0
push dword [0x4132c8]
push dword [0x4132b4]
push dword [0x4132b0]
push dword [0x4132ac]
push dword [0x4132a8]
push 0x50000001
push 0x410c84
push str.Magnifier
push 0
call esi
mov dword [0x4132a0], eax
test eax, eax
je 0x40127b
lea ecx, [esp + 0x44]
mov dword [esp + 0x50], 0
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
push ecx
push eax
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x4c], 0x40000000
mov dword [esp + 0x5c], 0x40000000
mov dword [esp + 0x6c], 0x3f800000
call dword [sym.imp.MAGNIFICATION.dll_MagSetWindowTransform]
test eax, eax
je 0x40127b
push dword [ebp + 0x14]
push dword [0x4132c8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x80028
push 0xffffffffffffffec
push dword [0x4132c8]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push dword [0x4132c8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x401480
push 0x10
push 0
push dword [0x4132c8]
call dword [sym.imp.USER32.dll_SetTimer]
mov ebx, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x70]
push 0
push eax
call ebx
test eax, eax
je 0x401251
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0x68]
push eax
call esi
lea eax, [esp + 0x68]
push eax
call edi
push 0
push 0
push 0
lea eax, [esp + 0x74]
push eax
call ebx
test eax, eax
jne 0x401232
push dword [esp + 0x10]
push 0
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.MAGNIFICATION.dll_MagUninitialize]
mov eax, dword [esp + 0x70]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00401533
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x4132c8]
push 0
push str.blah
push str.SetupMagnifier_Failed
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x84]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401533
mov esp, ebp
pop ebp
ret 0x10