Function at 0x412120
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x4a12d8]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x1c], eax
push edi
lea ebx, [esp + 0x20]
lea eax, [esp + 0x18]
call fcn.00412650
mov ebx, dword [esp + 0x18]
cmp ebx, dword [0x1445a78]
je 0x412322
mov ecx, dword [ebx + 0x1c]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
lea edi, [ebx + 0x1c]
push ecx
mov dword [esp + 0x18], edi
call esi
test eax, eax
je 0x412336
mov edx, dword [ebx + 0x20]
push edx
call esi
test eax, eax
je 0x412336
mov edx, dword [edi]
lea eax, [ebx + 0xa0]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
cmp eax, dword [ebx + 0x48]
jne 0x41221b
mov ecx, dword [ebx + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_KillTimer]
movzx eax, byte [ebx + 0x4c]
mov ecx, dword [ebx + 0x34]
sub ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x30]
sub edx, dword [ebx + 0x28]
lea esi, [ebx + 0x28]
push eax
mov eax, dword [ebx + 0x2c]
push ecx
mov ecx, dword [esi]
push edx
mov edx, dword [edi]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
movzx eax, byte [ebx + 0x38]
mov ecx, dword [edi]
push 2
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov edx, dword [ebx + 0x20]
push 1
push esi
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [ebx + 0x4d], 0
je 0x4121fc
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
lea ecx, [esp + 0x10]
push ecx
call fcn.00412360
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0043e590
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x20]
push edx
lea esi, [esp + 0x38]
call fcn.00407ca0
fld qword [ebx + 0x78]
fadd qword [ebx + 0x50]
add esp, 4
fst qword [ebx + 0x50]
fld qword [ebx + 0x80]
fadd qword [ebx + 0x60]
fst qword [ebx + 0x60]
fld qword [ebx + 0x88]
fadd qword [ebx + 0x58]
fst qword [ebx + 0x58]
fld qword [ebx + 0x90]
fadd qword [ebx + 0x68]
fst qword [ebx + 0x68]
fxch st(3)
call fcn.0043ece0
mov dword [esp + 0x24], eax
call fcn.0043ece0
mov dword [esp + 0x28], eax
call fcn.0043ece0
mov dword [esp + 0x2c], eax
call fcn.0043ece0
mov dword [esp + 0x30], eax
mov eax, esi
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x4122cb
movzx edx, byte [ebx + 0x4c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x2c]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebx + 0x20]
push 1
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
movzx edx, byte [ebx + 0x70]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
push 2
fild dword [esp + 0x14]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fadd qword [ebx + 0x98]
or eax, 0xc00
mov dword [esp + 0x10], eax
fldcw word [esp + 0x10]
fistp dword [esp + 0x10]
mov al, byte [esp + 0x10]
mov edx, dword [ecx]
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x10]
fldcw word [esp + 0x14]
push eax
push 0
push edx
mov byte [ebx + 0x70], al
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [esp + 0x1c]
inc dword [eax]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0043e590
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [esp + 0x14]
push eax
call fcn.00412360
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.0043e590
mov esp, ebp
pop ebp
ret